]> zoso.dev Git - nemo-wallet.git/commitdiff
Organize pages into their own directory.
authorChris Duncan <chris@zoso.dev>
Thu, 10 Oct 2024 21:44:34 +0000 (14:44 -0700)
committerChris Duncan <chris@zoso.dev>
Thu, 10 Oct 2024 21:44:34 +0000 (14:44 -0700)
25 files changed:
app/app-root.xml
app/pages/exchange/exchange-page.ts [moved from app/exchange/exchange-page.ts with 100% similarity]
app/pages/exchange/exchange-page.xml [moved from app/exchange/exchange-page.xml with 100% similarity]
app/pages/exchange/exchange-view-model.ts [moved from app/exchange/exchange-view-model.ts with 100% similarity]
app/pages/history/history-item-detail/history-item-detail-page.ts [moved from app/history/history-item-detail/history-item-detail-page.ts with 100% similarity]
app/pages/history/history-item-detail/history-item-detail-page.xml [moved from app/history/history-item-detail/history-item-detail-page.xml with 100% similarity]
app/pages/history/history-items-page.ts [moved from app/history/history-items-page.ts with 90% similarity]
app/pages/history/history-items-page.xml [moved from app/history/history-items-page.xml with 100% similarity]
app/pages/history/history-view-model.ts [moved from app/history/history-view-model.ts with 100% similarity]
app/pages/history/shared/item.ts [moved from app/history/shared/item.ts with 100% similarity]
app/pages/rolodex/rolodex-item-detail/rolodex-item-detail-page.ts [moved from app/rolodex/rolodex-item-detail/rolodex-item-detail-page.ts with 100% similarity]
app/pages/rolodex/rolodex-item-detail/rolodex-item-detail-page.xml [moved from app/rolodex/rolodex-item-detail/rolodex-item-detail-page.xml with 100% similarity]
app/pages/rolodex/rolodex-items-page.ts [moved from app/rolodex/rolodex-items-page.ts with 90% similarity]
app/pages/rolodex/rolodex-items-page.xml [moved from app/rolodex/rolodex-items-page.xml with 100% similarity]
app/pages/rolodex/rolodex-view-model.ts [moved from app/rolodex/rolodex-view-model.ts with 100% similarity]
app/pages/rolodex/shared/item.ts [moved from app/rolodex/shared/item.ts with 100% similarity]
app/pages/settings/settings-item-detail/settings-item-detail-page.ts [moved from app/settings/settings-item-detail/settings-item-detail-page.ts with 100% similarity]
app/pages/settings/settings-item-detail/settings-item-detail-page.xml [moved from app/settings/settings-item-detail/settings-item-detail-page.xml with 100% similarity]
app/pages/settings/settings-items-page.ts [moved from app/settings/settings-items-page.ts with 90% similarity]
app/pages/settings/settings-items-page.xml [moved from app/settings/settings-items-page.xml with 100% similarity]
app/pages/settings/settings-view-model.ts [moved from app/settings/settings-view-model.ts with 100% similarity]
app/pages/settings/shared/item.ts [moved from app/settings/shared/item.ts with 100% similarity]
app/pages/transact/transact-page.ts [moved from app/transact/transact-page.ts with 100% similarity]
app/pages/transact/transact-page.xml [moved from app/transact/transact-page.xml with 100% similarity]
app/pages/transact/transact-view-model.ts [moved from app/transact/transact-view-model.ts with 100% similarity]

index 557dceaca1de1876141f534d1f259598e8a10e99..f2a464640a425f1bc9786ca9e6b705ba52d40c15 100644 (file)
@@ -8,18 +8,18 @@ SPDX-License-Identifier: GPL-3.0-or-later
                selectedIndex="2"
                >
        <TabViewItem title="Exchange">
-               <Frame defaultPage="exchange/exchange-page" />
+               <Frame defaultPage="pages/exchange/exchange-page" />
        </TabViewItem>
        <TabViewItem title="History">
-               <Frame defaultPage="history/history-items-page" />
+               <Frame defaultPage="pages/history/history-items-page" />
        </TabViewItem>
        <TabViewItem title="&#x04FE;">
-               <Frame defaultPage="transact/transact-page" />
+               <Frame defaultPage="pages/transact/transact-page" />
        </TabViewItem>
        <TabViewItem title="Rolodex">
-               <Frame defaultPage="rolodex/rolodex-items-page" />
+               <Frame defaultPage="pages/rolodex/rolodex-items-page" />
        </TabViewItem>
        <TabViewItem title="Settings">
-               <Frame defaultPage="settings/settings-page" />
+               <Frame defaultPage="pages/settings/settings-page" />
        </TabViewItem>
 </TabView>
similarity index 90%
rename from app/history/history-items-page.ts
rename to app/pages/history/history-items-page.ts
index 96c7e23a8eadc7f41873b00a4c7a7b942f630b16..6fcc47789ca4e7851a7da97b414ff0eb4ee9c204 100644 (file)
@@ -17,7 +17,7 @@ export function onItemTap (args: ItemEventData) {
        const tappedItem = <Item>view.bindingContext
 
        page.frame.navigate({
-               moduleName: 'history/history-item-detail/history-item-detail-page',
+               moduleName: 'pages/history/history-item-detail/history-item-detail-page',
                context: tappedItem,
                animated: true,
                transition: {
similarity index 90%
rename from app/rolodex/rolodex-items-page.ts
rename to app/pages/rolodex/rolodex-items-page.ts
index 0318bd07eb6489826fc65a3c7664148d69923392..29cd95570aaf376488d2257897d37f3da45ad6d7 100644 (file)
@@ -17,7 +17,7 @@ export function onItemTap (args: ItemEventData) {
        const tappedItem = <Item>view.bindingContext
 
        page.frame.navigate({
-               moduleName: 'rolodex/rolodex-item-detail/rolodex-item-detail-page',
+               moduleName: 'pages/rolodex/rolodex-item-detail/rolodex-item-detail-page',
                context: tappedItem,
                animated: true,
                transition: {
similarity index 90%
rename from app/settings/settings-items-page.ts
rename to app/pages/settings/settings-items-page.ts
index 8d3330e6b1ae5afc5115ee59e3a1722cf85dc0b7..b631d4a1117b26b75f98fafd56f53334e85904ef 100644 (file)
@@ -17,7 +17,7 @@ export function onItemTap (args: ItemEventData) {
        const tappedItem = <Item>view.bindingContext
 
        page.frame.navigate({
-               moduleName: 'settings/settings-item-detail/settings-item-detail-page',
+               moduleName: 'pages/settings/settings-item-detail/settings-item-detail-page',
                context: tappedItem,
                animated: true,
                transition: {