Skip to content

Commit 3255f31

Browse files
Saved Workflow Query Views (#2931)
* Command palette mvp * style things * Add start workflow form * Try happy * Make wider, make grid * Remove form, add top nav shortcut * POC of query tabs * Move to own query-tabs component * Initial setup of query palette * Edit query ui * Much better * Make sticky * Do some things, svelte5 * Fix up the modal with tags, get everything in a prety good state for the query command. next do query stack * Fix hover bg * Make the stack better * Fix some styles, fix remove filter * Tone down the modal backdrop * Move edit query button * Finish svelte5 migration of filters * Restyle query list * Better styles and words * Fix types * More fixes * Final styling touches and add custom label in attribute list * Remove props, add button * Make queries per namespace * Add shareable link * Better flex * Remove query tabs * Fix all the types * Add disabled to button * Flip filter list with saved query input * Move to drawer * Set fixed width for drawer * Fix null check in formatListFilterValue * Icon size, tag color * Fix padding * Remove dup start workflow buttons * Fix font color * Add back old filtering * Remove the sidebar, use existing filtering * Add save/edit/delete view modals * Fix error in edit modal * Refactor query stack buttons * Add task failure count * More UI stuff * Move files to refactor * Continue work on filter list * Remove count * Get dropdown chip working * Fix search shrink issue * Get saved queries working, need to fix apply filter logic * Add filter lines icon, fix filtering * Fix datetime filter * Remove task failures for now * Set chipOpenIndex to null afterNavigate * Remove old files, flex-wrap * Fix icon padding * Add unsaved/add filter badges * Fix boolean, make saved queries stack into buttons with active state * Switch back to ghost * Add task failures, make some style tweaks * Sort saved queries alphabetical * Add save on click for new view * Add query management * Fix unsaved query and add clear all button * Add unsaved badge * Fix logic of setting activeQueryView. Still need to figure out adding filters to a system filter * Add temp state to track pending query so effect is triggered correctly * Add count of saved views * Make saved query views expand/collapsable * Set height for lg/sm screens * Tone down refresh, bind collapsed state variable * Add Running system query, make buttons scale smaller * A little snappier * Go back to slide * Fix widths * Make executionStatus multiselect, disable status option if in use * Fix refresh rate to once a minute, add timestamp * Add task failures with mock count * add system type * Fix timestamp position, better transitions, tooltip * Remove tooltip for now * Add persistStore for savedQueryNavOpen * Use custom tooltip for saved queries * Add css variables to make everything line up * Set height for all screen sizes * Add maxLength to input, move new query to top of list * Refactor to use view-modal * Fix hideModal bug * min-width on search attribute menu, add integration tests but commented out for now * Enforce max limit of 20 saved queries * Add data-testids, get all saved-query specs passing * More tests for search attributes * Add tracking to saved query buttons * Add system vs user in data-track-name * Remove command palette placement, keep file for later * Cleanup * Fix mobile test selector * Move delete to edit modal view with new footer slot. move count to secondary label * Fix styles of No Views * Update more tests * Bug fixes, add save button * Fix tests * Fix filter issues * Add touched state to not show error if not touched * Update unit tests * Fix refresh rate * Fix refresh counts logic and make backoff less agressive * Update resfresh rate tests * Fixes from PR comments * Remove unused store * Add text-brand back to chip filter value * Save as New View * Update modal title * Fix default conditional for bool * Fix NaN in Batch Operations results (#2938) * Migrate to Svelte 5 * Update text color * Account for NaN * Migrate layout files to Svelte 5 (#2937) * Migrate layout files to Svelte 5 * Update FeedbackButton * Add step='any' for number input to allow decimals for search attributes --------- Co-authored-by: Laura Whitaker <laura.whitaker@temporal.io>
1 parent f424f03 commit 3255f31

53 files changed

Lines changed: 3446 additions & 326 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/app.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@
77
@import 'tailwindcss/utilities';
88

99
@layer base {
10+
:root {
11+
--panel-collapsed-w: 60px;
12+
--panel-expanded-w: 240px;
13+
--panel-h: 73dvh;
14+
}
15+
1016
*,
1117
html,
1218
body {

0 commit comments

Comments
 (0)