Skip to content

#309 useSortableData's clearSort is exposed but never invoked by Anch…#401

Open
felladaniel36-hash wants to merge 1 commit into
AnchorNet-Org:mainfrom
felladaniel36-hash:#309-useSortableData's-clearSort-is-exposed-but-never-invoked-by-AnchorTable,-SettlementTable,-or-PoolTable-FIX
Open

#309 useSortableData's clearSort is exposed but never invoked by Anch…#401
felladaniel36-hash wants to merge 1 commit into
AnchorNet-Org:mainfrom
felladaniel36-hash:#309-useSortableData's-clearSort-is-exposed-but-never-invoked-by-AnchorTable,-SettlementTable,-or-PoolTable-FIX

Conversation

@felladaniel36-hash

Copy link
Copy Markdown

Description

Adds a consistent Reset sort control to AnchorTable, SettlementTable, and PoolTable.

When a user activates sorting on any table column, a Reset sort button appears in the active column header. Selecting it uses the existing useSortableData.clearSort() method to restore the table’s original unsorted row order in one action.

The existing header-click sorting cycle remains unchanged:

ascending → descending → unsorted

Also added:

  • Reset-sort coverage for all three tables.
  • Shared SortableHeader coverage for the reset callback.
  • README documentation.
  • A CHANGELOG.md entry under ## [0.10.0].

Closes the sortable-table reset issue.

Checklist

  • I added a CHANGELOG.md entry under the next ## [x.y.z] section.
  • Tests added/updated for the change.

CLOSE #309

…voked by AnchorTable, SettlementTable, or PoolTable FIXED
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.

useSortableData's clearSort is exposed but never invoked by AnchorTable, SettlementTable, or PoolTable

1 participant