From: Chris Duncan Date: Thu, 10 Oct 2024 21:44:34 +0000 (-0700) Subject: Organize pages into their own directory. X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=d3c836cb3e02da0414ef5f51981561c781b7fb34;p=nemo-wallet.git Organize pages into their own directory. --- diff --git a/app/app-root.xml b/app/app-root.xml index 557dcea..f2a4646 100644 --- a/app/app-root.xml +++ b/app/app-root.xml @@ -8,18 +8,18 @@ SPDX-License-Identifier: GPL-3.0-or-later selectedIndex="2" > - + - + - + - + - + diff --git a/app/exchange/exchange-page.ts b/app/pages/exchange/exchange-page.ts similarity index 100% rename from app/exchange/exchange-page.ts rename to app/pages/exchange/exchange-page.ts diff --git a/app/exchange/exchange-page.xml b/app/pages/exchange/exchange-page.xml similarity index 100% rename from app/exchange/exchange-page.xml rename to app/pages/exchange/exchange-page.xml diff --git a/app/exchange/exchange-view-model.ts b/app/pages/exchange/exchange-view-model.ts similarity index 100% rename from app/exchange/exchange-view-model.ts rename to app/pages/exchange/exchange-view-model.ts diff --git a/app/history/history-item-detail/history-item-detail-page.ts b/app/pages/history/history-item-detail/history-item-detail-page.ts similarity index 100% rename from app/history/history-item-detail/history-item-detail-page.ts rename to app/pages/history/history-item-detail/history-item-detail-page.ts diff --git a/app/history/history-item-detail/history-item-detail-page.xml b/app/pages/history/history-item-detail/history-item-detail-page.xml similarity index 100% rename from app/history/history-item-detail/history-item-detail-page.xml rename to app/pages/history/history-item-detail/history-item-detail-page.xml diff --git a/app/history/history-items-page.ts b/app/pages/history/history-items-page.ts similarity index 90% rename from app/history/history-items-page.ts rename to app/pages/history/history-items-page.ts index 96c7e23..6fcc477 100644 --- a/app/history/history-items-page.ts +++ b/app/pages/history/history-items-page.ts @@ -17,7 +17,7 @@ export function onItemTap (args: ItemEventData) { const tappedItem = 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: { diff --git a/app/history/history-items-page.xml b/app/pages/history/history-items-page.xml similarity index 100% rename from app/history/history-items-page.xml rename to app/pages/history/history-items-page.xml diff --git a/app/history/history-view-model.ts b/app/pages/history/history-view-model.ts similarity index 100% rename from app/history/history-view-model.ts rename to app/pages/history/history-view-model.ts diff --git a/app/history/shared/item.ts b/app/pages/history/shared/item.ts similarity index 100% rename from app/history/shared/item.ts rename to app/pages/history/shared/item.ts diff --git a/app/rolodex/rolodex-item-detail/rolodex-item-detail-page.ts b/app/pages/rolodex/rolodex-item-detail/rolodex-item-detail-page.ts similarity index 100% rename from app/rolodex/rolodex-item-detail/rolodex-item-detail-page.ts rename to app/pages/rolodex/rolodex-item-detail/rolodex-item-detail-page.ts diff --git a/app/rolodex/rolodex-item-detail/rolodex-item-detail-page.xml b/app/pages/rolodex/rolodex-item-detail/rolodex-item-detail-page.xml similarity index 100% rename from app/rolodex/rolodex-item-detail/rolodex-item-detail-page.xml rename to app/pages/rolodex/rolodex-item-detail/rolodex-item-detail-page.xml diff --git a/app/rolodex/rolodex-items-page.ts b/app/pages/rolodex/rolodex-items-page.ts similarity index 90% rename from app/rolodex/rolodex-items-page.ts rename to app/pages/rolodex/rolodex-items-page.ts index 0318bd0..29cd955 100644 --- a/app/rolodex/rolodex-items-page.ts +++ b/app/pages/rolodex/rolodex-items-page.ts @@ -17,7 +17,7 @@ export function onItemTap (args: ItemEventData) { const tappedItem = 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: { diff --git a/app/rolodex/rolodex-items-page.xml b/app/pages/rolodex/rolodex-items-page.xml similarity index 100% rename from app/rolodex/rolodex-items-page.xml rename to app/pages/rolodex/rolodex-items-page.xml diff --git a/app/rolodex/rolodex-view-model.ts b/app/pages/rolodex/rolodex-view-model.ts similarity index 100% rename from app/rolodex/rolodex-view-model.ts rename to app/pages/rolodex/rolodex-view-model.ts diff --git a/app/rolodex/shared/item.ts b/app/pages/rolodex/shared/item.ts similarity index 100% rename from app/rolodex/shared/item.ts rename to app/pages/rolodex/shared/item.ts diff --git a/app/settings/settings-item-detail/settings-item-detail-page.ts b/app/pages/settings/settings-item-detail/settings-item-detail-page.ts similarity index 100% rename from app/settings/settings-item-detail/settings-item-detail-page.ts rename to app/pages/settings/settings-item-detail/settings-item-detail-page.ts diff --git a/app/settings/settings-item-detail/settings-item-detail-page.xml b/app/pages/settings/settings-item-detail/settings-item-detail-page.xml similarity index 100% rename from app/settings/settings-item-detail/settings-item-detail-page.xml rename to app/pages/settings/settings-item-detail/settings-item-detail-page.xml diff --git a/app/settings/settings-items-page.ts b/app/pages/settings/settings-items-page.ts similarity index 90% rename from app/settings/settings-items-page.ts rename to app/pages/settings/settings-items-page.ts index 8d3330e..b631d4a 100644 --- a/app/settings/settings-items-page.ts +++ b/app/pages/settings/settings-items-page.ts @@ -17,7 +17,7 @@ export function onItemTap (args: ItemEventData) { const tappedItem = 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: { diff --git a/app/settings/settings-items-page.xml b/app/pages/settings/settings-items-page.xml similarity index 100% rename from app/settings/settings-items-page.xml rename to app/pages/settings/settings-items-page.xml diff --git a/app/settings/settings-view-model.ts b/app/pages/settings/settings-view-model.ts similarity index 100% rename from app/settings/settings-view-model.ts rename to app/pages/settings/settings-view-model.ts diff --git a/app/settings/shared/item.ts b/app/pages/settings/shared/item.ts similarity index 100% rename from app/settings/shared/item.ts rename to app/pages/settings/shared/item.ts diff --git a/app/transact/transact-page.ts b/app/pages/transact/transact-page.ts similarity index 100% rename from app/transact/transact-page.ts rename to app/pages/transact/transact-page.ts diff --git a/app/transact/transact-page.xml b/app/pages/transact/transact-page.xml similarity index 100% rename from app/transact/transact-page.xml rename to app/pages/transact/transact-page.xml diff --git a/app/transact/transact-view-model.ts b/app/pages/transact/transact-view-model.ts similarity index 100% rename from app/transact/transact-view-model.ts rename to app/pages/transact/transact-view-model.ts