-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Sections in table #4210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Sections in table #4210
Changes from all commits
Commits
Show all changes
97 commits
Select commit
Hold shift + click to select a range
c3b9fe5
first stab at adding ListViewSection
LFDanLu ab65acb
Merge branch 'main' of github.com:adobe/react-spectrum into sections_…
LFDanLu 13fb063
rough modifications to TableBody to accept Sections
LFDanLu f86cd72
rough implementation of section in tableview
LFDanLu 5d822e2
Merge branch 'main' of github.com:adobe/react-spectrum into sections_…
LFDanLu 3b9eb67
update keyboard delegate and add some initial structure
LFDanLu 01a06d1
refactor ListViewSection to work with multiple row groups
LFDanLu cf184bc
updating styles for section headers and first/last listview items
LFDanLu bdde904
tentative refactor to listview css to unify lists with section and wi…
LFDanLu 741c77d
revert style changes
LFDanLu 808f737
adding more stories and trying to add padding after section
LFDanLu a13989d
some additional brain storming for adding spacing between sections an…
LFDanLu 62d0b6c
add useTableSection
LFDanLu b2f19df
Adding styles to table headers
LFDanLu cfd3529
Adding section tracking to GridCollection + colspan row gridnodes
LFDanLu 9dd8ef9
fix sections when table selection is enabled
LFDanLu ecdb1d4
debugging table layout persisted keys
LFDanLu 7e8b19c
updated buildBody, debugging odd rerendering
LFDanLu e972a30
fixing toggling selection for tables with sections
LFDanLu 9737e70
Merge branch 'main' of github.com:adobe/react-spectrum into sections_…
LFDanLu 6b00dae
Add TableSection and cleanup some todos
LFDanLu 9185ed8
using pred to avoid focusing sections via keyboard
LFDanLu ec61a57
tentative change to make section announce alongside the row headers
LFDanLu ede57de
remove extraneous dep
LFDanLu 152ae9d
Making Table section title required and warning if row doesnt belong …
LFDanLu dbfbc5c
make title only required for spectrum table section
LFDanLu a169887
making ListView and ListBox warn if row isnt in section if sections e…
LFDanLu 591f136
fix tests and lint
LFDanLu 98a9335
Revert "tentative change to make section announce alongside the row h…
LFDanLu 2cc10df
Adding section announcement for grid sections for VoiceOver
LFDanLu 1e9960e
Fix section header width when there is horizontal scrolling
LFDanLu f76b73a
hacky sticky section header
LFDanLu 1b82666
Merge branch 'main' of github.com:adobe/react-spectrum into sections_…
LFDanLu c65448b
fix lint
LFDanLu 866e132
update how we apply sticky to section header
LFDanLu 62c2500
intial working styles for listview sections
LFDanLu 1c58e91
partial move into shared style
LFDanLu 5728fb1
just use keymap to figure out the row index for listview
LFDanLu 52df49e
fix focus ring indicator rounded corners for sections
LFDanLu 08a4762
Fix chromatic stories
LFDanLu dbb9af3
fixing tests and updating TableBody section check
LFDanLu c232741
moving emphasized styles to top level
LFDanLu 9320f56
clean up some todos
LFDanLu 0c9a331
removing listview specific changes
LFDanLu 6d35df9
Merge branch 'main' of github.com:adobe/react-spectrum into sections_…
LFDanLu 9849944
addressing review comments and fix persistedIndex increment
LFDanLu 8c1d66d
revert change with persist index change
LFDanLu 22e8fbc
adding basic tests before collection refactor
LFDanLu 01f47d7
Merge branch 'main' of github.com:adobe/react-spectrum into sections_…
LFDanLu 047aa97
refactoring collection and layout so that we generate a section heade…
LFDanLu 65e47f1
fixes to table collection refactor
LFDanLu a987c70
cleanup
LFDanLu c042720
fix keyboard navigation and persisted key index calc after refactor
LFDanLu 734b17e
fix End/PageUp/tab into table, calculated rowIndex and investiagtion …
LFDanLu 7d1732d
merge section and row group cases in addVisibleLayouts and fix bugs
LFDanLu 9af598b
add more tests and fix more bugs
LFDanLu ab92e48
fix logic
LFDanLu 4b0fd4a
fix test
LFDanLu 36a73a3
Merge branch 'main' of github.com:adobe/react-spectrum into sections_…
LFDanLu ca029a9
cherry pick Object assign fix from GridCollection refactor
LFDanLu 6f60708
refactor GridCollection so it accepts just the top level nodes and di…
LFDanLu 735b48a
Merge branch 'main' of github.com:adobe/react-spectrum into sections_…
LFDanLu 14c4fef
updating section custom announcement so it announces number of rows
LFDanLu dbc9834
add test for section announcement
LFDanLu 2ef6380
add chromatic stories
LFDanLu 3c9901b
port over listview DnD section fixes and update for tableview
LFDanLu 97ef9b2
fix drop indicator for last row in section
LFDanLu d013ef3
commiting first pass of fixing DnD issues
LFDanLu dc7fa56
changing type of section row header from row to header
LFDanLu b23c3a8
refactor to remove sections prop from TableCollection
LFDanLu 8e557f7
update section header color during root drop
LFDanLu fd586d1
testing aria-posinset instead of aria-rowindex
LFDanLu f409365
Revert "testing aria-posinset instead of aria-rowindex"
LFDanLu d828d0e
fix Table section DnD story
LFDanLu b63add7
fixing useTreeData remove stale items state usage
LFDanLu 76bcda5
adding TableView sections DnD tests
LFDanLu 6edb61c
cleanup and moving types around
LFDanLu 0750def
Merge branch 'main' of github.com:adobe/react-spectrum into sections_…
LFDanLu f00cfb5
updating controls for loadingState
LFDanLu 36b6448
fixing stories
LFDanLu cbd6a31
fixing lint
LFDanLu 72ec02b
fix ListBox test
LFDanLu 02a27b7
Merge branch 'main' into sections_in_table
LFDanLu 96f4921
tentative support for dropping on empty sections
LFDanLu 4b7e356
fix some section dnd bugs
LFDanLu 98e6faf
fix crash and support mouse dnd into empty section
LFDanLu fcf0c6e
refactor so dnd specific key navigation is obtained via ListLayout
LFDanLu f500a0c
fix section drop indicator announcement and navigation between empty …
LFDanLu ddb4bd8
updating stories with stopgap solution for updating .value
LFDanLu 8544edb
fix case where you could mistakenly drop on before/after the section
LFDanLu 481cd43
Merge branch 'main' of github.com:adobe/react-spectrum into sections_…
LFDanLu 6b412f3
adding tests and some clean up
LFDanLu 197d3e5
Merge branch 'main' into sections_in_table
LFDanLu 8358184
cleanup and story updates for mobile from testing
LFDanLu 3d38bea
one last comment to clean up
LFDanLu 066bf93
update announcements for positions before/after section headers
LFDanLu 61712d2
fix test
LFDanLu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update to useDropIndicator api, see discussion here for background.