-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: dashboard widget edit page design revamp (#4946)
* feat: dashboard edit page base setup * feat: right container design revamp * feat: alerts and thresholds changes right container * feat: right container * feat: fix graph styles * fix: some edits for dashboard edit page
- Loading branch information
1 parent
2e5266a
commit c32cf7a
Showing
28 changed files
with
1,018 additions
and
435 deletions.
There are no files selected for viewing
31 changes: 31 additions & 0 deletions
31
frontend/src/components/TimePreferenceDropDown/TimePreference.styles.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
.time-selection-menu { | ||
} | ||
|
||
.time-selection-target { | ||
display: flex; | ||
height: 32px; | ||
padding: 6px 6px 6px 8px; | ||
justify-content: space-between; | ||
align-items: center; | ||
gap: 4px; | ||
align-self: stretch; | ||
border-radius: 2px; | ||
border: 1px solid var(--Slate-400, #1d212d); | ||
background: var(--Ink-300, #16181d); | ||
box-shadow: none; | ||
|
||
.button-selected-text { | ||
display: flex; | ||
align-items: center; | ||
gap: 6px; | ||
} | ||
|
||
.selected-value { | ||
color: var(--Vanilla-100, #fff); | ||
font-family: Inter; | ||
font-size: 12px; | ||
font-style: normal; | ||
font-weight: 400; | ||
line-height: 16px; /* 133.333% */ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
frontend/src/container/NewWidget/LeftContainer/LeftContainer.styles.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
.query-section-left-container { | ||
border: none; | ||
border-top: 1px solid var(--Slate-400, #1d212d); | ||
background: var(--Ink-500, #0b0c0e); | ||
|
||
.ant-card-body { | ||
padding: 0px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 3 additions & 17 deletions
20
frontend/src/container/NewWidget/LeftContainer/QueryTypeTag.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
frontend/src/container/NewWidget/LeftContainer/WidgetGraph/WidgetGraph.styles.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
.widget-graph { | ||
border: none; | ||
background-color: unset; | ||
background-image: radial-gradient(var(--bg-slate-400) 1px, transparent 0); | ||
background-size: 20px 20px; | ||
padding: 16px; | ||
|
||
.header { | ||
display: flex; | ||
align-items: center; | ||
justify-content: space-between; | ||
|
||
.plot-tag { | ||
display: inline-flex; | ||
padding: 4px 4px 4px 6px; | ||
align-items: center; | ||
gap: 4px; | ||
border-radius: 4px; | ||
background: var(--Slate-400, #1d212d); | ||
backdrop-filter: blur(6px); | ||
width: fit-content; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.