diff --git a/docs/changelog/api.md b/docs/changelog/api.md index 07aa5e3..aa76de6 100644 --- a/docs/changelog/api.md +++ b/docs/changelog/api.md @@ -1,5 +1,15 @@ # API Changelog +## v8.0.1 - _2026-06-04_ + +See [v8.0.1] changes + +### Features + +- Removed layer filtering in the homepage + +[v8.0.1]: https://github.com/no10ds/rapid/compare/v8.0.0...v8.0.1 + ## v8.0.0 - _2026-06-03_ diff --git a/frontend/src/components/DatasetSearchBar/DatasetSearchBar.tsx b/frontend/src/components/DatasetSearchBar/DatasetSearchBar.tsx index 1552c44..016f37a 100644 --- a/frontend/src/components/DatasetSearchBar/DatasetSearchBar.tsx +++ b/frontend/src/components/DatasetSearchBar/DatasetSearchBar.tsx @@ -6,7 +6,6 @@ import { Paper, Typography, Button, - Chip, TextField, InputAdornment, ClickAwayListener @@ -18,18 +17,11 @@ const MAX_SUGGESTIONS = 8 const DatasetSearchBar = ({ datasets }: { datasets: Dataset[] }) => { const router = useRouter() const [search, setSearch] = useState('') - const [layerFilter, setLayerFilter] = useState('All') const [open, setOpen] = useState(false) const wrapRef = useRef(null) - const layers = useMemo(() => { - const unique = Array.from(new Set(datasets.map((d) => d.layer).filter(Boolean))).sort() - return ['All', ...unique] - }, [datasets]) - const filtered = useMemo(() => { return datasets.filter((d) => { - if (layerFilter !== 'All' && d.layer?.toLowerCase() !== layerFilter.toLowerCase()) return false if (search.trim()) { const q = search.trim().toLowerCase() const haystack = `${d.layer} ${d.domain} ${d.dataset}`.toLowerCase() @@ -37,7 +29,7 @@ const DatasetSearchBar = ({ datasets }: { datasets: Dataset[] }) => { } return true }).slice(0, MAX_SUGGESTIONS) - }, [datasets, layerFilter, search]) + }, [datasets, search]) // Close the suggestions dropdown when the user clicks outside the wrapper. useEffect(() => { @@ -57,26 +49,6 @@ const DatasetSearchBar = ({ datasets }: { datasets: Dataset[] }) => { return ( - {datasets.length > 0 && layers.length > 2 && ( - - {layers.map((l) => ( - { setLayerFilter(l); setOpen(true) }} - sx={ - layerFilter !== l - ? { color: 'rgba(255,255,255,0.7)', borderColor: 'rgba(255,255,255,0.18)', bgcolor: 'rgba(255,255,255,0.05)', '&:hover': { borderColor: 'rgba(255,255,255,0.3)', color: '#fff' } } - : undefined - } - /> - ))} - - )} - setAnchorEl(e.currentTarget)} > - {initials ?? '?'} + {initials} {!collapsed && ( diff --git a/infrastructure/modules/rapid/variables.tf b/infrastructure/modules/rapid/variables.tf index 704abc9..9eece2e 100644 --- a/infrastructure/modules/rapid/variables.tf +++ b/infrastructure/modules/rapid/variables.tf @@ -13,13 +13,13 @@ variable "app-replica-count-max" { variable "application_version" { type = string description = "The version number for the application image (e.g.: v1.0.4, v1.0.x-latest, etc.)" - default = "v8.0.0" + default = "v8.0.1" } variable "ui_version" { type = string description = "The version number for the static ui (e.g.: v1.0.0, etc.)" - default = "v8.0.0" + default = "v8.0.1" } variable "catalog_disabled" {