From 8c530d993f623c7c9a353eef5428d5eec19255f1 Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Fri, 11 Oct 2024 01:11:18 -0700 Subject: [PATCH] Simplify list item naming convention. --- app/app-root.xml | 4 ++-- .../history-item-page.ts} | 0 .../history-item-page.xml} | 0 app/pages/history/{history-items-page.ts => history-page.ts} | 2 +- .../history/{history-items-page.xml => history-page.xml} | 0 .../rolodex-item-page.ts} | 0 .../rolodex-item-page.xml} | 0 app/pages/rolodex/{rolodex-items-page.ts => rolodex-page.ts} | 2 +- .../rolodex/{rolodex-items-page.xml => rolodex-page.xml} | 0 .../settings-item-page.ts} | 0 .../settings-item-page.xml} | 0 .../settings/{settings-items-page.ts => settings-page.ts} | 2 +- .../settings/{settings-items-page.xml => settings-page.xml} | 0 13 files changed, 5 insertions(+), 5 deletions(-) rename app/pages/history/{history-item-detail/history-item-detail-page.ts => history-item/history-item-page.ts} (100%) rename app/pages/history/{history-item-detail/history-item-detail-page.xml => history-item/history-item-page.xml} (100%) rename app/pages/history/{history-items-page.ts => history-page.ts} (90%) rename app/pages/history/{history-items-page.xml => history-page.xml} (100%) rename app/pages/rolodex/{rolodex-item-detail/rolodex-item-detail-page.ts => rolodex-item/rolodex-item-page.ts} (100%) rename app/pages/rolodex/{rolodex-item-detail/rolodex-item-detail-page.xml => rolodex-item/rolodex-item-page.xml} (100%) rename app/pages/rolodex/{rolodex-items-page.ts => rolodex-page.ts} (90%) rename app/pages/rolodex/{rolodex-items-page.xml => rolodex-page.xml} (100%) rename app/pages/settings/{settings-item-detail/settings-item-detail-page.ts => settings-item/settings-item-page.ts} (100%) rename app/pages/settings/{settings-item-detail/settings-item-detail-page.xml => settings-item/settings-item-page.xml} (100%) rename app/pages/settings/{settings-items-page.ts => settings-page.ts} (90%) rename app/pages/settings/{settings-items-page.xml => settings-page.xml} (100%) 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 -- 2.34.1