Feat/750 drawer component#4248
Conversation
|
View your branch deployment here: https://mi6.github.io/ic-ui-kit/branches/feat/750-drawer-component-final/web-components |
|
View your canary branch deployment here: https://mi6.github.io/ic-ui-kit/branches/feat/750-drawer-component-final/canary-web-components |
010610a to
8518b02
Compare
8518b02 to
7999f4f
Compare
GCHQ-Developer-299
left a comment
There was a problem hiding this comment.
Requesting changes about those autogenerated files
I think the drawer is looking good tho!
GCHQ-Developer-530
left a comment
There was a problem hiding this comment.
Looks really good - I ran the tests locally and they all pass, all the functionality looks good to me and all the styles match Figma (including HCM looking correct). Just a couple of tiny comments from me 😊
7999f4f to
91b98e9
Compare
This comment was marked as outdated.
This comment was marked as outdated.
4487249 to
1543ccf
Compare
|
@GCHQ-Developer-847 conflicts created by the recent readme fix merge, once those are fixed i'll give it a look :) |
1543ccf to
2ea922f
Compare
Thank you - sorted! |
2ea922f to
a5e2fd4
Compare
GCHQ-Developer-299
left a comment
There was a problem hiding this comment.
Other than the slotted content story on react needing fixing (and I don't think it's a drawer problem) i'm happy! Once that's fixed i'll approve
Also, it looks like you fixed the issue with dialogs and tabbing backwards on tabs! your storybook vs develop
…mponent Add React stories and Cypress tests with images for drawer component. . #750
…y for better clarity Small adjustments to dialog show / hide content story to make it clearer what the story is showing. . #750
…og component to use them Update dialog to use new focus trap helper functions (which make it easier to re-use focus trap functionality and will make move of drawer out of canary easier in future). Update tooltip to make it render correctly in both dialog and drawer components. Also add small changes from running a build. . #750
…ap helper functions Create drawer component and add focus trap helper functions - for use in drawer component, and also in case of any future components that may need focus trap, and to help for future move of drawer out of canary. . #750
a5e2fd4 to
9c93b27
Compare
Sorted 👍 The tabbing backwards issue still seems to be happening when I try it 😅 |
GCHQ-Developer-530
left a comment
There was a problem hiding this comment.
Checked through it all again and this looks great now! Amazing work 😊
Summary of the changes
Created drawer component.
Also added focus trap helper functions in both canary and core helpers.ts files, and updated dialog component to use them. I initially did this thinking they could both share functions from the same file but that's not possible with drawer being canary 😅 Decided to just do it anyway as the functions may be useful for future components that need focus traps, and it will also make moving the drawer out of canary easier in future.
I know there is an issue with VoiceOver stuttering when you open and close the drawer with the chevron button. Tried everything to fix this but no luck - if anyone has any ideas, let me know!
There are also a few small changes in other auto-generated files from running npm run build:all. Happy to remove these if we want.
Related issue
#750
Checklist
General
Testing
Accessibility
Resize/zoom behaviour
System modes
Testing content extremes