Skip to content

Commit

Permalink
EPMRPP-76473 || Share components and loginAction for plugins (#3072)
Browse files Browse the repository at this point in the history
Co-authored-by: Artsiom Sadouski <artsiom_sadouski@epam.com>
  • Loading branch information
tr1ble and tr1ble committed Apr 18, 2022
1 parent 21bed4d commit 971ed31
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 3 deletions.
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;
2 changes: 2 additions & 0 deletions app/src/controllers/plugins/uiExtensions/createImportProps.js
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

0 comments on commit 971ed31

Please sign in to comment.