diff --git a/frontend/app/components/BugFinder/SessionsMenu/SessionsMenu.js b/frontend/app/components/BugFinder/SessionsMenu/SessionsMenu.js index c86c7e573..8d3b4b174 100644 --- a/frontend/app/components/BugFinder/SessionsMenu/SessionsMenu.js +++ b/frontend/app/components/BugFinder/SessionsMenu/SessionsMenu.js @@ -26,11 +26,10 @@ function SessionsMenu(props) { showModal(, { right: true })}> Configure the percentage of sessions
to be captured, timezone and more.
} > Settings diff --git a/frontend/app/components/Dashboard/components/DashboardMetricSelection/DashboardMetricSelection.tsx b/frontend/app/components/Dashboard/components/DashboardMetricSelection/DashboardMetricSelection.tsx index e43dda278..969a3a575 100644 --- a/frontend/app/components/Dashboard/components/DashboardMetricSelection/DashboardMetricSelection.tsx +++ b/frontend/app/components/Dashboard/components/DashboardMetricSelection/DashboardMetricSelection.tsx @@ -84,7 +84,7 @@ function DashboardMetricSelection(props: IProps) {
-
+
{activeCategory && widgetCategories.map((category, index) => diff --git a/frontend/app/components/Dashboard/components/WidgetWrapper/WidgetWrapper.tsx b/frontend/app/components/Dashboard/components/WidgetWrapper/WidgetWrapper.tsx index 31a56fda3..ea4725d1f 100644 --- a/frontend/app/components/Dashboard/components/WidgetWrapper/WidgetWrapper.tsx +++ b/frontend/app/components/Dashboard/components/WidgetWrapper/WidgetWrapper.tsx @@ -113,7 +113,7 @@ function WidgetWrapper(props: Props) { > {addOverlay && }
{widget.name}
{isWidget && ( diff --git a/frontend/app/components/Dashboard/components/WidgetWrapper/widgetWrapper.css b/frontend/app/components/Dashboard/components/WidgetWrapper/widgetWrapper.css index 4b30fe19b..c9d6530ec 100644 --- a/frontend/app/components/Dashboard/components/WidgetWrapper/widgetWrapper.css +++ b/frontend/app/components/Dashboard/components/WidgetWrapper/widgetWrapper.css @@ -1,10 +1,10 @@ .drillDownMessage { position: absolute; - top: 35px; + top: 40px; left: 0; width: 100%; text-align: center; - font-size: 16px; + font-size: 12px; } .overlay { diff --git a/frontend/app/components/shared/SavedSearch/components/SavedSearchModal/SavedSearchModal.tsx b/frontend/app/components/shared/SavedSearch/components/SavedSearchModal/SavedSearchModal.tsx index 2052b904c..d84c298e5 100644 --- a/frontend/app/components/shared/SavedSearch/components/SavedSearchModal/SavedSearchModal.tsx +++ b/frontend/app/components/shared/SavedSearch/components/SavedSearchModal/SavedSearchModal.tsx @@ -23,12 +23,11 @@ function TooltipIcon(props: ITooltipIcon) {
props.onClick(e)} > {/* @ts-ignore - problem with react-tippy types TODO: remove after fix */} - +
) @@ -72,12 +71,12 @@ function SavedSearchModal(props: Props) { return (
-

Saved Search {props.list.size}

+

Saved Search {props.list.size}

- {props.list.size > 9 && ( -
+ {props.list.size > 1 && ( +
} onChange={(_, v) => setFilterQuery(v.value)} @@ -86,22 +85,22 @@ function SavedSearchModal(props: Props) {
)} {shownItems.map(item => ( -
onClick(item, e)}> - +
onClick(item, e)}> +
-
{item.name}
+
{item.name}
{item.isPublic && ( -
+
Team
)}
-
+
onEdit(item, e)} title="Rename" />
-
+
onDelete(item, e)} title="Delete" />
diff --git a/frontend/app/components/shared/SavedSearch/components/SavedSearchModal/savedSearchModal.css b/frontend/app/components/shared/SavedSearch/components/SavedSearchModal/savedSearchModal.css index 4049bbe32..608bb452f 100644 --- a/frontend/app/components/shared/SavedSearch/components/SavedSearchModal/savedSearchModal.css +++ b/frontend/app/components/shared/SavedSearch/components/SavedSearchModal/savedSearchModal.css @@ -1,19 +1,3 @@ -.secondary { - color: rgba(0, 0, 0, 0.6); -} - -.rowItem { - border-bottom: 1px solid rgba(0, 0, 0, 0.12); - - &:hover { - background-color: rgba(63, 81, 181, 0.08); - - & .iconCircle { - opacity: 1; - } - } -} - .iconContainer { background-color: #f3f3f3; border-radius: 100px; @@ -23,18 +7,8 @@ .iconCircle { border-radius: 50%; padding: 6px; - opacity: 0; &:hover { background: rgba(63, 81, 181, 0.08); } } - -.inputContainer { - padding: 0 2em; - width: 100%; -} - -.inputComponent { - width: 100%; -} diff --git a/frontend/app/components/ui/ItemMenu/ItemMenu.js b/frontend/app/components/ui/ItemMenu/ItemMenu.js index 422344377..b4b7170f7 100644 --- a/frontend/app/components/ui/ItemMenu/ItemMenu.js +++ b/frontend/app/components/ui/ItemMenu/ItemMenu.js @@ -20,7 +20,7 @@ export default class ItemMenu extends React.PureComponent { closeMenu = () => this.setState({ displayed: false }) render() { - const { items, label = "" } = this.props; + const { items, label = "", bold } = this.props; const { displayed } = this.state; const parentStyles = label ? 'rounded px-2 py-1 hover:bg-gray-light' : ''; @@ -33,7 +33,7 @@ export default class ItemMenu extends React.PureComponent { onClick={ this.toggleMenu } className={cn("flex items-center cursor-pointer select-none", parentStyles, { 'bg-gray-light' : displayed && label })} > - {label && {label}} + {label && {label}}
{ this.menuBtnRef = ref; } } className={cn("rounded-full flex items-center justify-center", { 'bg-gray-light' : displayed, "w-10 h-10" : !label })} @@ -53,6 +53,7 @@ export default class ItemMenu extends React.PureComponent { onClick={ !disabled ? this.onClick(onClick) : () => {} } role="menuitem" tabIndex="-1" + className="" > m.parentID === 1).map(m => m.id); this.pagesManager.sort((m1, m2) => { if (m1.time === m2.time) { if (m1.tp === "remove_node" && m2.tp !== "remove_node") { if (headChildrenIds.includes(m1.id)) { return -1; - } + } } else if (m2.tp === "remove_node" && m1.tp !== "remove_node") { if (headChildrenIds.includes(m2.id)) { return 1; @@ -175,7 +175,7 @@ export default class MessageDistributor extends StatedScreen { const stateToUpdate: {[key:string]: any} = { performanceChartData: this.performanceTrackManager.chartData, performanceAvaliability: this.performanceTrackManager.avaliability, - } + } LIST_NAMES.forEach(key => { stateToUpdate[ `${ key }List` ] = this.lists[ key ].list }) @@ -187,7 +187,7 @@ export default class MessageDistributor extends StatedScreen { this.windowNodeCounter.reset() if (this.activirtManager) { this.activirtManager.end() - update({ + update({ skipIntervals: this.activirtManager.list }) } @@ -444,4 +444,4 @@ export default class MessageDistributor extends StatedScreen { update(INITIAL_STATE); this.assistManager.clear(); } -} \ No newline at end of file +} diff --git a/frontend/app/player/MessageDistributor/managers/ReduxStateManager.ts b/frontend/app/player/MessageDistributor/managers/ReduxStateManager.ts index 727ae82ea..81638994e 100644 --- a/frontend/app/player/MessageDistributor/managers/ReduxStateManager.ts +++ b/frontend/app/player/MessageDistributor/managers/ReduxStateManager.ts @@ -29,9 +29,9 @@ // this.state = JSON.parse(JSON.stringify(action.state)); // Deep clone :( // } else { // action.diff.forEach(d => { -// try { +// try { // applyChange(this.state, d); -// } catch (e) { +// } catch (e) { // //console.warn("Deepdiff error") // } // }); @@ -41,7 +41,7 @@ // this.state = this.finalStates.pop(); // } else { // action.diff.forEach(d => { -// try { +// try { // revertChange(this.state, 1, d); // bad lib :( TODO: write our own diff // } catch (e) { // //console.warn("Deepdiff error") @@ -50,4 +50,4 @@ // } // } // } -// } \ No newline at end of file +// }