mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-28 23:56:13 +00:00
* feat: added context redirection from panels to explorer pages * feat: added graph coordinate - context redirection * feat: fixed tooltip overlapping the button * feat: code fix * feat: removed unneccesary comment * feat: added logic to resolve variables * feat: added better logic to handle specific and panel redirection using query * feat: added multi query support by datasource to panels redirction * feat: fixing createbutton display logic * feat: added logic and ui for specific line redirection * feat: added logic to compute query with groupby * feat: code fix and added aysnc await * feat: added context redirection to fullview and edit view panels (#7252) * feat: added context redirection to fullview and edit view panels * feat: restricted redirection query to have only one query * feat: added is buttonEnabled logic of graphs * feat: code cleanup * feat: for one query removed the queryname from onclick button * feat: removed redirection option from action menu * feat: redesign the format api flow to avoid delay in clickbutton appearance * feat: updated the create filter logic for groupBys * feat: handled the error on format api
422 lines
7.5 KiB
SCSS
422 lines
7.5 KiB
SCSS
.fullscreen-grid-container {
|
|
overflow: auto;
|
|
margin: 8px -8px;
|
|
margin-right: 0;
|
|
|
|
.react-grid-layout {
|
|
border: none !important;
|
|
margin-top: 0;
|
|
|
|
.row-panel {
|
|
border-radius: 4px;
|
|
background: rgba(18, 19, 23, 0.4);
|
|
padding: 8px;
|
|
display: flex;
|
|
gap: 6px;
|
|
align-items: center;
|
|
|
|
.settings-icon {
|
|
color: var(--bg-vanilla-400);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.row-icon {
|
|
color: var(--bg-vanilla-400);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.grip {
|
|
cursor: move;
|
|
}
|
|
|
|
.section-title {
|
|
color: var(--bg-vanilla-400);
|
|
font-family: Inter;
|
|
font-size: 14px;
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
line-height: 20px; /* 142.857% */
|
|
letter-spacing: -0.07px;
|
|
}
|
|
}
|
|
|
|
.widget-graph-container {
|
|
&.graph {
|
|
height: 100%;
|
|
}
|
|
}
|
|
}
|
|
|
|
.footer {
|
|
display: flex;
|
|
flex-direction: column;
|
|
position: fixed;
|
|
bottom: 0;
|
|
width: -webkit-fill-available;
|
|
|
|
.locked-text {
|
|
align-self: flex-end;
|
|
width: 80px;
|
|
border: none;
|
|
cursor: default;
|
|
display: inline-flex;
|
|
padding: 4px 6px;
|
|
align-items: center;
|
|
gap: 4px;
|
|
border-radius: 4px 0px 0px 0px;
|
|
background: var(--bg-sakura-500);
|
|
backdrop-filter: blur(6px);
|
|
color: var(--bg-ink-500);
|
|
font-family: 'Space Mono';
|
|
font-size: 12px;
|
|
font-style: normal;
|
|
font-weight: 500;
|
|
line-height: 16px; /* 133.333% */
|
|
letter-spacing: 0.48px;
|
|
text-transform: uppercase;
|
|
|
|
.ant-btn-icon {
|
|
margin-inline-end: 0px;
|
|
}
|
|
}
|
|
|
|
.locked-bar {
|
|
background: var(--bg-sakura-500);
|
|
height: 6px;
|
|
width: 100%;
|
|
}
|
|
}
|
|
}
|
|
|
|
.widget-graph-container {
|
|
height: 100%;
|
|
|
|
&.graph {
|
|
height: calc(100% - 30px);
|
|
}
|
|
}
|
|
|
|
.widget-full-view {
|
|
.ant-modal-content {
|
|
background-color: var(--bg-ink-400);
|
|
|
|
.ant-modal-header {
|
|
background-color: var(--bg-ink-400);
|
|
}
|
|
}
|
|
}
|
|
|
|
.error-message-container {
|
|
display: flex;
|
|
width: 100%;
|
|
height: 100%;
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding-top: 0;
|
|
padding-bottom: 32px;
|
|
}
|
|
|
|
.row-settings {
|
|
.ant-popover-inner {
|
|
width: 191px;
|
|
flex-shrink: 0;
|
|
border-radius: 4px;
|
|
border: 1px solid var(--bg-slate-400);
|
|
background: linear-gradient(
|
|
139deg,
|
|
rgba(18, 19, 23, 0.8) 0%,
|
|
rgba(18, 19, 23, 0.9) 98.68%
|
|
);
|
|
box-shadow: 4px 10px 16px 2px rgba(0, 0, 0, 0.2);
|
|
backdrop-filter: blur(20px);
|
|
padding: 0px;
|
|
|
|
.menu-content {
|
|
.section-1 {
|
|
.rename-btn,
|
|
.new-panel-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
color: var(--bg-vanilla-400);
|
|
font-family: Inter;
|
|
font-size: 14px;
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
line-height: normal;
|
|
letter-spacing: 0.14px;
|
|
padding: 14px;
|
|
width: 100%;
|
|
.ant-btn-icon {
|
|
margin-inline-end: 0px;
|
|
}
|
|
}
|
|
|
|
.rename-btn {
|
|
padding-bottom: 10px;
|
|
}
|
|
}
|
|
|
|
.section-2 {
|
|
border-top: 1px solid #1d212d;
|
|
.remove-section {
|
|
display: flex;
|
|
align-items: center;
|
|
width: 100%;
|
|
gap: 6px;
|
|
color: var(--bg-vanilla-400);
|
|
font-family: Inter;
|
|
font-size: 14px;
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
line-height: normal;
|
|
letter-spacing: 0.14px;
|
|
padding: 10px 18px 12px 14px;
|
|
color: var(--bg-cherry-400);
|
|
font-family: Inter;
|
|
font-size: 14px;
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
line-height: normal;
|
|
letter-spacing: 0.14px;
|
|
.ant-btn-icon {
|
|
margin-inline-end: 0px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.rename-section {
|
|
.ant-modal-content {
|
|
width: 384px;
|
|
height: auto;
|
|
flex-shrink: 0;
|
|
border-radius: 4px;
|
|
border: 1px solid var(--bg-slate-500);
|
|
background: var(--Ink-400, #121317);
|
|
box-shadow: 0px -4px 16px 2px rgba(0, 0, 0, 0.2);
|
|
padding: 0px;
|
|
|
|
.ant-modal-header {
|
|
padding: 16px;
|
|
background: var(--bg-ink-400);
|
|
border-bottom: 1px solid var(--bg-slate-500);
|
|
margin-bottom: 0px;
|
|
|
|
.ant-modal-title {
|
|
color: var(--bg-vanilla-100);
|
|
font-family: Inter;
|
|
font-size: 14px;
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
line-height: 20px; /* 142.857% */
|
|
}
|
|
}
|
|
|
|
.ant-modal-body {
|
|
padding: 12px 16px 16px 16px;
|
|
|
|
.typography {
|
|
color: var(--bg-vanilla-100);
|
|
font-family: Inter;
|
|
font-size: 14px;
|
|
font-style: normal;
|
|
font-weight: 500;
|
|
line-height: 20px; /* 142.857% */
|
|
}
|
|
|
|
.ant-form-item {
|
|
margin-bottom: 0px;
|
|
|
|
.ant-input {
|
|
margin-top: 8px;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.action-btns {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-direction: row-reverse;
|
|
gap: 12px;
|
|
|
|
.ok-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
color: var(--bg-vanilla-100);
|
|
font-family: Inter;
|
|
font-size: 12px;
|
|
font-style: normal;
|
|
font-weight: 500;
|
|
line-height: 24px; /* 200% */
|
|
display: flex;
|
|
width: 140px;
|
|
padding: 4px 8px;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 4px;
|
|
border-radius: 2px;
|
|
background: var(--bg-robin-500);
|
|
|
|
.ant-btn-icon {
|
|
margin-inline-end: 0px;
|
|
}
|
|
}
|
|
|
|
.cancel-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
color: var(--bg-vanilla-400);
|
|
font-family: Inter;
|
|
font-size: 12px;
|
|
font-style: normal;
|
|
font-weight: 500;
|
|
line-height: 24px; /* 200% */
|
|
display: flex;
|
|
padding: 4px 8px;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 4px;
|
|
border-radius: 2px;
|
|
background: var(--bg-slate-500);
|
|
|
|
.ant-btn-icon {
|
|
margin-inline-end: 0px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.view-onclick-show-button {
|
|
position: absolute;
|
|
background: var(--bg-vanilla-100);
|
|
border: 2px solid var(--bg-vanilla-300);
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
box-shadow: none;
|
|
list-style-type: none;
|
|
padding: 4px;
|
|
color: var(--bg-ink-100);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
overflow: auto;
|
|
max-height: 150px;
|
|
width: max-content;
|
|
max-width: 200px;
|
|
|
|
.menu-item {
|
|
cursor: pointer;
|
|
padding: 4px;
|
|
padding-right: 12px;
|
|
|
|
&:hover {
|
|
background-color: var(--bg-vanilla-200);
|
|
border-radius: 2px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.lightMode {
|
|
.fullscreen-grid-container {
|
|
.react-grid-layout {
|
|
.row-panel {
|
|
background: var(--bg-vanilla-200);
|
|
|
|
.settings-icon {
|
|
color: var(--bg-ink-400);
|
|
}
|
|
|
|
.row-icon {
|
|
color: var(--bg-ink-400);
|
|
}
|
|
|
|
.section-title {
|
|
color: var(--bg-ink-400);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.widget-full-view {
|
|
.ant-modal-content {
|
|
background-color: var(--bg-vanilla-100);
|
|
|
|
.ant-modal-header {
|
|
background-color: var(--bg-vanilla-100);
|
|
}
|
|
}
|
|
}
|
|
|
|
.row-settings {
|
|
.ant-popover-inner {
|
|
border: 1px solid var(--bg-vanilla-300);
|
|
background: var(--bg-vanilla-100);
|
|
|
|
.menu-content {
|
|
.section-1 {
|
|
.rename-btn {
|
|
color: var(--bg-ink-400);
|
|
}
|
|
}
|
|
|
|
.section-2 {
|
|
border-top: 1px solid var(--bg-vanilla-300);
|
|
.remove-section {
|
|
color: var(--bg-cherry-400);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.rename-section {
|
|
.ant-modal-content {
|
|
border: 1px solid var(--bg-vanilla-300);
|
|
background: var(--bg-vanilla-100);
|
|
|
|
.ant-modal-header {
|
|
background: var(--bg-vanilla-100);
|
|
border-bottom: 1px solid var(--bg-vanilla-300);
|
|
|
|
.ant-modal-title {
|
|
color: var(--bg-ink-300);
|
|
}
|
|
}
|
|
|
|
.ant-modal-body {
|
|
.typography {
|
|
color: var(--bg-ink-100);
|
|
}
|
|
|
|
.ant-form-item {
|
|
.action-btns {
|
|
.cancel-btn {
|
|
color: var(--bg-ink-300);
|
|
background: var(--bg-vanilla-300);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.view-onclick-show-button {
|
|
background: var(--bg-ink-400);
|
|
border-color: var(--bg-ink-300);
|
|
color: var(--bg-vanilla-100);
|
|
|
|
.menu-item {
|
|
&:hover {
|
|
background-color: var(--bg-ink-100);
|
|
}
|
|
}
|
|
}
|
|
}
|