File tree Expand file tree Collapse file tree 4 files changed +33
-7
lines changed
v5/pages/StreamingPaymentsPage Expand file tree Collapse file tree 4 files changed +33
-7
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ import {
1515 // SealCheck,
1616 // ChartPieSlice,
1717 // ListChecks,
18- // ChartLine,
18+ ChartLine ,
1919 // Intersect,
2020 // Briefcase,
2121 // BookOpenText,
@@ -37,6 +37,7 @@ import {
3737 COLONY_PERMISSIONS_ROUTE ,
3838 // COLONY_REPUTATION_ROUTE,
3939 COLONY_TEAMS_ROUTE ,
40+ COLONY_STREAMING_PAYMENTS_ROUTE ,
4041 // COLONY_VERIFIED_ROUTE,
4142} from '~routes/routeConstants.ts' ;
4243import { formatText } from '~utils/intl.ts' ;
@@ -112,12 +113,12 @@ export const financesMenu: NavigationSidebarLinksListProps['items'] = [
112113 // text: 'Coming soon',
113114 // },
114115 // },
115- // {
116- // key: '5',
117- // label: formatText({ id: 'navigation.finances.streamingPayments' }),
118- // to: '/streaming-payments' ,
119- // icon: ChartLine
120- // },
116+ {
117+ key : '5' ,
118+ label : formatText ( { id : 'navigation.finances.streamingPayments' } ) ,
119+ to : COLONY_STREAMING_PAYMENTS_ROUTE ,
120+ icon : ChartLine ,
121+ } ,
121122] ;
122123
123124// @todo : update routes when pages will be ready
Original file line number Diff line number Diff line change 1+ import React from 'react' ;
2+
3+ import { useSetPageHeadingTitle } from '~context/PageHeadingContext/PageHeadingContext.ts' ;
4+ import { formatText } from '~utils/intl.ts' ;
5+
6+ const displayName = 'v5.pages.StreamingPaymentsPage' ;
7+
8+ const StreamingPaymentsPage = ( ) => {
9+ useSetPageHeadingTitle (
10+ formatText ( { id : 'navigation.finances.streamingPayments' } ) ,
11+ ) ;
12+
13+ return < div /> ;
14+ } ;
15+
16+ StreamingPaymentsPage . displayName = displayName ;
17+
18+ export default StreamingPaymentsPage ;
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ import MembersPage, {
2424 ContributorsPage ,
2525} from '~frame/v5/pages/MembersPage/index.ts' ;
2626import OnboardingPage from '~frame/v5/pages/OnboardingPage/index.ts' ;
27+ import StreamingPaymentsPage from '~frame/v5/pages/StreamingPaymentsPage/StreamingPaymentsPage.tsx' ;
2728import TeamsPage from '~frame/v5/pages/TeamsPage/index.ts' ;
2829import UserAdvancedPage from '~frame/v5/pages/UserAdvancedPage/index.ts' ;
2930import UserCryptoToFiatPage from '~frame/v5/pages/UserCryptoToFiatPage/CryptoToFiatPage.tsx' ;
@@ -68,6 +69,7 @@ import {
6869 COLONY_MULTISIG_ROUTE ,
6970 COLONY_AGREEMENTS_ROUTE ,
7071 USER_CRYPTO_TO_FIAT_ROUTE ,
72+ COLONY_STREAMING_PAYMENTS_ROUTE ,
7173 // ACTIONS_PAGE_ROUTE,
7274 // UNWRAP_TOKEN_ROUTE,
7375 // CLAIM_TOKEN_ROUTE,
@@ -141,6 +143,10 @@ const Routes = () => {
141143 < Route path = { COLONY_VERIFIED_ROUTE } element = { < VerifiedPage /> } />
142144 < Route path = { COLONY_BALANCES_ROUTE } element = { < BalancePage /> } />
143145 < Route path = { COLONY_TEAMS_ROUTE } element = { < TeamsPage /> } />
146+ < Route
147+ path = { COLONY_STREAMING_PAYMENTS_ROUTE }
148+ element = { < StreamingPaymentsPage /> }
149+ />
144150 </ Route >
145151
146152 < Route path = { COLONY_REPUTATION_ROUTE } element = { < ReputationPage /> } />
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ export const COLONY_ADVANCED_ROUTE = `advanced`;
2222export const COLONY_EXTENSION_DETAILS_ROUTE = `${ COLONY_EXTENSIONS_ROUTE } /:extensionId` ;
2323export const COLONY_INCOMING_ROUTE = `incoming` ;
2424export const COLONY_BALANCES_ROUTE = `balances` ;
25+ export const COLONY_STREAMING_PAYMENTS_ROUTE = `streaming-payments` ;
2526export const COLONY_MEMBERS_ROUTE = `members` ;
2627export const COLONY_MEMBERS_WITH_DOMAIN_ROUTE = `members/:domainId` ;
2728export const COLONY_CONTRIBUTORS_ROUTE = `members/contributors` ;
You can’t perform that action at this time.
0 commit comments