Skip to content

Commit 32e5926

Browse files
committed
chore(webui): stop tracking generated navigation.ts
Add navigation.ts to .gitignore for consistency with other generated files (MDX docs, search index). The file is regenerated by prebuild from the docs/ structure.
1 parent 1a0971d commit 32e5926

4 files changed

Lines changed: 9 additions & 239 deletions

File tree

webui/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ lerna-debug.log*
3131
# These files are regenerated during prebuild, do not edit directly
3232
src/docs/**/*.mdx
3333
!src/docs/index.mdx
34+
src/docs/navigation.ts
3435

3536
# Generated search index (regenerated by scripts/prebuild.ts)
3637
public/search-index.json

webui/src/components/widgets/SearchPalette/SearchPalette.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,6 @@ export const SearchPalette: React.FC<SearchPaletteProps> = ({
165165
case 'alphabetical':
166166
sorted.sort((a, b) => a.title.localeCompare(b.title))
167167
break
168-
case 'relevance':
169168
default:
170169
break
171170
}

webui/src/config/index.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,13 @@ export const webUiAppContents: WebUiAppContents = {
104104
}
105105

106106
// Re-export types that components might need
107-
export type { GitHubLabelsConfig, ArtefactsConfig, FeatureFlags, CryoEMInstrument, Repository, SearchConfig }
107+
export type {
108+
GitHubLabelsConfig,
109+
ArtefactsConfig,
110+
FeatureFlags,
111+
CryoEMInstrument,
112+
Repository,
113+
SearchConfig,
114+
}
108115

109116
export default webUiAppContents

webui/src/docs/navigation.ts

Lines changed: 0 additions & 237 deletions
This file was deleted.

0 commit comments

Comments
 (0)