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

remove actions #3687

Merged
merged 45 commits into from
Dec 24, 2024
Merged
Show file tree
Hide file tree
Changes from 43 commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
830a869
removed ada wallet actions
vsubhuman Oct 12, 2024
7e91ca6
removed ada delegation actions
vsubhuman Oct 12, 2024
84cf6ef
removed ada verify address actions
vsubhuman Oct 12, 2024
96c6e24
removed ada voting actions
vsubhuman Oct 12, 2024
c572ea5
removed base profile actions
vsubhuman Oct 12, 2024
9cd6504
removed ada hw connect actions
vsubhuman Oct 12, 2024
828a015
removed ada hw send actions
vsubhuman Oct 12, 2024
1643f69
removed address actions
vsubhuman Oct 13, 2024
97f1234
removed delegation actions
vsubhuman Oct 13, 2024
fe726b1
removed explorer actions
vsubhuman Oct 13, 2024
2f62cdb
removed transactions actions
vsubhuman Oct 13, 2024
4db21ce
removed loading actions
vsubhuman Oct 13, 2024
b409ae0
removed server connection actions
vsubhuman Oct 13, 2024
160566f
removed router actions
vsubhuman Oct 13, 2024
c8fdbc2
Merge branch 'ruslan/delete-unused' into ruslan/YOEXT-1432/remove-act…
vsubhuman Oct 13, 2024
0713dc4
Merge branch 'ruslan/YOEXT-1433/removing-legacy-theme-functions' into…
vsubhuman Oct 13, 2024
62c49eb
post-merge fixes
vsubhuman Oct 13, 2024
116a100
removed wallet actions
vsubhuman Oct 13, 2024
c2de641
removed profile actions
vsubhuman Oct 13, 2024
c2d1542
removed notification actions
vsubhuman Oct 14, 2024
e4e952d
removed transfer actions
vsubhuman Oct 14, 2024
57a5fd7
removed wallet restore actions
vsubhuman Oct 14, 2024
85d2c79
removed memo actions
vsubhuman Oct 14, 2024
5672d60
removed wallet backup actions
vsubhuman Oct 14, 2024
406c6ee
removed wallet settings actions
vsubhuman Oct 14, 2024
c1a8511
removed tx builder actions
vsubhuman Oct 14, 2024
581404f
removed some connector actions
vsubhuman Oct 14, 2024
6ba54d3
removed some connector actions
vsubhuman Oct 14, 2024
9f12454
removed connector actions
vsubhuman Oct 14, 2024
15c7a6a
removed some dialog actions
vsubhuman Oct 14, 2024
9ce1e26
removed some dialog actions
vsubhuman Oct 14, 2024
3336ff0
removed dialog actions
vsubhuman Oct 15, 2024
ffcc2d7
removed Action type
vsubhuman Oct 15, 2024
b3d635d
renamed dialog prop `actions` into `dialogActions`
vsubhuman Oct 15, 2024
8974f37
removed ActionsMap type usage in stores
vsubhuman Oct 15, 2024
523985d
removed passing actions to stores
vsubhuman Oct 15, 2024
033da61
Renamed `StepController` property `actions` to `stepActions`
vsubhuman Oct 15, 2024
67b6d58
Merge remote-tracking branch 'origin/ruslan/YOEXT-1432/remove-actions…
vsubhuman Oct 15, 2024
362a828
removed actions
vsubhuman Oct 15, 2024
9563314
renamed and moved prop types for `stores`
vsubhuman Oct 15, 2024
95d8caa
Merge remote-tracking branch 'origin/ruslan/YOEXT-1433/removing-legac…
vsubhuman Oct 18, 2024
f0fb52a
Merge remote-tracking branch 'origin/ruslan/YOEXT-1433/removing-legac…
vsubhuman Dec 19, 2024
d62e95e
post-merge fixes
vsubhuman Dec 20, 2024
a741c7d
Merge remote-tracking branch 'origin/ruslan/YOEXT-1433/removing-legac…
vsubhuman Dec 23, 2024
574942f
Merge branch 'develop' into ruslan/YOEXT-1432/remove-actions
Nebyt Dec 24, 2024
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
8 changes: 3 additions & 5 deletions packages/yoroi-extension/app/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import type { Node } from 'react';
import type { RouterHistory } from 'react-router-dom';
import type { StoresMap } from './stores';
import type { ActionsMap } from './actions';
import { Component } from 'react';
import { observer } from 'mobx-react';
import { Router } from 'react-router-dom';
Expand All @@ -26,7 +25,6 @@ addLocaleData(locales);

type Props = {|
+stores: StoresMap,
+actions: ActionsMap,
+history: RouterHistory,
|};
type State = {|
Expand Down Expand Up @@ -102,18 +100,18 @@ class App extends Component<Props, State> {
}

getContent: void => ?Node = () => {
const { stores, actions, history } = this.props;
const { stores, history } = this.props;
if (this.state.crashed === true) {
return <CrashPage />;
}
if (stores.serverConnectionStore.isMaintenance) {
return <MaintenancePage stores={stores} actions={actions} />;
return <MaintenancePage stores={stores} />;
}
return (
<Router history={history}>
<div style={{ height: '100%' }}>
<Support />
{Routes(stores, actions)}
{Routes(stores)}
</div>
</Router>
);
Expand Down
165 changes: 81 additions & 84 deletions packages/yoroi-extension/app/Routes.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions packages/yoroi-extension/app/UI/layout/GeneralPageLayout.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ export default class GeneralPageLayout extends React.Component {
};

render() {
const { children, actions, navbar, stores } = this.props;
const sidebarContainer = <SidebarContainer actions={actions} stores={stores} />;
const { children, navbar, stores } = this.props;
const sidebarContainer = <SidebarContainer stores={stores} />;
const { intl } = this.context;

return (
<IntlProvider intl={intl}>
<ModalProvider>
<ModalManager />
<TopBarLayout banner={<BannerContainer actions={actions} stores={stores} />} sidebar={sidebarContainer} navbar={navbar}>
<TopBarLayout banner={<BannerContainer stores={stores} />} sidebar={sidebarContainer} navbar={navbar}>
{children}
</TopBarLayout>
</ModalProvider>
Expand Down
5 changes: 0 additions & 5 deletions packages/yoroi-extension/app/actions/README.md

This file was deleted.

13 changes: 0 additions & 13 deletions packages/yoroi-extension/app/actions/ada/ada-wallets-actions.js

This file was deleted.

This file was deleted.

14 changes: 0 additions & 14 deletions packages/yoroi-extension/app/actions/ada/hw-connect-actions.js

This file was deleted.

This file was deleted.

32 changes: 0 additions & 32 deletions packages/yoroi-extension/app/actions/ada/index.js

This file was deleted.

44 changes: 0 additions & 44 deletions packages/yoroi-extension/app/actions/ada/ledger-send-actions.js

This file was deleted.

29 changes: 0 additions & 29 deletions packages/yoroi-extension/app/actions/ada/trezor-send-actions.js

This file was deleted.

23 changes: 0 additions & 23 deletions packages/yoroi-extension/app/actions/ada/voting-actions.js

This file was deleted.

19 changes: 0 additions & 19 deletions packages/yoroi-extension/app/actions/base/base-profile-actions.js

This file was deleted.

13 changes: 0 additions & 13 deletions packages/yoroi-extension/app/actions/common/addresses-actions.js

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

32 changes: 0 additions & 32 deletions packages/yoroi-extension/app/actions/common/tx-builder-actions.js

This file was deleted.

Loading
Loading