-
Notifications
You must be signed in to change notification settings - Fork 39
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
03 27 feat egazette add filtering #399
base: next-gen-develop
Are you sure you want to change the base?
Conversation
Release/next-gen
release/next-gen
release: next-gen
fix(hero): set max width
release: style fixes
release/next-gen
Release/next-gen
Release: 26 October 2023
release/next-gen
release/next-gen-develop
fix(icons): update asset path
* feat(cards): add css styling for page cards block (#360) * feat(cards): add css styling for page cards block * feat(cards): add support for clickable cards * styles(colors): add more color tokens from design * styles(cards): update based on design feedback * styles(cards): add bottom margin if not last child * fix: prevent staging sites from being indexed by robots (#369) --------- Co-authored-by: Hsu Zhong Jun <[email protected]> Co-authored-by: seaerchin <[email protected]>
release/next-gen
fix: prettify dgs-v2 search term (#373)
chore/retrieve field name before dgs query (#375)
f68f98b
to
27fcad5
Compare
27fcad5
to
c6a5620
Compare
c6a5620
to
439b1dd
Compare
_layouts/egazette-search.html
Outdated
<h5 class="margin--bottom--sm">Select day</h5> | ||
<div id="refinement-list-day" class="margin--bottom"></div> | ||
|
||
<h5 class="margin--bottom--sm">Select month</h5> | ||
<div id="refinement-list-month" class="margin--bottom"></div> | ||
|
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 think we can remove these now right!
_layouts/egazette-search.html
Outdated
<!-- <div id="current-refinements"></div> | ||
<div id="clear-refinements"></div> --> |
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.
Is this meant to be commented out?
assets/js/algolia-search.js
Outdated
@@ -4,7 +4,7 @@ const searchClient = algoliasearch( | |||
); | |||
|
|||
const search = instantsearch({ | |||
indexName: "ogp_egazettes_index", | |||
indexName: "staging_ogp_egazettes_index", |
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.
Will need to swap this back - prod is using this search currently
481c5c1
to
0efa8f6
Compare
// const algoliaIndexName = isProd | ||
// ? "ogp_egazettes_index" | ||
// : "staging_ogp_egazettes_index"; | ||
const algoliaIndexName = "test_snippet_1"; |
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.
this should be fixed before merge
if this is a test pr, let's mark it as a draft pr
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.
ya converting to draft, the main data set is not ready for filtering
Problem
add filtering functionality to egazette.
Solution
Screen.Recording.2024-03-27.at.6.12.59.PM.mov
still got design bugs:
search filters in the same category look ugly.
rm notification number, looks useless