Workflow tile goes live; repin Compass (Workflow) and Panorama
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -5,7 +5,8 @@ presents it as **Workflow**. `app/seed.py` says so for a fresh install, but the
|
||||
catalogue ONCE (`_seed.catalog`) and `ADDED_AFTER_FIRST_SEED` only offers a missing slug, so an
|
||||
already-seeded box would show "Compass" for ever. This revision updates that one row.
|
||||
|
||||
Only what people see changes: `name`, `tagline`, `description`, `category`. The slug stays
|
||||
Only what people see changes: `name`, `tagline`, `description`, `category`, and `status`
|
||||
goes from `coming_soon` to `live` (the module is deployed and in use). The slug stays
|
||||
`compass` — it is the module's path, its schema and roles, and the `module_permission.module_slug`
|
||||
every grant was written under. And only the row the seed wrote: `name = 'Compass'`. An entry an
|
||||
administrator renamed, or a box without the entry, is left alone, so the revision is idempotent
|
||||
@@ -32,10 +33,12 @@ _module = sa.table(
|
||||
sa.column("tagline", sa.Text),
|
||||
sa.column("description", sa.Text),
|
||||
sa.column("category", sa.Text),
|
||||
sa.column("status", sa.Text),
|
||||
)
|
||||
|
||||
WORKFLOW = {
|
||||
"name": "Workflow",
|
||||
"status": "live",
|
||||
"category": "Dokumenty",
|
||||
"tagline": "Obiegi akceptacji dokumentów.",
|
||||
"description": (
|
||||
@@ -47,6 +50,7 @@ WORKFLOW = {
|
||||
|
||||
COMPASS = {
|
||||
"name": "Compass",
|
||||
"status": "coming_soon",
|
||||
"category": "Umowy",
|
||||
"tagline": "Zarządzanie umowami dla zespołów prawnych.",
|
||||
"description": (
|
||||
|
||||
+1
-1
@@ -101,7 +101,7 @@ FAMILY: list[dict] = [
|
||||
# roles and `module_permission` rows stay `compass`. In English the tagline reads "Document
|
||||
# approval workflows". An already-seeded box gets the new name from revision `0013`.
|
||||
"slug": "compass", "name": "Workflow", "hue": "blue", "glyph": "compass", "sort_order": 40,
|
||||
"category": "Dokumenty", "status": ModuleStatus.coming_soon.value,
|
||||
"category": "Dokumenty", "status": ModuleStatus.live.value,
|
||||
"tagline": "Obiegi akceptacji dokumentów.",
|
||||
"description": (
|
||||
"Workflow prowadzi dokument przez jego akceptujących, etap po etapie: plik przesłany do "
|
||||
|
||||
+1
-1
Submodule deploy/modules/compass updated: b70b42069a...a7d9db44c2
+1
-1
Submodule deploy/modules/panorama updated: 8fb0c9f1bb...ed9d14a43a
Reference in New Issue
Block a user