feat: category filter dropdown on unmatched Odoo products panel

Filter by Odoo product category or clear filter. Backend supports
both include and exclude category filtering. Loads all categories
on init for the dropdown.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
gsinghpal
2026-04-01 15:56:13 -04:00
parent 9f0badfb7e
commit 52be90c10d
4 changed files with 119 additions and 2 deletions

View File

@@ -644,6 +644,21 @@ html[style*="color-scheme: dark"] {
box-shadow: 0 0 0 2px var(--woo-accent-glow);
}
/* Category filter dropdown */
.woo-filter-select {
padding: 3px 8px;
border: 1px solid var(--woo-input-border);
border-radius: 4px;
font-size: 0.8rem;
background: var(--woo-input-bg);
color: var(--woo-text-primary);
max-width: 200px;
}
.woo-filter-select option {
background: var(--woo-bg-primary);
color: var(--woo-text-primary);
}
.woo-edit-input-text {
text-align: left;
width: 120px;