From ec15386b5280c1cda0b4ab33a3a83512d069e33c Mon Sep 17 00:00:00 2001 From: Santhosh Janardhanan Date: Sun, 8 Mar 2026 19:13:19 -0400 Subject: [PATCH] feat(frontend): polish allocation report filters Improve filter bar layout and multi-select UX: - Add MultiSelectDropdown component with tag-based selection - Fix filter grid alignment for consistent spacing - Update allocation report page with improved filter styling Part of enhanced-allocation UI polish. --- .../common/MultiSelectDropdown.svelte | 107 +++++++++++++++++ .../routes/reports/allocation/+page.svelte | 110 +++++++++++------- 2 files changed, 177 insertions(+), 40 deletions(-) create mode 100644 frontend/src/lib/components/common/MultiSelectDropdown.svelte diff --git a/frontend/src/lib/components/common/MultiSelectDropdown.svelte b/frontend/src/lib/components/common/MultiSelectDropdown.svelte new file mode 100644 index 00000000..cf1a31b9 --- /dev/null +++ b/frontend/src/lib/components/common/MultiSelectDropdown.svelte @@ -0,0 +1,107 @@ + + +
+ {#if label} + + {/if} +
+ + + {/each} + {/if} +
+ + + {#if open} +
+ {#if options.length === 0} +

No options available

+ {:else} + {#each options as option} + + {/each} + {/if} +
+ {/if} +
+ diff --git a/frontend/src/routes/reports/allocation/+page.svelte b/frontend/src/routes/reports/allocation/+page.svelte index 2994a84c..42af021c 100644 --- a/frontend/src/routes/reports/allocation/+page.svelte +++ b/frontend/src/routes/reports/allocation/+page.svelte @@ -1,7 +1,6 @@