feat: in-app help, notifications panel and global search (#32)
F1 and "?" now open the wiki page of the screen inside the application (/aiuto, mockup 011) from a copy of the wiki shipped next to the program, so help works offline and always matches the installed version. Markdown is converted in-house and fully encoded; images of the repository are served from the copy. KHAEMHAT_HELP_URL sets the online wiki behind "Apri nel wiki"; "Segnala un problema" opens a new issue of that repo. A test checks that every page and menu entry has an existing wiki page. The bell opens a notifications panel (mockup 010) with all/unread filters and mark read. Broadcast notifications are now read per user through sys_notification_reads / notification_reads instead of one shared read_at. The global search asks ISearchProvider implementations through GlobalSearchService after a short pause; the first provider finds help pages and sections, # and @ say which modules will fill them. Escape also closes a side panel when the focus fell out of it. Decisions in ADR 0023. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
acb7e598d1
commit
f415dc37a8
39 files changed
+1976
-107
No files matched your search
@@ -386,6 +386,7 @@ Migrazioni applicate in ordine:
|
||||
- `core` 20261111010 `create_sys_scheduler` (M20261111_010_CreateSysScheduler)
|
||||
- `core` 20261111011 `create_sys_notifications` (M20261111_011_CreateSysNotifications)
|
||||
- `core` 20261111012 `create_sys_user_settings` (M20261111_012_CreateSysUserSettings)
|
||||
- `core` 20261111013 `create_sys_notification_reads` (M20261111_013_CreateSysNotificationReads)
|
||||
|
||||
#### `schema_version`
|
||||
|
||||
@@ -518,6 +519,22 @@ Chiave primaria: `module`, `version`.
|
||||
- indice `ix_sys_log_section_at` su `section`, `at`
|
||||
- indice `ix_sys_log_trace_id` su `trace_id`
|
||||
|
||||
#### `sys_notification_reads`
|
||||
|
||||
| Colonna | Tipo | Null | Default | Note |
|
||||
|---|---|---|---|---|
|
||||
| `id` | Int64 | no | | chiave primaria, identity |
|
||||
| `notification_id` | Int64 | no | | |
|
||||
| `user_id` | Int64 | no | | |
|
||||
| `created_at` | DateTimeUtc | no | | |
|
||||
| `created_by` | String(100) | sì | | |
|
||||
| `updated_at` | DateTimeUtc | sì | | |
|
||||
| `updated_by` | String(100) | sì | | |
|
||||
| `row_version` | Int64 | no | `1` | |
|
||||
|
||||
- indice `ix_sys_notification_reads_user_id` su `user_id`
|
||||
- indice unico `ux_sys_notification_reads_notification_user` su `notification_id`, `user_id`
|
||||
|
||||
#### `sys_notifications`
|
||||
|
||||
| Colonna | Tipo | Null | Default | Note |
|
||||
@@ -703,6 +720,7 @@ Migrazioni applicate in ordine:
|
||||
- `core` 20261111006 `create_user_settings` (M20261111_006_CreateUserSettings)
|
||||
- `core` 20261111007 `create_attachments` (M20261111_007_CreateAttachments)
|
||||
- `core` 20261111008 `create_company_settings` (M20261111_008_CreateCompanySettings)
|
||||
- `core` 20261111009 `create_notification_reads` (M20261111_009_CreateNotificationReads)
|
||||
|
||||
#### `attachments`
|
||||
|
||||
@@ -764,6 +782,22 @@ Migrazioni applicate in ordine:
|
||||
|
||||
- indice unico `ux_company_settings_key` su `key`
|
||||
|
||||
#### `notification_reads`
|
||||
|
||||
| Colonna | Tipo | Null | Default | Note |
|
||||
|---|---|---|---|---|
|
||||
| `id` | Int64 | no | | chiave primaria, identity |
|
||||
| `notification_id` | Int64 | no | | |
|
||||
| `user_id` | Int64 | no | | |
|
||||
| `created_at` | DateTimeUtc | no | | |
|
||||
| `created_by` | String(100) | sì | | |
|
||||
| `updated_at` | DateTimeUtc | sì | | |
|
||||
| `updated_by` | String(100) | sì | | |
|
||||
| `row_version` | Int64 | no | `1` | |
|
||||
|
||||
- indice `ix_notification_reads_user_id` su `user_id`
|
||||
- indice unico `ux_notification_reads_notification_user` su `notification_id`, `user_id`
|
||||
|
||||
#### `notifications`
|
||||
|
||||
| Colonna | Tipo | Null | Default | Note |
|
||||
|
||||
Reference in new issue
Block a user