-
Notifications
You must be signed in to change notification settings - Fork 188
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
feat(compass-crud): allows nested elements to also expand in steps #6009
Merged
Merged
Changes from 10 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
b2000d4
feat: allows nested elements to also expand in steps
himanshusinghs b4b7719
chore: reduces paddingTop on 'Show more' toggle for nested elements
himanshusinghs cb4f544
chore: removes ElementEvents listener from Document renderer
himanshusinghs 4c916c7
chore: take into account expanded state before emiting event
himanshusinghs 73506e1
chore: emit VisibleElementsChanged whenever an action happens which c…
himanshusinghs 0854af1
chore: fix compass components tests
himanshusinghs ea98771
chore: align design for show more toggle as per discussion
himanshusinghs c319951
chore: restore test-id for e2e tests
himanshusinghs 0b5a7e4
Merge remote-tracking branch 'origin/main' into feat/nested-elements-…
himanshusinghs 6f42977
Merge branch 'main' into feat/nested-elements-step-expansion
himanshusinghs 50857ef
Merge remote-tracking branch 'origin/main' into feat/nested-elements-…
himanshusinghs 04e716b
chore: addresses PR feedback about design and isExpandable
himanshusinghs 69e779a
chore: fixes comment
himanshusinghs bcb6402
Merge remote-tracking branch 'origin/main' into feat/nested-elements-…
himanshusinghs 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 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 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 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
2 changes: 1 addition & 1 deletion
2
packages/compass-components/src/components/document-list/index.ts
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
export { default as DocumentActionsGroup } from './document-actions-group'; | ||
export { default as DocumentFieldsToggleGroup } from './document-fields-toggle-group'; | ||
export { default as VisibleFieldsToggle } from './visible-field-toggle'; | ||
export { default as Document } from './document'; | ||
export { default as DocumentEditActionsFooter } from './document-edit-actions-footer'; |
Oops, something went wrong.
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.
This is existing functionality, but I figured I'd bring it up here, no action needed. A small UX improvement here for folks with lots of fields in their documents could be to adjust the scroll position when they click to hide a lot of fields to the relative scroll height after the fields are hidden. Currently it's easy to lose a document if it's not the last document and you hide a bunch of fields.
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.
Yea I noticed this after I implemented virtual list. I will see what I can do there to modify this behaviour a little.