Skip to content

Commit 33d9d98

Browse files
latonvjbuckner
andauthored
WEBDEV-7761 Add advanced search tools to TV search UI (#538)
* Update facet models to include clip_type * Capitalize clip_type buckets for display * Remove older logic for dealing with TV clip types separately * Add clip type and network/show filters * Fix buggy dropdown deselection behavior * Make Clear Filters button clear dropdowns too * Extract some helpers for clarity * Correct date picker heading * Ensure dropdown selections are actually cleared * Layout & styling changes for TV search UI * Include combo box from elements & tsconfig updates * Fix yarn.lock * Switch dev server to use vite * Fix labels and icon sizes * Make Network/Show labels localizable * Improve error state & simplicity of dropdown fetch logic * Remove commented TV facet options * Update dependencies * Upgrade off alpha elements version * Slightly improve naming consistency --------- Co-authored-by: Jason Buckner <jason@jasonbuckner.com>
1 parent 502392f commit 33d9d98

16 files changed

+492
-209
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@
1919
</head>
2020
<body>
2121
<app-root></app-root>
22-
<script type="module" src="./dist/src/app-root.js"></script>
22+
<script type="module" src="./src/app-root"></script>
2323
</body>
2424
</html>

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"main": "dist/index.js",
88
"module": "dist/index.js",
99
"scripts": {
10-
"start": "yarn run prepare && tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wds\"",
10+
"start": "vite",
1111
"prepare:ghpages": "rimraf ghpages && yarn run prepare && vite build",
1212
"prepare": "rimraf dist && tsc && husky install",
1313
"lint": "eslint . && prettier \"**/*.ts\" --check",
@@ -25,7 +25,7 @@
2525
"dependencies": {
2626
"@a11y/focus-trap": "^1.0.5",
2727
"@internetarchive/analytics-manager": "^0.1.4",
28-
"@internetarchive/elements": "0.1.0",
28+
"@internetarchive/elements": "^0.2.0",
2929
"@internetarchive/feature-feedback": "^1.0.0",
3030
"@internetarchive/field-parsers": "^1.0.0",
3131
"@internetarchive/histogram-date-range": "^1.4.1",
@@ -37,7 +37,7 @@
3737
"@internetarchive/shared-resize-observer": "^0.2.0",
3838
"@lit/localize": "^0.12.2",
3939
"dompurify": "^3.2.4",
40-
"lit": "^2.8.0",
40+
"lit": "^3.3.1",
4141
"typescript-cookie": "^1.0.6"
4242
},
4343
"devDependencies": {
@@ -48,6 +48,7 @@
4848
"@types/mocha": "^10.0.10",
4949
"@typescript-eslint/eslint-plugin": "^8.27.0",
5050
"@typescript-eslint/parser": "^8.27.0",
51+
"@vitejs/plugin-basic-ssl": "^2.1.4",
5152
"@web/dev-server": "^0.4.6",
5253
"@web/test-runner": "^0.20.0",
5354
"concurrently": "^9.1.2",

0 commit comments

Comments
 (0)