Skip to content

Fixing broken UI Storybook components' pages - #3455

Merged
sedghi merged 1 commit into
OHIF:masterfrom
brunoalvesdefaria:fix/ui-storybook-master
Jun 7, 2023
Merged

sedghi merged 1 commit into
OHIF:masterfrom
brunoalvesdefaria:fix/ui-storybook-master

Conversation

@brunoalvesdefaria

Copy link
Copy Markdown
Contributor

Context

Some components from storybook were broken on v3-stable branch.
Most of them due to cyclic dependencies, as almost all components were calling imports from an upper index.js file.

Changes & Results

The imports were changed to reference the components' path directly instead of importing everything from this upper level index.js file.

Testing

In order to test the changes, you will just need to run the storybook server.
To do so, follow the instructions in this README.md file.

Checklist

PR

  • My Pull Request title is descriptive, accurate and follows the
    semantic-release format and guidelines.

Code

  • My code has been well-documented (function documentation, inline comments,
    etc.)

Public Documentation Updates

  • The documentation page has been updated as necessary for any public API
    additions or removals.

Tested Environment

  • OS: Windows 11
  • Node version: 16.19.0
  • Browser: Microsoft Edge 113.0.1774.42

@netlify

netlify Bot commented Jun 7, 2023 •

Copy link
Copy Markdown

✅ Deploy Preview for ohif-dev canceled.

Name Link
🔨 Latest commit 73169ae
🔍 Latest deploy log https://app.netlify.com/sites/ohif-dev/deploys/64806d08bbe71300084683c4

@netlify

netlify Bot commented Jun 7, 2023 •

Copy link
Copy Markdown

✅ Deploy Preview for ohif-platform-docs ready!

Name Link
🔨 Latest commit 73169ae
🔍 Latest deploy log https://app.netlify.com/sites/ohif-platform-docs/deploys/64806d0877d9fa0008d92bb8
😎 Deploy Preview https://deploy-preview-3455--ohif-platform-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@codecov

codecov Bot commented Jun 7, 2023

Copy link
Copy Markdown

Codecov Report

Merging #3455 (73169ae) into master (eb15505) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #3455   +/-   ##
=======================================
  Coverage   38.27%   38.27%           
=======================================
  Files          82       82           
  Lines        1348     1348           
  Branches      303      303           
=======================================
  Hits          516      516           
  Misses        666      666           
  Partials      166      166           

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ffaffbd...73169ae. Read the comment docs.

@sedghi sedghi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Great great PR, thanks! @lscoder you need this fix for your work

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.

2 participants