Skip to content

Migrate ChallengeDialog story - #49135

Merged
sanchitmalhotra126 merged 3 commits into
stagingfrom
sanchit/storybook/challenge
Nov 16, 2022
Merged

Migrate ChallengeDialog story#49135
sanchitmalhotra126 merged 3 commits into
stagingfrom
sanchit/storybook/challenge

Conversation

@sanchitmalhotra126

Copy link
Copy Markdown
Contributor

Migrates the ChallengeDialog.story.jsx file

Screen Shot 2022-11-14 at 5 28 59 PM

Links

https://codedotorg.atlassian.net/browse/PP-186

Testing story

Deployment strategy

Follow-up work

Privacy

Security

Caching

PR Checklist:

  • Tests provide adequate coverage
  • Privacy and Security impacts have been assessed
  • Code is well-commented
  • New features are translatable or updates will not break translations
  • Relevant documentation has been added or updated
  • User impact is well-understood and desirable
  • Pull Request is labeled appropriately
  • Follow-up work items (including potential tech debt) are tracked and linked

@sanchitmalhotra126
sanchitmalhotra126 requested review from a team and maddiedierker November 14, 2022 23:30

export const Starting_Dialog = Template.bind({});
Starting_Dialog.args = {
hideBackdrop: true,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Maybe out of scope, but could we dedupe some of these props? I think either of the approaches discussed here would work:

#49129 (comment)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Good call, I'll pull the common ones in

isIntro: true
};

export const Starting_Dialog_with_Large_Avatar = Template.bind({});

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nit: are underscores a norm?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Oh hmm, I thought I had seen underscores in an example but looking again I may have been looking at something else. I'll remove to be consistent

@bencodeorg bencodeorg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Oh dang, thought there were more shared props. LGTM!

@sanchitmalhotra126
sanchitmalhotra126 merged commit 262905b into staging Nov 16, 2022
@sanchitmalhotra126
sanchitmalhotra126 deleted the sanchit/storybook/challenge branch November 16, 2022 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants