-
Notifications
You must be signed in to change notification settings - Fork 4
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: Add diagram cache stories and combine story objects #1549
Conversation
This moves most of the storybook objects into the `src/storybook` directory and makes them generally available. This greatly improves the readability of the stories and also reduces duplication.
A Storybook preview is available for commit 0eb1a2f. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1549 +/- ##
=======================================
Coverage 78.36% 78.36%
=======================================
Files 171 171
Lines 5778 5778
Branches 663 663
=======================================
Hits 4528 4528
Misses 1098 1098
Partials 152 152 ☔ View full report in Codecov by Sentry. |
This changes the previous usage of `ngIf` and `ngFor` to the new angular control flow introduced in angular v17. This not only improves code readability, but also allows better alignment and combination of conditions. To test this, we introduced diagram cache stories in #1549, which can be compared to the stories in this PR.
ae630ff
to
e294272
Compare
This changes the previous usage of `ngIf` and `ngFor` to the new angular control flow introduced in angular v17. This not only improves code readability, but also allows better alignment and combination of conditions. To test this, we introduced diagram cache stories in #1549, which can be compared to the stories in this PR.
frontend/src/app/projects/models/diagrams/model-diagram-dialog/model-diagram-dialog.docs.mdx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGMT in general, I've adjusted the comments on my own.
frontend/src/app/projects/models/diagrams/model-diagram-dialog/model-diagram-dialog.stories.ts
Outdated
Show resolved
Hide resolved
frontend/src/app/projects/models/diagrams/model-diagram-dialog/model-diagram-dialog.stories.ts
Outdated
Show resolved
Hide resolved
e294272
to
3f996da
Compare
Quality Gate passedIssues Measures |
This changes the previous usage of `ngIf` and `ngFor` to the new angular control flow introduced in angular v17. This not only improves code readability, but also allows better alignment and combination of conditions. To test this, we introduced diagram cache stories in #1549, which can be compared to the stories in this PR.
This adds several stories to the model diagram cache. It also moves most of the storybook objects into the
src/storybook
directory and makes them generally available, which greatly improves the readability of the stories and also reduces duplication.