feat(app): sheet draft editor route, modes, recovery offer and conflict dialog
This commit is contained in:
1 parent
b14509f221
commit
6aba9711f0
44 files changed
+3143
-13
No files matched your search
@@ -9,8 +9,8 @@ import type { Locale } from '@/i18n/types'
|
||||
type Translate = (key: string) => string
|
||||
|
||||
/**
|
||||
* The failure kinds the administration screens can meet (the RPCs they call,
|
||||
* their helpers and the shared session kinds), each with an
|
||||
* The failure kinds the administration screens and the draft editor's saves can
|
||||
* meet (the RPCs they call, their helpers and the shared session kinds), each with an
|
||||
* `admin.failure.<kind>` message. Any other kind cannot come from these
|
||||
* calls; it reads as the generic `unavailable`, never as a raw code.
|
||||
*/
|
||||
@@ -28,10 +28,15 @@ const ADMIN_FAILURE_KINDS: ReadonlySet<SheetFailureKind> =
|
||||
'grant.ineligible',
|
||||
'grant.revoked',
|
||||
'grant.target_invalid',
|
||||
'draft.frozen',
|
||||
'draft.not_a_draft',
|
||||
'document.shape',
|
||||
'document.schema_version',
|
||||
'document.species',
|
||||
'document.too_large',
|
||||
'sheet.inactive',
|
||||
'sheet.state',
|
||||
'sheet.historical_read_only',
|
||||
'sheet.species_invalid',
|
||||
'sheet.slug_taken',
|
||||
'species.exists',
|
||||
|
||||
Reference in new issue
Block a user