fix: wire catalog add buttons, fix Trans bold rendering, lint cleanup
- CatalogSearchOverlay: replace handleAddStub with real openAddToCollection/openAddToThread routing based on catalogSearchMode - ConfirmDialog + __root.tsx: swap t() for Trans component on deleteItemMessage, deleteCandidateMessage, pickWinnerMessage — fixes <bold> rendering as literal text - Biome format pass: fix 23 lint/format errors across scripts, services, tests - Planning: mark all UAT and verification gaps resolved for phases 07, 11, 16, 20, 21, 22, 24, 32, 34; close debug sessions Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -3,18 +3,18 @@
|
||||
* These are the only valid values the ingestion agent should use.
|
||||
*/
|
||||
export const CATEGORIES = [
|
||||
"bags", // bikepacking bags, dry bags, stuff sacks
|
||||
"shelters", // tents, bivys, tarps, hammocks
|
||||
"sleep", // sleeping bags, quilts, pads, pillows
|
||||
"cooking", // stoves, cookware, mugs, utensils
|
||||
"lighting", // headlamps, bike lights, lanterns
|
||||
"water", // filters, bottles, bladders
|
||||
"electronics", // power banks, solar panels, GPS, bike computers
|
||||
"tools", // multi-tools, pumps, repair kits, locks
|
||||
"clothing", // jackets, base layers, gloves, shoes
|
||||
"navigation", // GPS devices, maps, compasses
|
||||
"bikes", // complete bikes
|
||||
"components", // drivetrain, brakes, wheels, handlebars, saddles, stems
|
||||
"bags", // bikepacking bags, dry bags, stuff sacks
|
||||
"shelters", // tents, bivys, tarps, hammocks
|
||||
"sleep", // sleeping bags, quilts, pads, pillows
|
||||
"cooking", // stoves, cookware, mugs, utensils
|
||||
"lighting", // headlamps, bike lights, lanterns
|
||||
"water", // filters, bottles, bladders
|
||||
"electronics", // power banks, solar panels, GPS, bike computers
|
||||
"tools", // multi-tools, pumps, repair kits, locks
|
||||
"clothing", // jackets, base layers, gloves, shoes
|
||||
"navigation", // GPS devices, maps, compasses
|
||||
"bikes", // complete bikes
|
||||
"components", // drivetrain, brakes, wheels, handlebars, saddles, stems
|
||||
] as const;
|
||||
|
||||
export type Category = (typeof CATEGORIES)[number];
|
||||
|
||||
@@ -5,27 +5,65 @@
|
||||
*/
|
||||
export const TAGS = [
|
||||
// Activity
|
||||
"bikepacking", "cycling", "hiking", "backpacking", "camping", "climbing",
|
||||
"mountaineering", "road-cycling", "gravel", "running", "trail-running",
|
||||
"bikepacking",
|
||||
"cycling",
|
||||
"hiking",
|
||||
"backpacking",
|
||||
"camping",
|
||||
"climbing",
|
||||
"mountaineering",
|
||||
"road-cycling",
|
||||
"gravel",
|
||||
"running",
|
||||
"trail-running",
|
||||
// Bag subtypes
|
||||
"handlebar-bag", "framebag", "saddlebag", "top-tube-bag", "stem-bag",
|
||||
"fork-bag", "feed-bag", "dry-bag", "stuff-sack", "bike-bag",
|
||||
"handlebar-bag",
|
||||
"framebag",
|
||||
"saddlebag",
|
||||
"top-tube-bag",
|
||||
"stem-bag",
|
||||
"fork-bag",
|
||||
"feed-bag",
|
||||
"dry-bag",
|
||||
"stuff-sack",
|
||||
"bike-bag",
|
||||
// Shelter subtypes
|
||||
"tent", "bivy", "tarp", "hammock",
|
||||
"tent",
|
||||
"bivy",
|
||||
"tarp",
|
||||
"hammock",
|
||||
// Sleep subtypes
|
||||
"sleeping-bag", "sleeping-pad", "quilt", "pillow",
|
||||
"sleeping-bag",
|
||||
"sleeping-pad",
|
||||
"quilt",
|
||||
"pillow",
|
||||
// Cooking subtypes
|
||||
"stove", "cookware", "mug", "utensils",
|
||||
"stove",
|
||||
"cookware",
|
||||
"mug",
|
||||
"utensils",
|
||||
// Water subtypes
|
||||
"water-filter", "water-bottle",
|
||||
"water-filter",
|
||||
"water-bottle",
|
||||
// Lighting subtypes
|
||||
"headlamp", "bike-light", "lantern",
|
||||
"headlamp",
|
||||
"bike-light",
|
||||
"lantern",
|
||||
// Electronics subtypes
|
||||
"gps", "bike-computer", "power-bank", "solar-panel",
|
||||
"gps",
|
||||
"bike-computer",
|
||||
"power-bank",
|
||||
"solar-panel",
|
||||
// Tools subtypes
|
||||
"multi-tool", "pump", "repair-kit", "lock",
|
||||
"multi-tool",
|
||||
"pump",
|
||||
"repair-kit",
|
||||
"lock",
|
||||
// Clothing subtypes
|
||||
"rain-jacket", "base-layer", "gloves", "shoe",
|
||||
"rain-jacket",
|
||||
"base-layer",
|
||||
"gloves",
|
||||
"shoe",
|
||||
] as const;
|
||||
|
||||
export type Tag = (typeof TAGS)[number];
|
||||
|
||||
Reference in New Issue
Block a user