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

03 27 feat egazette add filtering #399

Draft
wants to merge 54 commits into
base: next-gen-develop
Choose a base branch
from

Conversation

kishore03109
Copy link

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

harishv7 and others added 19 commits September 21, 2023 15:21
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]>
chore/retrieve field name before dgs query (#375)
@kishore03109 kishore03109 changed the base branch from staging to next-gen-develop March 27, 2024 11:04
@kishore03109 kishore03109 force-pushed the 03-27-feat_egazette_add_filtering branch from f68f98b to 27fcad5 Compare March 27, 2024 11:06
@kishore03109 kishore03109 requested review from harishv7, alexanderleegs and a team and removed request for harishv7 and alexanderleegs March 27, 2024 11:06
@kishore03109 kishore03109 force-pushed the 03-27-feat_egazette_add_filtering branch from 27fcad5 to c6a5620 Compare March 27, 2024 11:09
@kishore03109 kishore03109 force-pushed the 03-27-feat_egazette_add_filtering branch from c6a5620 to 439b1dd Compare March 27, 2024 11:10
Comment on lines 52 to 57
<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>

Copy link
Contributor

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!

Comment on lines 63 to 64
<!-- <div id="current-refinements"></div>
<div id="clear-refinements"></div> -->
Copy link
Contributor

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?

@@ -4,7 +4,7 @@ const searchClient = algoliasearch(
);

const search = instantsearch({
indexName: "ogp_egazettes_index",
indexName: "staging_ogp_egazettes_index",
Copy link
Contributor

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

@kishore03109 kishore03109 force-pushed the 03-27-feat_egazette_add_filtering branch from 481c5c1 to 0efa8f6 Compare April 3, 2024 16:38
// const algoliaIndexName = isProd
// ? "ogp_egazettes_index"
// : "staging_ogp_egazettes_index";
const algoliaIndexName = "test_snippet_1";
Copy link
Contributor

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

Copy link
Author

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

@kishore03109 kishore03109 marked this pull request as draft April 9, 2024 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants