-
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: Show code snipped in diagram cache dialog #1147
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1147 +/- ##
==========================================
+ Coverage 72.69% 72.72% +0.02%
==========================================
Files 162 162
Lines 5315 5320 +5
Branches 597 597
==========================================
+ Hits 3864 3869 +5
Misses 1320 1320
Partials 131 131 ☔ View full report in Codecov by Sentry. |
302a414
to
3da5b3a
Compare
3da5b3a
to
8c3503e
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
...nd/src/app/projects/models/diagrams/model-diagram-dialog/model-diagram-dialog.component.html
Outdated
Show resolved
Hide resolved
...nd/src/app/projects/models/diagrams/model-diagram-dialog/model-diagram-dialog.component.html
Outdated
Show resolved
Hide resolved
...nd/src/app/projects/models/diagrams/model-diagram-dialog/model-diagram-dialog.component.html
Outdated
Show resolved
Hide resolved
8c3503e
to
56c7855
Compare
In order for users to better understand how a personal access token can be helpful the codesnippet from the docs is displayed in the frontend.
c3d3fb2
to
4d390cf
Compare
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.
LGTM! (Only one important thing to adjust, i.e., properly handle the error case in the model ... dialog)
...agrams/model-diagram-dialog/model-diagram-code-block/model-diagram-code-block.component.html
Outdated
Show resolved
Hide resolved
...nd/src/app/projects/models/diagrams/model-diagram-dialog/model-diagram-dialog.component.html
Outdated
Show resolved
Hide resolved
...nd/src/app/projects/models/diagrams/model-diagram-dialog/model-diagram-dialog.component.html
Outdated
Show resolved
Hide resolved
...nd/src/app/projects/models/diagrams/model-diagram-dialog/model-diagram-dialog.component.html
Outdated
Show resolved
Hide resolved
...nd/src/app/projects/models/diagrams/model-diagram-dialog/model-diagram-dialog.component.html
Outdated
Show resolved
Hide resolved
...tend/src/app/projects/models/diagrams/model-diagram-dialog/model-diagram-dialog.component.ts
Outdated
Show resolved
Hide resolved
88943d3
to
24bdf70
Compare
The commits identifies the primary Git model of a model and adds the information to the code snippet of the diagram cache. In addition, there were some minor/internal changes: - The code snippet code was moved to a new component `ModelDiagramCacheBlockComponent`. - Syntax highlighting was added in the frontend. - A duplication of the code snippet declaration was removed. - Margins and paddings were updated, responsive design was added. - The colors of the code snippet were inverted (white text on dark background) - Information about token revocation was added to the dialog. - A confirmation message for clipboard-copy was added.
24bdf70
to
f45fba3
Compare
Quality Gate passedThe SonarCloud Quality Gate passed, but some issues were introduced. 1 New issue |
In order for users to better understand how a personal access token can be helpful the codesnippet from the docs is displayed in the frontend.
closes #598