-
Notifications
You must be signed in to change notification settings - Fork 2
feat: new search UI #257
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
base: main
Are you sure you want to change the base?
feat: new search UI #257
Conversation
# Conflicts: # src/js/components/Search/Search.tsx # src/js/features/search/query.store.ts
…/new-search-ui # Conflicts: # src/js/components/Search/Search.tsx
refact: search feature with constants, types, utils
@@ -157,7 +157,7 @@ const CatalogueCard = ({ project }: { project: Project }) => { | |||
datasets.length ? ( | |||
<> | |||
<Title level={5} style={{ marginTop: 0 }}> | |||
{t('Datasets')} | |||
{t('entities.dataset', T_PLURAL_COUNT)} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From my understanding the T_PLURAL_COUNT
would produce a plural form of Dataset translated. But as T_PLURAL_COUNT
is constant, it is not context dependent. Then:
- What's the difference between this and what you changed before?
- Wouldn't having it dynamic to the number of datasets make more sense?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggested changes in notion doc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i want it discoverable, and pushing it below the fold imo makes it less discoverable...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we could maybe make start with something like create a search that asks to choose b/w filters or free text?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ideally I want the min. # clicks to get to a FTS.
@gsfk still WIP but soliciting feedback on this if you have some time tomorrow/friday... |
WIP
TODO: rename pane url param for search...
requires Katsu to be
edge
/develop
branch latest