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

test(panel, flow-item): add scale control to simple stories #9747

Conversation

DitwanP
Copy link
Contributor

@DitwanP DitwanP commented Jul 9, 2024

Related Issue: #6980

Summary

Adding scale control to the simple stories on storybook

@github-actions github-actions bot added the enhancement Issues tied to a new feature or request. label Jul 9, 2024
@DitwanP DitwanP added the pr ready for visual snapshots Adding this label will run visual snapshot testing. label Jul 9, 2024
@DitwanP DitwanP marked this pull request as ready for review July 9, 2024 19:23
@DitwanP DitwanP requested a review from a team as a code owner July 9, 2024 19:23
Copy link
Member

@driskull driskull left a comment

Choose a reason for hiding this comment

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

👍 Looks good @DitwanP

Copy link
Member

@geospatialem geospatialem left a comment

Choose a reason for hiding this comment

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

@DitwanP Since the change relates to Storybook and not the code base, could you modify the convention type from feat to chore or another type as you see fit?

@driskull
Copy link
Member

driskull commented Jul 9, 2024

It should probably be test(panel, flow-item): add scale control to simple stories #9747

@DitwanP DitwanP changed the title feat(panel, flow-item): add scale control to simple stories test(panel, flow-item): add scale control to simple stories Jul 9, 2024
@DitwanP DitwanP merged commit 3319135 into dev Jul 9, 2024
11 checks passed
@DitwanP DitwanP deleted the dit13711/flowItem-and-panel-add-control-to-storybook-for-new-scale-prop branch July 9, 2024 20:55
@github-actions github-actions bot added this to the 2024-07-30 - Jul Release milestone Jul 9, 2024
benelan added a commit that referenced this pull request Jul 11, 2024
…-monorepo

* origin/dev: (104 commits)
  test(panel, flow-item): add scale control to simple stories (#9747)
  chore: release next
  feat(panel, flow-item): add scale property (#9730)
  chore: release next
  fix(segmented-control): Make check state update correctly (#9733)
  chore(date-picker): add messages for select menu label (#9724)
  chore: release next
  feat(icon): type icon names (#9650)
  chore(date-picker): add wide month name for `en-CA` locale (#9723)
  chore: release next
  fix(block-section): apply missing CSS class to start/end icon (#9688)
  chore: release next
  fix(flow-item): set closed property to true when internal panel is closed (#9715)
  chore(linting): enable stylelint's length-zero-no-unit rule (#9124)
  chore: release next
  fix: fix issue in Firefox where disabled elements were incorrectly enabled when a sibling was enabled (#9710)
  ci(release-please): use default label to identify PRs (#9708)
  build: update browserslist db (#9637)
  build(deps): update dependency eslint-plugin-jsdoc to v48.4.0 (#9696)
  docs: update component READMEs (#9704)
  ...
@driskull
Copy link
Member

@DitwanP seeing the following TS errors on these two stories:

  • Property 'scale' does not exist on type 'FlowItemStoryArgs'.
  • Property 'scale' does not exist on type 'PanelStoryArgs'.

can you open a PR to fix?

Scale should be added here:

 interface PanelStoryArgs
  extends Pick<
    Panel,
    "closed" | "disabled" | "closable" | "collapsed" | "collapsible" | "collapseDirection" | "loading"
  > {
  heightScale: string;
}

Can you make sure that your IDE is reporting the error?

benelan added a commit that referenced this pull request Jul 15, 2024
…-to-monorepo

* origin/dev: (206 commits)
  fix(tile): center align slot's text when alignment is equal to center (#9773)
  build: regenerate package lock due to build errors (#9774)
  build(deps): update dependency @floating-ui/dom to v1.6.7 (#9766)
  chore(common-tests): add themed test helper (#9763)
  chore: release next
  fix(shell): update shell to correctly position calcite shell panel at shell's bottom (#9748)
  chore: release next
  fix(tile): center align contentTop and contentBottom slots when alignment prop equals "center" (#9732)
  chore: release next
  chore(tree-item): fix mutable warning `indeterminate` prop (#9760)
  fix(panel, flow-item): fix footer-padding CSS prop regression (#9757)
  build(deps): update angular monorepo to v18 (major) (#9587)
  chore: release next
  Chore: remove component usage files (#9052)
  fix(input-number): restore decimal input mode default (#9741)
  test(panel, flow-item): add scale control to simple stories (#9747)
  chore: release next
  feat(panel, flow-item): add scale property (#9730)
  chore: release next
  fix(segmented-control): Make check state update correctly (#9733)
  ...
calcite-admin pushed a commit that referenced this pull request Jul 30, 2024
**Related Issue:** #6980 

## Summary
Adding scale control to the simple stories on storybook
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Issues tied to a new feature or request. pr ready for visual snapshots Adding this label will run visual snapshot testing.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants