[Debt] Migrate Files WebUI to the interface pattern language #42

Closed
opened 2026-08-03 08:08:42 +02:00 by zemion · 1 comment
Owner

Context

This is the bounded govoplan-files work package for the platform interface pattern-language rollout.

Current generated inventory boundary:

  • Routes: /files
  • Contributed surfaces: files.admin.group-connectors, files.admin.system-connectors, files.admin.tenant-connectors, files.admin.user-connectors, files.settings.connectors, files.widget.spaces

The issue owns only module-provided UI. Shared primitives remain in Core; optional integrations must continue to use declared contracts and capabilities.

Scope

Audit the listed routes and contributed surfaces, classify each by the canonical archetypes in govoplan/docs/INTERFACE_PATTERN_LANGUAGE.md, and migrate deviations without redesigning unrelated behavior.

Acceptance Criteria

  • Inventory the module's routes, panels, dialogs, tables, workflows, and destructive actions and record their archetype and consequence class.
  • Use shared Core components and tokens for equivalent controls, status, dialogs, loading, empty, error, stale, offline, partial, and permission states.
  • Explain disabled or unavailable actions with actor, reason, required action, and destination where applicable.
  • Add stable contextual Docs links for routes, fields, blockers, and consequential actions.
  • Preserve optional-module boundaries; no private imports from sibling modules.
  • Verify keyboard order, focus handling, responsive behavior, localization, privacy-safe rendering, and destructive confirmation behavior.
  • Update the module's user/admin DocumentationTopic contributions and focused regression tests.
  • Record completion evidence in the rollout matrix under govoplan/docs/INTERFACE_SURFACE_INVENTORY.md.

Verification

Run the module's targeted backend/WebUI tests, the manifest-shape check, and the consolidated focused check when shared contracts or optional integrations change.

## Context This is the bounded `govoplan-files` work package for the platform interface pattern-language rollout. - Platform pattern contract: [GovOPlaN #11](https://git.add-ideas.de/GovOPlaN/govoplan/issues/11) Current generated inventory boundary: - Routes: `/files` - Contributed surfaces: `files.admin.group-connectors`, `files.admin.system-connectors`, `files.admin.tenant-connectors`, `files.admin.user-connectors`, `files.settings.connectors`, `files.widget.spaces` The issue owns only module-provided UI. Shared primitives remain in Core; optional integrations must continue to use declared contracts and capabilities. ## Scope Audit the listed routes and contributed surfaces, classify each by the canonical archetypes in `govoplan/docs/INTERFACE_PATTERN_LANGUAGE.md`, and migrate deviations without redesigning unrelated behavior. ## Acceptance Criteria - [ ] Inventory the module's routes, panels, dialogs, tables, workflows, and destructive actions and record their archetype and consequence class. - [ ] Use shared Core components and tokens for equivalent controls, status, dialogs, loading, empty, error, stale, offline, partial, and permission states. - [ ] Explain disabled or unavailable actions with actor, reason, required action, and destination where applicable. - [ ] Add stable contextual Docs links for routes, fields, blockers, and consequential actions. - [ ] Preserve optional-module boundaries; no private imports from sibling modules. - [ ] Verify keyboard order, focus handling, responsive behavior, localization, privacy-safe rendering, and destructive confirmation behavior. - [ ] Update the module's user/admin `DocumentationTopic` contributions and focused regression tests. - [ ] Record completion evidence in the rollout matrix under `govoplan/docs/INTERFACE_SURFACE_INVENTORY.md`. ## Verification Run the module's targeted backend/WebUI tests, the manifest-shape check, and the consolidated focused check when shared contracts or optional integrations change.
zemion added the
type
debt
module/files
priority
p1
codex/ready
status
ready
area/webui
labels 2026-08-03 08:08:42 +02:00
Author
Owner

Codex State: done

Summary

  • Migrated the Files workspace, connector administration, policy and composed chooser surfaces to the shared interface pattern language.
  • Added contextual configured-system help, actionable permission/state/provenance blockers, shared confirmation paths and a durable surface/consequence inventory.

Changed Files

  • webui/src/features/files/FilesPage.tsx
  • webui/src/features/files/FileConnectorSettingsPanel.tsx
  • docs/INTERFACE_PATTERN_MIGRATION.md
  • docs/FILES_HANDBOOK.md
  • govoplan_files/module.py

Verification

  • 104 Files backend tests passed.
  • Focused file-drop, property-filter and interface-pattern WebUI checks passed.
  • Core focused matrix passed: 65 manifest shapes, 46 WebUI permutations and full-product bundle budgets.

Next / Blocked

  • Platform inventory evidence is recorded in GovOPlaN commit eb9ab9e; implementation is Files commit d8ae506.
## Codex State: done ### Summary - Migrated the Files workspace, connector administration, policy and composed chooser surfaces to the shared interface pattern language. - Added contextual configured-system help, actionable permission/state/provenance blockers, shared confirmation paths and a durable surface/consequence inventory. ### Changed Files - `webui/src/features/files/FilesPage.tsx` - `webui/src/features/files/FileConnectorSettingsPanel.tsx` - `docs/INTERFACE_PATTERN_MIGRATION.md` - `docs/FILES_HANDBOOK.md` - `govoplan_files/module.py` ### Verification - `104 Files backend tests passed.` - `Focused file-drop, property-filter and interface-pattern WebUI checks passed.` - `Core focused matrix passed: 65 manifest shapes, 46 WebUI permutations and full-product bundle budgets.` ### Next / Blocked - Platform inventory evidence is recorded in GovOPlaN commit eb9ab9e; implementation is Files commit d8ae506.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: GovOPlaN/govoplan-files#42