Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions docs/changelog/api.md
Original file line number Diff line number Diff line change
@@ -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_

Expand Down
30 changes: 1 addition & 29 deletions frontend/src/components/DatasetSearchBar/DatasetSearchBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import {
Paper,
Typography,
Button,
Chip,
TextField,
InputAdornment,
ClickAwayListener
Expand All @@ -18,26 +17,19 @@ 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<HTMLDivElement>(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()
if (!haystack.includes(q)) return false
}
return true
}).slice(0, MAX_SUGGESTIONS)
}, [datasets, layerFilter, search])
}, [datasets, search])

// Close the suggestions dropdown when the user clicks outside the wrapper.
useEffect(() => {
Expand All @@ -57,26 +49,6 @@ const DatasetSearchBar = ({ datasets }: { datasets: Dataset[] }) => {

return (
<Box sx={{ width: '100%', maxWidth: 720, mx: 'auto', position: 'relative' }} ref={wrapRef}>
{datasets.length > 0 && layers.length > 2 && (
<Box sx={{ display: 'flex', gap: 0.75, justifyContent: 'center', flexWrap: 'wrap', mb: 1.25 }}>
{layers.map((l) => (
<Chip
key={l}
label={l}
size="small"
variant={layerFilter === l ? 'filled' : 'outlined'}
color={layerFilter === l ? 'primary' : 'default'}
onClick={() => { 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
}
/>
))}
</Box>
)}

<Box sx={{ display: 'flex' }}>
<TextField
fullWidth
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/Layout/AccountLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
Menu,
MenuItem,
LinearProgress,
Divider

Check warning on line 22 in frontend/src/components/Layout/AccountLayout.tsx

View workflow job for this annotation

GitHub Actions / frontend-dev

'Divider' is defined but never used
} from '@mui/material'
import ChevronLeftIcon from '@mui/icons-material/ChevronLeft'
import ChevronRightIcon from '@mui/icons-material/ChevronRight'
import SearchIcon from '@mui/icons-material/Search'
import TableChartIcon from '@mui/icons-material/TableChart'

Check warning on line 27 in frontend/src/components/Layout/AccountLayout.tsx

View workflow job for this annotation

GitHub Actions / frontend-dev

'TableChartIcon' is defined but never used
import WorkIcon from '@mui/icons-material/Work'
import PeopleIcon from '@mui/icons-material/People'
import AddBoxIcon from '@mui/icons-material/AddBox'
Expand Down Expand Up @@ -263,7 +263,7 @@
onClick={(e) => setAnchorEl(e.currentTarget)}
>
<Avatar sx={{ width: 24, height: 24, bgcolor: 'primary.main', fontSize: 9, fontWeight: 700, letterSpacing: '0.02em' }}>
{initials ?? '?'}
{initials}
</Avatar>
{!collapsed && (
<Box sx={{ minWidth: 0 }}>
Expand Down
4 changes: 2 additions & 2 deletions infrastructure/modules/rapid/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down