Skip to content
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(sidepanel): introduce side panel component #11201

Merged
merged 54 commits into from
Feb 2, 2024

Conversation

lee-chase
Copy link
Member

@lee-chase lee-chase commented Dec 5, 2023

Contributes to: carbon-design-system/carbon-labs#16

Description

Very much a draft version of the SidePanel.

It is currently based on the branch clean_main.

It has a number of missing features

Questions:

  • Button set does not re-order when stacked. I am uncertain if the behavior is possible with Web components
  • Story knobs not working as expected even when changing stories. Not found a declaration form that is either succinct or correctly updates even between stories. Ideally it should be possible to declare many stories with a single template and different default knobs.

Review:

  • Feedback on the component produced so far would be useful, as it is the fist Web Component I have produced.

For feature parity with the React SidePanel the following are required

NOTES:

  • Storybooks feels a bit unwieldy for WebComponents, but that may just be use of V6 storybook.

@mattrosno
Copy link
Member

Added closes to PR body.

@jeffchew jeffchew changed the title Feat/cwc sidepanel feat(sidepanel): introduce side panel component Dec 6, 2023
@lee-chase
Copy link
Member Author

@annawen1 @ariellalgilmore I realise there are some conflicts to resolve, but would love some feedback on the WebComponent SidePanel implementation so far. Just want to make sure I'm not going in completely the wrong direction with my first WebComponent.

@ibmdotcom-bot
Copy link
Contributor

ibmdotcom-bot commented Jan 11, 2024

@ibmdotcom-bot
Copy link
Contributor

ibmdotcom-bot commented Jan 11, 2024

@ibmdotcom-bot
Copy link
Contributor

ibmdotcom-bot commented Jan 11, 2024

Copy link
Member

@ariellalgilmore ariellalgilmore left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a few comments... the biggest change might be switching from using id= to class=

Copy link
Member

@ariellalgilmore ariellalgilmore left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM code wise! not sure if we need a design review on this

@lee-chase
Copy link
Member Author

LGTM code wise! not sure if we need a design review on this

Should not need a design review, should happen in @carbon/ibm-products for the side panel component.

Copy link
Member

@annawen1 annawen1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can go ahead and merge this in!

@ariellalgilmore ariellalgilmore added the Ready to merge Label for the pull requests that are ready to merge label Feb 1, 2024
@kodiakhq kodiakhq bot merged commit c2c5bca into carbon-design-system:main Feb 2, 2024
12 of 19 checks passed
kennylam pushed a commit to kennylam/carbon-for-ibm-dotcom that referenced this pull request Jun 11, 2024
…#11201)

Contributes to: carbon-design-system/carbon-labs#16

### Description

Very much a draft version of the SidePanel. 

It is currently based on the branch `clean_main`.

It has a number of missing features 

Questions:
- Button set does not re-order when stacked. I am uncertain if the behavior is possible with Web components
- Story knobs not working as expected even when changing stories. Not found a declaration form that is either succinct or correctly updates even between stories. Ideally it should be possible to declare many stories with a single template and different default knobs.

Review:
- Feedback on the component produced so far would be useful, as it is the fist Web Component I have produced.

For feature parity with the React SidePanel the following are required
 - [ ] button set to re-order when stacked
 - [ ] Selector-initial-focus not functional
 - [ ] Add 2nd step story
 - [ ] Fix action bar refresh bug - this is a circular resize/scroll issue in reality the HTML needs a refactor to correctly use sticky
   but that involves changing the IBM Products code carbon-design-system/ibm-products#4065


NOTES: 
- Storybooks feels a bit unwieldy for WebComponents, but that may just be use of V6 storybook.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready to merge Label for the pull requests that are ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants