mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 21:01:08 +02:00
refactor(manacore/web): rename AppView → ListView across all 24 modules
Consistent naming: ListView.svelte + DetailView.svelte as a pair. Update app-registry.ts and splitscreen/registry.ts imports. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
fed38efb8b
commit
9ea7e482f0
26 changed files with 86 additions and 86 deletions
|
|
@ -26,9 +26,9 @@ export const APP_REGISTRY: AppEntry[] = [
|
|||
id: 'todo',
|
||||
name: 'Todo',
|
||||
color: '#8B5CF6',
|
||||
load: () => import('$lib/modules/todo/AppView.svelte'),
|
||||
load: () => import('$lib/modules/todo/ListView.svelte'),
|
||||
views: {
|
||||
list: { load: () => import('$lib/modules/todo/AppView.svelte') },
|
||||
list: { load: () => import('$lib/modules/todo/ListView.svelte') },
|
||||
detail: { load: () => import('$lib/modules/todo/views/DetailView.svelte') },
|
||||
},
|
||||
},
|
||||
|
|
@ -36,9 +36,9 @@ export const APP_REGISTRY: AppEntry[] = [
|
|||
id: 'calendar',
|
||||
name: 'Kalender',
|
||||
color: '#3B82F6',
|
||||
load: () => import('$lib/modules/calendar/AppView.svelte'),
|
||||
load: () => import('$lib/modules/calendar/ListView.svelte'),
|
||||
views: {
|
||||
list: { load: () => import('$lib/modules/calendar/AppView.svelte') },
|
||||
list: { load: () => import('$lib/modules/calendar/ListView.svelte') },
|
||||
detail: { load: () => import('$lib/modules/calendar/views/DetailView.svelte') },
|
||||
},
|
||||
},
|
||||
|
|
@ -46,9 +46,9 @@ export const APP_REGISTRY: AppEntry[] = [
|
|||
id: 'contacts',
|
||||
name: 'Kontakte',
|
||||
color: '#22C55E',
|
||||
load: () => import('$lib/modules/contacts/AppView.svelte'),
|
||||
load: () => import('$lib/modules/contacts/ListView.svelte'),
|
||||
views: {
|
||||
list: { load: () => import('$lib/modules/contacts/AppView.svelte') },
|
||||
list: { load: () => import('$lib/modules/contacts/ListView.svelte') },
|
||||
detail: { load: () => import('$lib/modules/contacts/views/DetailView.svelte') },
|
||||
},
|
||||
},
|
||||
|
|
@ -56,27 +56,27 @@ export const APP_REGISTRY: AppEntry[] = [
|
|||
id: 'chat',
|
||||
name: 'Chat',
|
||||
color: '#6366F1',
|
||||
load: () => import('$lib/modules/chat/AppView.svelte'),
|
||||
load: () => import('$lib/modules/chat/ListView.svelte'),
|
||||
},
|
||||
{
|
||||
id: 'times',
|
||||
name: 'Times',
|
||||
color: '#F59E0B',
|
||||
load: () => import('$lib/modules/times/AppView.svelte'),
|
||||
load: () => import('$lib/modules/times/ListView.svelte'),
|
||||
},
|
||||
{
|
||||
id: 'zitare',
|
||||
name: 'Zitare',
|
||||
color: '#EC4899',
|
||||
load: () => import('$lib/modules/zitare/AppView.svelte'),
|
||||
load: () => import('$lib/modules/zitare/ListView.svelte'),
|
||||
},
|
||||
{
|
||||
id: 'cards',
|
||||
name: 'Cards',
|
||||
color: '#EF4444',
|
||||
load: () => import('$lib/modules/cards/AppView.svelte'),
|
||||
load: () => import('$lib/modules/cards/ListView.svelte'),
|
||||
views: {
|
||||
list: { load: () => import('$lib/modules/cards/AppView.svelte') },
|
||||
list: { load: () => import('$lib/modules/cards/ListView.svelte') },
|
||||
detail: { load: () => import('$lib/modules/cards/views/DetailView.svelte') },
|
||||
},
|
||||
},
|
||||
|
|
@ -84,15 +84,15 @@ export const APP_REGISTRY: AppEntry[] = [
|
|||
id: 'picture',
|
||||
name: 'Picture',
|
||||
color: '#8B5CF6',
|
||||
load: () => import('$lib/modules/picture/AppView.svelte'),
|
||||
load: () => import('$lib/modules/picture/ListView.svelte'),
|
||||
},
|
||||
{
|
||||
id: 'mukke',
|
||||
name: 'Mukke',
|
||||
color: '#F97316',
|
||||
load: () => import('$lib/modules/mukke/AppView.svelte'),
|
||||
load: () => import('$lib/modules/mukke/ListView.svelte'),
|
||||
views: {
|
||||
list: { load: () => import('$lib/modules/mukke/AppView.svelte') },
|
||||
list: { load: () => import('$lib/modules/mukke/ListView.svelte') },
|
||||
detail: { load: () => import('$lib/modules/mukke/views/DetailView.svelte') },
|
||||
},
|
||||
},
|
||||
|
|
@ -100,15 +100,15 @@ export const APP_REGISTRY: AppEntry[] = [
|
|||
id: 'photos',
|
||||
name: 'Photos',
|
||||
color: '#06B6D4',
|
||||
load: () => import('$lib/modules/photos/AppView.svelte'),
|
||||
load: () => import('$lib/modules/photos/ListView.svelte'),
|
||||
},
|
||||
{
|
||||
id: 'storage',
|
||||
name: 'Storage',
|
||||
color: '#6B7280',
|
||||
load: () => import('$lib/modules/storage/AppView.svelte'),
|
||||
load: () => import('$lib/modules/storage/ListView.svelte'),
|
||||
views: {
|
||||
list: { load: () => import('$lib/modules/storage/AppView.svelte') },
|
||||
list: { load: () => import('$lib/modules/storage/ListView.svelte') },
|
||||
detail: { load: () => import('$lib/modules/storage/views/DetailView.svelte') },
|
||||
},
|
||||
},
|
||||
|
|
@ -116,15 +116,15 @@ export const APP_REGISTRY: AppEntry[] = [
|
|||
id: 'nutriphi',
|
||||
name: 'Nutriphi',
|
||||
color: '#22C55E',
|
||||
load: () => import('$lib/modules/nutriphi/AppView.svelte'),
|
||||
load: () => import('$lib/modules/nutriphi/ListView.svelte'),
|
||||
},
|
||||
{
|
||||
id: 'planta',
|
||||
name: 'Planta',
|
||||
color: '#16A34A',
|
||||
load: () => import('$lib/modules/planta/AppView.svelte'),
|
||||
load: () => import('$lib/modules/planta/ListView.svelte'),
|
||||
views: {
|
||||
list: { load: () => import('$lib/modules/planta/AppView.svelte') },
|
||||
list: { load: () => import('$lib/modules/planta/ListView.svelte') },
|
||||
detail: { load: () => import('$lib/modules/planta/views/DetailView.svelte') },
|
||||
},
|
||||
},
|
||||
|
|
@ -132,9 +132,9 @@ export const APP_REGISTRY: AppEntry[] = [
|
|||
id: 'presi',
|
||||
name: 'Presi',
|
||||
color: '#A855F7',
|
||||
load: () => import('$lib/modules/presi/AppView.svelte'),
|
||||
load: () => import('$lib/modules/presi/ListView.svelte'),
|
||||
views: {
|
||||
list: { load: () => import('$lib/modules/presi/AppView.svelte') },
|
||||
list: { load: () => import('$lib/modules/presi/ListView.svelte') },
|
||||
detail: { load: () => import('$lib/modules/presi/views/DetailView.svelte') },
|
||||
},
|
||||
},
|
||||
|
|
@ -142,9 +142,9 @@ export const APP_REGISTRY: AppEntry[] = [
|
|||
id: 'inventar',
|
||||
name: 'Inventar',
|
||||
color: '#78716C',
|
||||
load: () => import('$lib/modules/inventar/AppView.svelte'),
|
||||
load: () => import('$lib/modules/inventar/ListView.svelte'),
|
||||
views: {
|
||||
list: { load: () => import('$lib/modules/inventar/AppView.svelte') },
|
||||
list: { load: () => import('$lib/modules/inventar/ListView.svelte') },
|
||||
detail: { load: () => import('$lib/modules/inventar/views/DetailView.svelte') },
|
||||
},
|
||||
},
|
||||
|
|
@ -152,9 +152,9 @@ export const APP_REGISTRY: AppEntry[] = [
|
|||
id: 'memoro',
|
||||
name: 'Memoro',
|
||||
color: '#F59E0B',
|
||||
load: () => import('$lib/modules/memoro/AppView.svelte'),
|
||||
load: () => import('$lib/modules/memoro/ListView.svelte'),
|
||||
views: {
|
||||
list: { load: () => import('$lib/modules/memoro/AppView.svelte') },
|
||||
list: { load: () => import('$lib/modules/memoro/ListView.svelte') },
|
||||
detail: { load: () => import('$lib/modules/memoro/views/DetailView.svelte') },
|
||||
},
|
||||
},
|
||||
|
|
@ -162,9 +162,9 @@ export const APP_REGISTRY: AppEntry[] = [
|
|||
id: 'questions',
|
||||
name: 'Questions',
|
||||
color: '#2563EB',
|
||||
load: () => import('$lib/modules/questions/AppView.svelte'),
|
||||
load: () => import('$lib/modules/questions/ListView.svelte'),
|
||||
views: {
|
||||
list: { load: () => import('$lib/modules/questions/AppView.svelte') },
|
||||
list: { load: () => import('$lib/modules/questions/ListView.svelte') },
|
||||
detail: { load: () => import('$lib/modules/questions/views/DetailView.svelte') },
|
||||
},
|
||||
},
|
||||
|
|
@ -172,9 +172,9 @@ export const APP_REGISTRY: AppEntry[] = [
|
|||
id: 'skilltree',
|
||||
name: 'SkillTree',
|
||||
color: '#D946EF',
|
||||
load: () => import('$lib/modules/skilltree/AppView.svelte'),
|
||||
load: () => import('$lib/modules/skilltree/ListView.svelte'),
|
||||
views: {
|
||||
list: { load: () => import('$lib/modules/skilltree/AppView.svelte') },
|
||||
list: { load: () => import('$lib/modules/skilltree/ListView.svelte') },
|
||||
detail: { load: () => import('$lib/modules/skilltree/views/DetailView.svelte') },
|
||||
},
|
||||
},
|
||||
|
|
@ -182,15 +182,15 @@ export const APP_REGISTRY: AppEntry[] = [
|
|||
id: 'moodlit',
|
||||
name: 'Moodlit',
|
||||
color: '#F97316',
|
||||
load: () => import('$lib/modules/moodlit/AppView.svelte'),
|
||||
load: () => import('$lib/modules/moodlit/ListView.svelte'),
|
||||
},
|
||||
{
|
||||
id: 'citycorners',
|
||||
name: 'CityCorners',
|
||||
color: '#14B8A6',
|
||||
load: () => import('$lib/modules/citycorners/AppView.svelte'),
|
||||
load: () => import('$lib/modules/citycorners/ListView.svelte'),
|
||||
views: {
|
||||
list: { load: () => import('$lib/modules/citycorners/AppView.svelte') },
|
||||
list: { load: () => import('$lib/modules/citycorners/ListView.svelte') },
|
||||
detail: { load: () => import('$lib/modules/citycorners/views/DetailView.svelte') },
|
||||
},
|
||||
},
|
||||
|
|
@ -198,9 +198,9 @@ export const APP_REGISTRY: AppEntry[] = [
|
|||
id: 'uload',
|
||||
name: 'uLoad',
|
||||
color: '#0EA5E9',
|
||||
load: () => import('$lib/modules/uload/AppView.svelte'),
|
||||
load: () => import('$lib/modules/uload/ListView.svelte'),
|
||||
views: {
|
||||
list: { load: () => import('$lib/modules/uload/AppView.svelte') },
|
||||
list: { load: () => import('$lib/modules/uload/ListView.svelte') },
|
||||
detail: { load: () => import('$lib/modules/uload/views/DetailView.svelte') },
|
||||
},
|
||||
},
|
||||
|
|
@ -208,13 +208,13 @@ export const APP_REGISTRY: AppEntry[] = [
|
|||
id: 'calc',
|
||||
name: 'Calc',
|
||||
color: '#6B7280',
|
||||
load: () => import('$lib/modules/calc/AppView.svelte'),
|
||||
load: () => import('$lib/modules/calc/ListView.svelte'),
|
||||
},
|
||||
{
|
||||
id: 'playground',
|
||||
name: 'Playground',
|
||||
color: '#9CA3AF',
|
||||
load: () => import('$lib/modules/playground/AppView.svelte'),
|
||||
load: () => import('$lib/modules/playground/ListView.svelte'),
|
||||
},
|
||||
];
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<!--
|
||||
Calc — Split-Screen AppView
|
||||
Calc — Workbench ListView
|
||||
Simple calculator with expression input and history.
|
||||
-->
|
||||
<script lang="ts">
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<!--
|
||||
Calendar — Workbench AppView (List View)
|
||||
Calendar — Workbench ListView
|
||||
Mini week view with today's events + quick event creation.
|
||||
Clicking an event opens the detail view.
|
||||
-->
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<!--
|
||||
Cards — Split-Screen AppView
|
||||
Cards — Workbench ListView
|
||||
Deck list with card counts and study info.
|
||||
-->
|
||||
<script lang="ts">
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<!--
|
||||
Chat — Split-Screen AppView
|
||||
Chat — Workbench ListView
|
||||
Recent conversations list.
|
||||
-->
|
||||
<script lang="ts">
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<!--
|
||||
CityCorners — Split-Screen AppView
|
||||
CityCorners — Workbench ListView
|
||||
Locations list grouped by category with favorites.
|
||||
-->
|
||||
<script lang="ts">
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<!--
|
||||
Contacts — Workbench AppView (List View)
|
||||
Contacts — Workbench ListView
|
||||
Contact list with search + quick create.
|
||||
Clicking a contact opens the detail view.
|
||||
-->
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<!--
|
||||
Context — Split-Screen AppView
|
||||
Context — Workbench ListView
|
||||
Spaces and recent documents.
|
||||
-->
|
||||
<script lang="ts">
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<!--
|
||||
Inventar — Split-Screen AppView
|
||||
Inventar — Workbench ListView
|
||||
Collections and items overview.
|
||||
-->
|
||||
<script lang="ts">
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<!--
|
||||
Memoro — Split-Screen AppView
|
||||
Memoro — Workbench ListView
|
||||
Recent memos with transcription status.
|
||||
-->
|
||||
<script lang="ts">
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<!--
|
||||
Moodlit — Split-Screen AppView
|
||||
Moodlit — Workbench ListView
|
||||
Ambient mood selector with color preview.
|
||||
-->
|
||||
<script lang="ts">
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<!--
|
||||
Mukke — Split-Screen AppView
|
||||
Mukke — Workbench ListView
|
||||
Song library with recent plays and playlists.
|
||||
-->
|
||||
<script lang="ts">
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<!--
|
||||
NutriPhi — Split-Screen AppView
|
||||
NutriPhi — Workbench ListView
|
||||
Today's nutrition progress with meal log.
|
||||
-->
|
||||
<script lang="ts">
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<!--
|
||||
Photos — Split-Screen AppView
|
||||
Photos — Workbench ListView
|
||||
Photo albums and recent uploads.
|
||||
-->
|
||||
<script lang="ts">
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<!--
|
||||
Picture — Split-Screen AppView
|
||||
Picture — Workbench ListView
|
||||
Recent images grid with favorites.
|
||||
-->
|
||||
<script lang="ts">
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<!--
|
||||
Planta — Split-Screen AppView
|
||||
Planta — Workbench ListView
|
||||
Plant overview with watering schedule.
|
||||
-->
|
||||
<script lang="ts">
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<!--
|
||||
Playground — Split-Screen AppView
|
||||
Playground — Workbench ListView
|
||||
Minimal LLM prompt interface with model selector.
|
||||
-->
|
||||
<script lang="ts">
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<!--
|
||||
Presi — Split-Screen AppView
|
||||
Presi — Workbench ListView
|
||||
Presentation decks list with slide count.
|
||||
-->
|
||||
<script lang="ts">
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<!--
|
||||
Questions — Split-Screen AppView
|
||||
Questions — Workbench ListView
|
||||
Research questions list with status badges.
|
||||
-->
|
||||
<script lang="ts">
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<!--
|
||||
SkillTree — Split-Screen AppView
|
||||
SkillTree — Workbench ListView
|
||||
Skills overview with XP and levels.
|
||||
-->
|
||||
<script lang="ts">
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<!--
|
||||
Storage — Split-Screen AppView
|
||||
Storage — Workbench ListView
|
||||
File browser with recent files and folders.
|
||||
-->
|
||||
<script lang="ts">
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<!--
|
||||
Times — Split-Screen AppView
|
||||
Times — Workbench ListView
|
||||
Today's time entries with running timer and daily total.
|
||||
-->
|
||||
<script lang="ts">
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<!--
|
||||
Todo — Workbench AppView (List View)
|
||||
Todo — Workbench ListView
|
||||
Compact task list with quick add, filter by inbox/today/overdue.
|
||||
Clicking a task opens the detail view; checkbox toggles completion.
|
||||
-->
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<!--
|
||||
uLoad — Split-Screen AppView
|
||||
uLoad — Workbench ListView
|
||||
Short links list with click counts.
|
||||
-->
|
||||
<script lang="ts">
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<!--
|
||||
Zitare — Split-Screen AppView
|
||||
Zitare — Workbench ListView
|
||||
Quote of the day with favorites count.
|
||||
-->
|
||||
<script lang="ts">
|
||||
|
|
@ -2,34 +2,34 @@
|
|||
* Split-Screen App Registry
|
||||
*
|
||||
* Lazy-import registry for all app modules.
|
||||
* Each app has an AppView.svelte component that renders in split-screen.
|
||||
* Each app has an ListView.svelte component that renders in split-screen.
|
||||
*/
|
||||
|
||||
const APP_COMPONENTS = {
|
||||
todo: () => import('$lib/modules/todo/AppView.svelte'),
|
||||
calendar: () => import('$lib/modules/calendar/AppView.svelte'),
|
||||
contacts: () => import('$lib/modules/contacts/AppView.svelte'),
|
||||
chat: () => import('$lib/modules/chat/AppView.svelte'),
|
||||
picture: () => import('$lib/modules/picture/AppView.svelte'),
|
||||
cards: () => import('$lib/modules/cards/AppView.svelte'),
|
||||
zitare: () => import('$lib/modules/zitare/AppView.svelte'),
|
||||
mukke: () => import('$lib/modules/mukke/AppView.svelte'),
|
||||
storage: () => import('$lib/modules/storage/AppView.svelte'),
|
||||
presi: () => import('$lib/modules/presi/AppView.svelte'),
|
||||
inventar: () => import('$lib/modules/inventar/AppView.svelte'),
|
||||
photos: () => import('$lib/modules/photos/AppView.svelte'),
|
||||
skilltree: () => import('$lib/modules/skilltree/AppView.svelte'),
|
||||
citycorners: () => import('$lib/modules/citycorners/AppView.svelte'),
|
||||
times: () => import('$lib/modules/times/AppView.svelte'),
|
||||
context: () => import('$lib/modules/context/AppView.svelte'),
|
||||
questions: () => import('$lib/modules/questions/AppView.svelte'),
|
||||
nutriphi: () => import('$lib/modules/nutriphi/AppView.svelte'),
|
||||
planta: () => import('$lib/modules/planta/AppView.svelte'),
|
||||
uload: () => import('$lib/modules/uload/AppView.svelte'),
|
||||
calc: () => import('$lib/modules/calc/AppView.svelte'),
|
||||
moodlit: () => import('$lib/modules/moodlit/AppView.svelte'),
|
||||
memoro: () => import('$lib/modules/memoro/AppView.svelte'),
|
||||
playground: () => import('$lib/modules/playground/AppView.svelte'),
|
||||
todo: () => import('$lib/modules/todo/ListView.svelte'),
|
||||
calendar: () => import('$lib/modules/calendar/ListView.svelte'),
|
||||
contacts: () => import('$lib/modules/contacts/ListView.svelte'),
|
||||
chat: () => import('$lib/modules/chat/ListView.svelte'),
|
||||
picture: () => import('$lib/modules/picture/ListView.svelte'),
|
||||
cards: () => import('$lib/modules/cards/ListView.svelte'),
|
||||
zitare: () => import('$lib/modules/zitare/ListView.svelte'),
|
||||
mukke: () => import('$lib/modules/mukke/ListView.svelte'),
|
||||
storage: () => import('$lib/modules/storage/ListView.svelte'),
|
||||
presi: () => import('$lib/modules/presi/ListView.svelte'),
|
||||
inventar: () => import('$lib/modules/inventar/ListView.svelte'),
|
||||
photos: () => import('$lib/modules/photos/ListView.svelte'),
|
||||
skilltree: () => import('$lib/modules/skilltree/ListView.svelte'),
|
||||
citycorners: () => import('$lib/modules/citycorners/ListView.svelte'),
|
||||
times: () => import('$lib/modules/times/ListView.svelte'),
|
||||
context: () => import('$lib/modules/context/ListView.svelte'),
|
||||
questions: () => import('$lib/modules/questions/ListView.svelte'),
|
||||
nutriphi: () => import('$lib/modules/nutriphi/ListView.svelte'),
|
||||
planta: () => import('$lib/modules/planta/ListView.svelte'),
|
||||
uload: () => import('$lib/modules/uload/ListView.svelte'),
|
||||
calc: () => import('$lib/modules/calc/ListView.svelte'),
|
||||
moodlit: () => import('$lib/modules/moodlit/ListView.svelte'),
|
||||
memoro: () => import('$lib/modules/memoro/ListView.svelte'),
|
||||
playground: () => import('$lib/modules/playground/ListView.svelte'),
|
||||
};
|
||||
|
||||
export type SplitAppId = keyof typeof APP_COMPONENTS;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue