Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/search filters #7

Merged
merged 28 commits into from
Sep 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
b5d2ff5
WIP: implementing dynamic labels for facets
oliviareichl Aug 5, 2024
c694020
chore: get labels and count for facets from api
oliviareichl Aug 6, 2024
d89523c
WIP: make api call on change of search filters
oliviareichl Aug 7, 2024
ed8ce86
fix: don't add brackets to array query params in zodios axios instance
stefanprobst Aug 7, 2024
f8c228b
refactor: programmatically generate api client
stefanprobst Aug 7, 2024
77bb6b4
build: no longer use pnpm for node version management
stefanprobst Aug 7, 2024
e08564e
chore: update deps
stefanprobst Aug 7, 2024
1aa8ef6
fix: update inter font to use italics file instead of slant axis
stefanprobst Aug 7, 2024
73160d0
fix: use nuxt built-in route announcer
stefanprobst Aug 7, 2024
ce53365
ci: pass bots env var
stefanprobst Aug 7, 2024
43b8784
build: let pnpm manage versions
stefanprobst Aug 7, 2024
3822971
docs: update readme
stefanprobst Aug 7, 2024
3fb3ea9
refactor: move home page string to messages file
stefanprobst Aug 7, 2024
8d38976
refactor: move about page strings to messages file
stefanprobst Aug 7, 2024
4ba819f
fix: actually force axios to not use brackets for array query params
stefanprobst Aug 8, 2024
3a22af6
fix: pin tanstack/table version
stefanprobst Aug 8, 2024
1efcb8c
fix: pin tanstack/table version to last known good version
stefanprobst Aug 8, 2024
7c0a966
chore: adding a loading spinner to the search view
oliviareichl Aug 14, 2024
ca139dc
chore: checking the checked state of the search filters via query params
oliviareichl Aug 14, 2024
7ee2594
chore: add checkstate with button + WIP delete all filters
oliviareichl Aug 14, 2024
aa174be
chore: use html checkboxes for filtering
oliviareichl Sep 4, 2024
7ba02d5
fix: set searchFilters correct on page load
oliviareichl Sep 4, 2024
daa59c5
chore: trim swagger file to only contain certain prefixes
oliviareichl Sep 4, 2024
0863406
refactor: code style
oliviareichl Sep 4, 2024
982373c
refactor: remove catch message in generating api script
oliviareichl Sep 24, 2024
e127623
fix add env base url to github workflow
oliviareichl Sep 24, 2024
7381d1e
fix: types
oliviareichl Sep 24, 2024
94b0456
fix: add @ts-nocheck to generated api file
oliviareichl Sep 24, 2024
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
1 change: 1 addition & 0 deletions .github/workflows/build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ jobs:
build-args: |
"NUXT_PUBLIC_API_BASE_URL=${{ vars.NUXT_PUBLIC_API_BASE_URL }}"
"NUXT_PUBLIC_APP_BASE_URL=${{ needs.vars.outputs.public_url }}"
"NUXT_PUBLIC_BOTS=${{ vars.NUXT_PUBLIC_BOTS }}"
"NUXT_PUBLIC_GOOGLE_SITE_VERIFICATION=${{ vars.NUXT_PUBLIC_GOOGLE_SITE_VERIFICATION }}"
"NUXT_PUBLIC_MATOMO_BASE_URL=${{ vars.NUXT_PUBLIC_MATOMO_BASE_URL }}"
"NUXT_PUBLIC_MATOMO_ID=${{ vars.NUXT_PUBLIC_MATOMO_ID }}"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ jobs:

- name: Install dependencies
run: pnpm install --frozen-lockfile
env:
NUXT_PUBLIC_API_BASE_URL: "${{vars.NUXT_PUBLIC_API_BASE_URL}}"

- name: Format
run: pnpm run format:check
Expand Down
2 changes: 1 addition & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
engine-strict=true
manage-package-manager-versions=true
package-manager-strict=false
shell-emulator=true
use-node-version=20.14.0
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,10 @@ WORKDIR /app
USER node

COPY --chown=node:node .npmrc package.json pnpm-lock.yaml ./
RUN sed -i "s/use-node-version/# use-node-version/" .npmrc

RUN pnpm fetch

COPY --chown=node:node ./ ./
RUN sed -i "s/use-node-version/# use-node-version/" .npmrc

ARG NUXT_PUBLIC_API_BASE_URL
ARG NUXT_PUBLIC_APP_BASE_URL
Expand Down
1 change: 1 addition & 0 deletions app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
<NuxtLayout>
<NuxtPage />
<NuxtLoadingIndicator />
<NuxtRouteAnnouncer />
</NuxtLayout>
</template>
2 changes: 1 addition & 1 deletion components/search-data-table/data-table.vue
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ const table = useVueTable({

<template>
<div>
<div class="rounded-md border">
<div class="w-full rounded-md border">
<Table>
<TableHeader>
<TableCaption class="sr-only">
Expand Down
Loading
Loading