-
Notifications
You must be signed in to change notification settings - Fork 2
[PLAT-9142] Sonar issue cleanup #832
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
Changes from all commits
0870214
9fcfa74
eabade2
8bef72a
779cfd4
89efd3d
8f2d596
a4b8ae1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,13 +16,16 @@ | |
| ></script> | ||
| </head> | ||
| <body> | ||
| <vertex-viewer id="viewer" class="viewer"> | ||
| <vertex-viewer-toolbar data-viewer="viewer"> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we not need the toolbar anymore?
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nope! I've updated this to show the controls outside the viewer - the toolbar was really only used here for positioning, but taking a look at the example, these felt like they fit outside the viewer better anyway
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Cool! I like how it looks now. |
||
| <div class="app"> | ||
| <vertex-viewer id="viewer" class="viewer"> | ||
| </vertex-viewer> | ||
| <div class="inputs"> | ||
| <label class="invisible" for="metadata-key">Metadata Key</label> | ||
| <input id="metadata-key" type="text" placeholder="Metadata Key" /> | ||
| <label class="invisible" for="metadata-value">Metadata Value</label> | ||
| <input id="metadata-value" type="text" placeholder="Metadata Value" /> | ||
| <button id="search-btn">Search</button> | ||
| <button id="clear-btn">Clear</button> | ||
| </vertex-viewer-toolbar> | ||
| </vertex-viewer> | ||
| </div> | ||
| </body> | ||
| </html> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,33 @@ | ||
| html, body { | ||
| width: 100%; | ||
| height: 100%; | ||
| margin: 0; | ||
| padding: 0; | ||
| } | ||
|
|
||
| .app { | ||
| width: 100%; | ||
| height: 100%; | ||
| padding: 0.5rem; | ||
| box-sizing: border-box; | ||
| display: flex; | ||
| flex-direction: column; | ||
| } | ||
|
|
||
| .viewer { | ||
| display: block; | ||
| width: 500px; | ||
| height: 500px; | ||
| width: 100%; | ||
| height: 100%; | ||
| grid-column: 1 / 5; | ||
| } | ||
|
|
||
| .inputs { | ||
| display: flex; | ||
| gap: 1rem; | ||
| align-items: center; | ||
| justify-content: center; | ||
| } | ||
|
|
||
| .invisible { | ||
| position: absolute; | ||
| visibility: hidden; | ||
| } |
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.
probably should have noticed and added this when I upgraded Lerna a bit ago
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.
Definitely an easy one to miss! The
yarn installcommands don't often get modified in PRs, so Sonar wasn't adding warnings to PRs frequently, and since the failure shows up post-merge, I've been missing this one as well 😅