1.1 KiB
1.1 KiB
1. API contract and data handling
- 1.1 Document the hierarchical node fields, relationship exceptions, and top-level pagination shell for package history.
- 1.2 Add a client-side response normalizer that preserves recursively returned
childrenand all relationship metadata. - 1.3 Use
totaland returned top-level groups to drive pagination, so children never consume page capacity or cross pages.
2. Package history UI
- 2.1 Render returned top-level relationship groups and their addon children with the existing package metrics and status styling.
- 2.2 Initialize groups from
expand_by_defaultand add an accessible expand/collapse control for groups with children. - 2.3 Render
master_missingas a standalone relationship-exception item and preserve normal shared-request error handling for all other API failures.
3. Verification
- 3.1 Verify nested, collapsed, expanded, filtered-group,
master_missing, and multi-page response fixtures. - 3.2 Run the H5 production build and inspect the changed files for contract consistency.