From: Chris Duncan Date: Fri, 11 Oct 2024 08:11:18 +0000 (-0700) Subject: Simplify list item naming convention. X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=8c530d993f623c7c9a353eef5428d5eec19255f1;p=nemo-wallet.git Simplify list item naming convention. --- diff --git a/app/app-root.xml b/app/app-root.xml index f2a4646..cbf4f0d 100644 --- a/app/app-root.xml +++ b/app/app-root.xml @@ -11,13 +11,13 @@ SPDX-License-Identifier: GPL-3.0-or-later - + - + diff --git a/app/pages/history/history-item-detail/history-item-detail-page.ts b/app/pages/history/history-item/history-item-page.ts similarity index 100% rename from app/pages/history/history-item-detail/history-item-detail-page.ts rename to app/pages/history/history-item/history-item-page.ts diff --git a/app/pages/history/history-item-detail/history-item-detail-page.xml b/app/pages/history/history-item/history-item-page.xml similarity index 100% rename from app/pages/history/history-item-detail/history-item-detail-page.xml rename to app/pages/history/history-item/history-item-page.xml diff --git a/app/pages/history/history-items-page.ts b/app/pages/history/history-page.ts similarity index 90% rename from app/pages/history/history-items-page.ts rename to app/pages/history/history-page.ts index 713c145..e63c315 100644 --- a/app/pages/history/history-items-page.ts +++ b/app/pages/history/history-page.ts @@ -17,7 +17,7 @@ export function onItemTap (args: ItemEventData) { const tappedItem = view.bindingContext page.frame.navigate({ - moduleName: 'pages/history/history-item-detail/history-item-detail-page', + moduleName: 'pages/history/history-item/history-item-page', context: tappedItem, animated: true, transition: { diff --git a/app/pages/history/history-items-page.xml b/app/pages/history/history-page.xml similarity index 100% rename from app/pages/history/history-items-page.xml rename to app/pages/history/history-page.xml diff --git a/app/pages/rolodex/rolodex-item-detail/rolodex-item-detail-page.ts b/app/pages/rolodex/rolodex-item/rolodex-item-page.ts similarity index 100% rename from app/pages/rolodex/rolodex-item-detail/rolodex-item-detail-page.ts rename to app/pages/rolodex/rolodex-item/rolodex-item-page.ts diff --git a/app/pages/rolodex/rolodex-item-detail/rolodex-item-detail-page.xml b/app/pages/rolodex/rolodex-item/rolodex-item-page.xml similarity index 100% rename from app/pages/rolodex/rolodex-item-detail/rolodex-item-detail-page.xml rename to app/pages/rolodex/rolodex-item/rolodex-item-page.xml diff --git a/app/pages/rolodex/rolodex-items-page.ts b/app/pages/rolodex/rolodex-page.ts similarity index 90% rename from app/pages/rolodex/rolodex-items-page.ts rename to app/pages/rolodex/rolodex-page.ts index 443c52a..2cc9a21 100644 --- a/app/pages/rolodex/rolodex-items-page.ts +++ b/app/pages/rolodex/rolodex-page.ts @@ -17,7 +17,7 @@ export function onItemTap (args: ItemEventData) { const tappedItem = view.bindingContext page.frame.navigate({ - moduleName: 'pages/rolodex/rolodex-item-detail/rolodex-item-detail-page', + moduleName: 'pages/rolodex/rolodex-item/rolodex-item-page', context: tappedItem, animated: true, transition: { diff --git a/app/pages/rolodex/rolodex-items-page.xml b/app/pages/rolodex/rolodex-page.xml similarity index 100% rename from app/pages/rolodex/rolodex-items-page.xml rename to app/pages/rolodex/rolodex-page.xml diff --git a/app/pages/settings/settings-item-detail/settings-item-detail-page.ts b/app/pages/settings/settings-item/settings-item-page.ts similarity index 100% rename from app/pages/settings/settings-item-detail/settings-item-detail-page.ts rename to app/pages/settings/settings-item/settings-item-page.ts diff --git a/app/pages/settings/settings-item-detail/settings-item-detail-page.xml b/app/pages/settings/settings-item/settings-item-page.xml similarity index 100% rename from app/pages/settings/settings-item-detail/settings-item-detail-page.xml rename to app/pages/settings/settings-item/settings-item-page.xml diff --git a/app/pages/settings/settings-items-page.ts b/app/pages/settings/settings-page.ts similarity index 90% rename from app/pages/settings/settings-items-page.ts rename to app/pages/settings/settings-page.ts index 5724812..ffd3f83 100644 --- a/app/pages/settings/settings-items-page.ts +++ b/app/pages/settings/settings-page.ts @@ -17,7 +17,7 @@ export function onItemTap (args: ItemEventData) { const tappedItem = view.bindingContext page.frame.navigate({ - moduleName: 'pages/settings/settings-item-detail/settings-item-detail-page', + moduleName: 'pages/settings/settings-item/settings-item-page', context: tappedItem, animated: true, transition: { diff --git a/app/pages/settings/settings-items-page.xml b/app/pages/settings/settings-page.xml similarity index 100% rename from app/pages/settings/settings-items-page.xml rename to app/pages/settings/settings-page.xml