Apps

Six full-height apps built on one architecture. Swap the mock provider for your API and the screens keep working.

The apps (/email, /chat, /calendar, /kanban, /todo, /file-manager) are complete screens, not mockups: they filter, sort, drag, undo and remember the user's view. They all share one structure, so learning one teaches you the rest.

The pattern

Layer
Where
What it does
Modeltypes/models/<app>.tsThe types and the **provider** interface: the operations the app needs from a backend.
Demo datamocks/<app>.mock.tsBuilt from new Date() inside useState, so the server and the client share the same data. Exports create<App>MockProvider().
Composablecomposables/apps/use<App>.tsLoads the provider with useAsyncData, holds the state and applies changes optimistically.
Configconfig/<app>.config.tsFolders, labels, colours and defaults as data.
Rulesutils/<app>.tsPure functions with unit tests.
Componentscomponents/pages/<app>/Page-only components, prefixed with the app name.
Copylocales/<code>/apps.jsonUI strings under apps.<app>.

Page conventions

  • Pages set definePageMeta({ fluid: true, hideBreadcrumbs: true }) to drop the 1000px container and the breadcrumb row. Keep breadcrumb: app.vue builds the <title> from it.
  • Full-height panes live inside .app-panel. List and detail apps render a BaseSplitView with the nav, list, detail and aside slots.
  • Create and edit dialogs are BaseFormPanel + BaseForm. A delete action in an edit form goes in #actions-start as a BaseButton button-type="danger".
  • Destructive actions confirm with useConfirm(); actions that need a backend call useToast().show(t('apps.common.demoAction')) until you connect one.
  • Each app's view (reading pane, month or week, board or list…) persists in a cookie, so the server renders the view the user chose.
Plug in your API
Every app page has a Connect your backend section with a ready provider. Write it in providers/<app>.ts, pass it to the composable in the page and you are done. The general guide is Connect your API.

Apps

Email

Folders, labels, threads, composer and shortcuts.

Open : Email

Chat

Groups, pins, replies, reactions and attachments.

Open : Chat

Calendar

Month, week, day and agenda with quick add.

Open : Calendar

Kanban

WIP limits, drag and drop, filters and a list view.

Open : Kanban

Tasks

Lists, tags, quick add, subtasks and repeats.

Open : Tasks

File manager

Folders, uploads, previews and storage.

Open : File manager
© 2026 melsami UI.
Developer documentation for melsami UI.