Skip to content

feat(ui): establish component boundary with accessible tabs - #540

Open
FenjuFu wants to merge 3 commits into
apache:mainfrom
FenjuFu:feat/ui-tab-boundary
Open

feat(ui): establish component boundary with accessible tabs#540
FenjuFu wants to merge 3 commits into
apache:mainfrom
FenjuFu:feat/ui-tab-boundary

Conversation

@FenjuFu

@FenjuFu FenjuFu commented Sep 10, 2026

Copy link
Copy Markdown

What and why

Shared custom-field tabs now use an app-owned component and test contract. Arrow keys move focus without fetching a table; Enter/Space activates the selected table. Native buttons and CDK handle keyboard navigation, disabled items and RTL, while the feature receives a table-name string and owns loading the panel.

This also establishes the first migration increment from #530: ADR 0005 specifies the complete component/CVA value, keyboard/ARIA, browser-helper, theming and rollout contracts; the Ionic import ratchet records existing use while rejecting new unsuppressed dependencies outside UI implementations. Existing Material/i18n restrictions and other-rule allowances are preserved. AGENTS.md and STYLE.md direct new feature/shared code through app/ui.

Refs #530. Remaining tab strips, popup controls, form CVAs, cosmetic primitives, deployment-token expansion and legacy browser helpers remain under the overall migration issue. This PR delivers the boundary and one independently verifiable behavioural primitive; it does not close that issue.

Verification

  • Final head: e992e9b88315455bcd310dc6941946e3804f7e49.

  • Local: 17 rendered Angular unit/integration tests and 3 ESLint boundary tests passed. App/E2E TypeScript checks, changed-source ESLint, formatting and git diff checks passed. Other lint-rule allowances were compared with the base and preserved.

  • Full fork CI passed on this head, including full unit suites, full lint/suppression pruning, production/container builds, API drift, translations, security, GA and license/RAT checks.

  • Full fork E2E passed on the same head: all mocked and real-Fineract shards, mobile and two-factor authentication. The new custom-field cases exercise the app-owned keyboard/panel contract at 1280px and 390px; they use mocked group data and attach screenshots after loading completes.

  • All three PR commits have matching FenjuFu noreply sign-offs and valid GitHub signatures. No generated API files were hand-edited. The upstream signed-commit check passed.

  • Upstream CI, E2E and CodeQL still require maintainer approval. The fork results above are independent evidence.

Screenshots

Unmodified image attachments from the passing new CI browser cases, showing the custom-field region after the panel finishes loading. Screenshots are stored on a separate review branch.

Desktop, 1280px viewport

App-owned custom-field tabs on desktop

Narrow, 390px viewport

App-owned custom-field tabs on a narrow viewport

AI assistance (optional)

  • Tool: Codex.

  • Harness / workflow: assisted implementation and review, targeted local checks, and full fork GitHub Actions validation.

Checklist

  • I did not hand-edit generated files under src/app/api/.

  • Feature translation uses the core adapter; DOM/focus behaviour is confined to the app/ui primitive.

  • User-facing static strings use translation keys; registered table names remain user data.

  • Added rendered unit, import-boundary and browser contract tests.

  • UI changes have browser coverage; full mocked and real-backend suites passed.

  • Commits are signed and contain matching sign-offs.

  • Followed the AI-assisted contributions guidance.

Define the component, CVA, theme and browser-test migration contracts. Ratchet existing Ionic imports and migrate shared entity datatable tabs to an app-owned CDK-backed primitive with keyboard and ARIA contract tests.

Refs apache#530

Signed-off-by: FenjuFu <92919259+FenjuFu@users.noreply.github.com>
Make the initial UI import instructions agree with the new boundary: feature/shared code uses app-owned primitives, existing imports follow the migration baseline, and direct vendor imports belong to UI implementations.

Signed-off-by: FenjuFu <92919259+FenjuFu@users.noreply.github.com>
Complete the mocked business-date endpoint and attach desktop/narrow screenshots after the tab panel stops loading. Product source remains unchanged.

Signed-off-by: FenjuFu <92919259+FenjuFu@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant