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
8138 - Changed personalize columns design #8620
base: main
Are you sure you want to change the base?
Conversation
@yohannahbautista I didn't take a very deep look at this but one flag for now. I dont think we want to add this button to every data grid. a) Keep it as is in the ... menu when you click the personalize columns https://main-enterprise.demo.design.infor.com/components/datagrid/example-index.html then show the popup / modal from there But be default we dont want the button added automatically to everyones grid toolbars by default. 👍🏻 |
@tmcconechy @ericangeles |
@yohannahbautista yes for me thats what i would use so they can sort the items. SO if that works you can use it on the new popup. Basically the old popup should be changed to this new design. |
@yohannahbautista, I've merged the main to fix the build issue. Please update your branch. Thanks! |
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.
@yohannahbautista looks pretty good but a few things
- unneeded scrollbar
- Cant seem to drag the items (important)
- Cant seem to toggle the items (important)
- Seem not centered in the focus state
- The keyboard could also work (arrow up and down and enter/space to toggle)
@yohannahbautista design probably forgot to add the search and i didnt notice until now. People will be loosing functionality and this will probably come back. So overall this needs some fine tuning to make it perfect.
|
@yohannahbautista one comment from design "could add a bit of space between labels and switchbuttons (toggles) " We can come back with the search designs later. |
@yohannahbautista i crossed out fixed items in my list |
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.
Some issues found regarding the behavior of the personalized columns in http://localhost:4000/components/datagrid/example-grouped-headers.html:
- When a hidden column is dragged to other group, the following column is transferred instead
- Activity column here is not visible and was dragged from Column Group Two
- At the background, Quantity column is now at the Column Group One
- In the Modal, Quantity column is undraggable and is at Column Group Three
- Once Activity column is shown, it is now at Column Group Four
Screen.Recording.2024-05-17.at.6.37.07.PM.mov
- The parent group toggle also changes when only 1 column was changed - the rest are still in "on" state
Screen.Recording.2024-05-17.at.6.46.21.PM.mov
@tmcconechy @ericangeles @n-ace-ancog
There's no details on actual behavior on the new design of personalize columns in the figma, just how it looks. There's a discussion thread about it: https://jira.infor.com/browse/IDS-1616 so I based it off that. It acts as a "Toggle all in group" switch. If one column is disabled, the group toggles to off setting. If all the columns are enable, the group is toggled on. If you want to toggle on/off on all the columns in group, you can choose the group switch. |
@yohannahbautista even tho its not well defined in figma the pattern has been working for a while. At the simplest level its really just. Can i configure the columns in the grid with the dialog. A lot of this stuff is impossible to put in figma. With that functionality i think it should work like this:
Also issues remaining:
|
@tmcconechy, should the group header have an icon handle even if it's not draggable? |
Honestly, I'm confused by the Figma file containing this feature, or am I just looking at the wrong link? |
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.
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.
Some re-test issues found:
-
When moving a column coming from a non-consecutive group to other group, the column on the consecutive group has additional columns
Steps to replicate
-
Column Group toggle doesn't update when all of the columns under it are either off or on
- I think for this one, if all of the column has the same state, the group toggle will be updated as well
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.
Thanks @yohannahbautista Im going to call this one good for now. We can fix anything else later that comes up.
Thanks for your hardwork 💪🏻
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.
Modal is not centered in Responsive / Mobile view
https://8138-datagrid-personalize-enterprise.demo.design.infor.com/components/datagrid/example-grouped-headers.html
Explain the details for making this change. What existing problem does the pull request solve?
Changed personalize columns design
Related github/jira issue (required):
Closes #8138
Steps necessary to review your pull request (required):
Included in this Pull Request: