Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EPMRPP-76473 || Share components and loginAction for plugins #3072

Merged
merged 1 commit into from
Apr 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion app/src/components/fields/fieldBottomConstraints/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,8 @@
* limitations under the License.
*/

export { FieldBottomConstraints } from './fieldBottomConstraints';
import { FieldBottomConstraints } from './fieldBottomConstraints';

export { FieldBottomConstraints };

export default FieldBottomConstraints;
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ import {
publicPluginsSelector,
createGlobalNamedIntegrationsSelector,
} from 'controllers/plugins/selectors';
import { loginAction } from 'controllers/auth';

const BUTTONS = {
GhostButton,
Expand Down Expand Up @@ -280,6 +281,7 @@ export const createImportProps = (pluginName) => ({
updateLaunchLocallyAction,
updatePagePropertiesAction,
showDefaultErrorNotification,
loginAction,
},
selectors: {
pluginRouteSelector,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,8 @@
* limitations under the License.
*/

export { BlockHeader } from './blockHeader';
import { BlockHeader } from './blockHeader';

export { BlockHeader };

export default BlockHeader;
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,8 @@
* limitations under the License.
*/

export { RegistrationPageSection } from './registrationPageSection';
import { RegistrationPageSection } from './registrationPageSection';

export { RegistrationPageSection };

export default RegistrationPageSection;
3 changes: 3 additions & 0 deletions app/webpack/base.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@ module.exports = {
'./BigButton': './src/components/buttons/bigButton',
'./InputOutside': './src/components/inputs/inputOutside',
'./NavLink': './src/components/main/navLink',
'./FieldBottomConstraints': './src/components/fields/fieldBottomConstraints',
'./RegistrationPageSection': './src/pages/outside/registrationPage/registrationPageSection',
'./BlockHeader': './src/pages/outside/common/pageBlockContainer/blockHeader',
},
shared: {
react: {
Expand Down