Skip to content

Feat/admin data table#310

Merged
kryputh merged 3 commits into
Stellar-Mail:mainfrom
Unclebaffa:feat/admin-data-table
Jun 16, 2026
Merged

Feat/admin data table#310
kryputh merged 3 commits into
Stellar-Mail:mainfrom
Unclebaffa:feat/admin-data-table

Conversation

@Unclebaffa

Copy link
Copy Markdown
Contributor

closes #202

I have successfully built and integrated the reusable AdminDataTable component and enhanced the Demo Admin Dashboard with sortable tables across all categories.

Summary of Accomplishments
Generic Table Component: Designed and implemented AdminDataTable supporting custom column configuration, headers with sort indicators (ArrowUpDown, ChevronUp, ChevronDown), row clicks, active states, and custom sorting overrides.
Dashboard Integration:
Replaced basic HTML tables in the Accounts and Mail tabs with AdminDataTable.
Converted the list-based Audit view into a sortable AdminDataTable.
Added two new tabs (Attachments and Events) with custom sortable tables representing active mail attachments and scheduled network actions.
Preset Scenario Updates: Added type definitions and mock data (attachments & events) to all three protocol preset scenarios in fixtures/presets.ts.
Unit Tests:
Wrote comprehensive unit tests for sortData helper logic in AdminDataTable.test.ts.
Updated presets.test.ts to assert that all scenario-specific attachments and events conform to strict schema and safety standards.
Verified that all 41 test cases pass cleanly.

@kryputh

kryputh commented Jun 16, 2026

Copy link
Copy Markdown
Collaborator

Fix conflict

@Unclebaffa

Copy link
Copy Markdown
Contributor Author

Resolved Conflict

@kryputh kryputh merged commit ff6e32e into Stellar-Mail:main Jun 16, 2026
@grantfox-oss grantfox-oss Bot mentioned this pull request Jun 16, 2026
5 tasks
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.

Create admin data table primitive

2 participants