| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148 |
- """Stage 15.7 operation-aware contextual help owned by Onboarding."""
- from django.utils.translation import gettext_lazy as _
- PAGE_HELP_CONTRIBUTIONS = {
- "sharix_onboarding:partner": {
- "purpose": _("Choose the business meaning of the Service Partner without duplicating legacy boolean switches."),
- "terms": ("partner", "service", "relationship"),
- "workflow": (
- _("Choose whether the Service Operator is also the Partner or the Partner is a separate organization."),
- _("If an old project cannot be mapped unambiguously, confirm the choice before freeze."),
- _("Materialization uses the normal Company/Relationship/Permission lifecycle; this step does not grant access directly."),
- ),
- "operations": ({
- "id": "choose_partner_mode",
- "title": _("Choose Partner mode"),
- "description": _("Select one semantic Partner relationship and provide separate organization details only when needed."),
- "result": _("The project JSON is updated; no production Company is created yet."),
- },),
- },
- "sharix_onboarding:requirements": {
- "purpose": _("Define additional eligibility requirements with an explicit owner and reusable check/document definition when available."),
- "terms": ("requirement", "check", "document", "permission"),
- "workflow": (
- _("Choose who the requirement applies to, then choose its type."),
- _("For category-specific requirements select the category; for reusable checks/documents select an existing definition when appropriate."),
- _("If the referenced definition disappears before materialization, return to this step and revalidate the choice."),
- ),
- "operations": ({
- "id": "edit_requirement",
- "title": _("Add or edit an additional requirement"),
- "description": _("Store structured owner/type/reference data instead of an ambiguous free-form subject."),
- "result": _("Only the onboarding project changes until materialization."),
- },),
- },
- "sharix_onboarding:modules": {
- "purpose": _("Map each required service capability to an implementation while keeping module availability and software license as separate facts."),
- "terms": ("service", "integration", "requirements", "activity_status"),
- "workflow": (
- _("Read what the capability provides and why the current project requires it."),
- _("Compare the implementing module purpose, runtime status, repository visibility and verified license identity from canonical Sysadmin metadata."),
- _("If an optional or closed module is unavailable, choose a documented fallback, defer the capability or use a custom/external implementation instead of blocking design."),
- ),
- "operations": (
- {
- "id": "choose_capability_implementation",
- "title": _("Choose capability implementation"),
- "description": _("Select one currently valid implementation for each derived capability."),
- "result": _("The implementation resolution is stored in the onboarding project; no module is installed by this action."),
- },
- {
- "id": "open_sysadmin_modules",
- "title": _("Open module management"),
- "description": _("Use Sysadmin when a selected optional implementation must be configured or installed."),
- "result": _("Sysadmin owns installation/configuration; return to onboarding after the module is loaded."),
- },
- ),
- "empty_state": _("If no additional capability is required, continue without selecting optional modules."),
- },
- "sharix_onboarding:module_config": {
- "purpose": _("Configure only module-owned onboarding settings contributed by modules that are actually loaded in the current assembly."),
- "terms": ("service", "integration", "requirements", "activity_status"),
- "workflow": (
- _("Review the canonical module identity/status before editing its project-specific settings."),
- _("A selector with no available choices is not a valid value; check earlier project choices and the module configuration instead of inventing an identifier."),
- _("When a loaded contribution offers a preview, it renders the current unsaved form values through the owning module's Document Engine contract without materializing production objects."),
- _("Legacy module values that no longer participate in production output must be migrated through the owning module's documented replacement rather than silently previewed as active data."),
- _("For ordered repeatable sections, use Move up/Move down. The submitted order is stored through Django formset ORDER and survives validation re-render."),
- _("Saving changes only the onboarding project file; production objects are written later by materialization."),
- ),
- "operations": (
- {
- "id": "preview_module_configuration",
- "title": _("Preview module-specific draft"),
- "description": _("Render a supported draft preview from the values currently entered on the page."),
- "result": _("The preview is shown in-page; the onboarding project and production Documents remain unchanged."),
- },
- {
- "id": "reorder_module_configuration_rows",
- "title": _("Reorder module-owned rows"),
- "description": _("Move an ordered row up or down without editing its hidden stable identity."),
- "result": _("The saved project keeps the new row order while stable public_id/technical code values remain unchanged."),
- },
- {
- "id": "save_module_configuration",
- "title": _("Save module-specific settings"),
- "description": _("Validate and store the settings contributed by the loaded module."),
- "result": _("The project configuration is updated without performing production materialization."),
- },
- ),
- "empty_state": _("If no loaded module contributes settings for the selected capabilities, continue with the documented base/fallback design or return to Modules to inspect the expected module."),
- },
- "sharix_onboarding:existing_create": {
- "purpose": _("Create a safe local project from an existing Service without changing production state."),
- "terms": ("service", "service_admin", "service_category", "tariff"),
- "workflow": (
- _("Choose only a Service already visible to the current actor."),
- _("Onboarding records an actor-scoped runtime baseline with stable source references."),
- _("Continue through the ordinary editor; production objects remain unchanged until explicit Apply."),
- ),
- "operations": ({
- "id": "create_existing_snapshot",
- "title": _("Create existing-Service snapshot"),
- "description": _("Read the current ServiceCategory and Tariffs inside the current metaservice/actor scope."),
- "result": _("A local schema-v4 project is created with an immutable baseline; no domain object is written."),
- },),
- "empty_state": _("If no Service is available, the current actor has no existing Service inside the configured metaservice that this workflow may edit."),
- },
- "sharix_onboarding:existing_impact": {
- "purpose": _("Review baseline, current runtime and desired project state before applying changes to a running Service."),
- "terms": ("service", "service_category", "tariff", "ticket"),
- "workflow": (
- _("Review the normalized impact list and any concurrent runtime conflicts."),
- _("If runtime changed, use explicit rebase and review again instead of overwriting it."),
- _("Apply uses the canonical ServiceCategory/Tariff forms and their existing approval lifecycle."),
- _("Approval-required changes create normal Tickets; reviewer capability never causes silent auto-approval."),
- ),
- "operations": (
- {
- "id": "rebase_existing_service",
- "title": _("Rebase existing-Service project"),
- "description": _("Accept the current runtime snapshot as the new baseline while retaining project edits for another review."),
- "result": _("The project baseline changes; production objects are still unchanged."),
- },
- {
- "id": "apply_existing_service",
- "title": _("Apply existing-Service changes"),
- "description": _("Revalidate actor scope, lock and reread runtime, then submit supported changes through canonical domain forms."),
- "result": _("Existing objects are updated without duplication; normal approval Tickets and review links are shown when created."),
- },
- ),
- },
- "sharix_onboarding:review": {
- "purpose": _("Review the complete onboarding design and freeze only a semantically resolved project."),
- "terms": ("service", "partner", "requirement"),
- "workflow": (
- _("Resolve migration attention and existing module/contribution validation warnings before freeze."),
- _("Freeze records an approved revision/hash; production objects still do not exist until materialization."),
- ),
- "operations": ({
- "id": "freeze_project",
- "title": _("Freeze onboarding project"),
- "description": _("Approve the current semantic design revision for later materialization."),
- "result": _("The approved revision/hash is stored in the project file."),
- },),
- },
- }
|