Skip to content
This repository was archived by the owner on Sep 25, 2025. It is now read-only.
This repository was archived by the owner on Sep 25, 2025. It is now read-only.

As a user, I can search using the search bar in the navigation (implemented with PostgreSQL queries) #349

Closed

Description

@QuincyLarson

As a user I should be able to search through through chapters.

Activity

  1. allella commented on Feb 23, 2020

    @allella
    Contributor

    The backend logic of this has been discussed on #112

  2. changed the title [-]Add Search bar to navigation with PostgreSQL queries[/-] [+]As a user, I can search using the search bar in the navigation (implemented with PostgreSQL queries)[/+] on Feb 23, 2020
  3. xarielx commented on Feb 27, 2020

    @xarielx
    Contributor

    @Zeko369 please let me know if you need help setting this up, are you planning to use Axios? We can coordinate at any time after 5 pm eastern time if you need help. Thanks

  4. Zeko369 commented on Feb 27, 2020

    @Zeko369
    Contributor

    We're not using axios, we have our own server/client implementation with cross-fetch.

    This should be a part of fetchEvents on homepage, so you would actually want to use a redux store for it and everything.
    But for simplicity you can just use cross-fetch and useState to query some events according to the search param for example api/v1/events?serach=FooBar

    This is more of a API issue, I'll handle it in a today, but for now you can stub it.

  5. xarielx commented on Feb 27, 2020

    @xarielx
    Contributor
  6. allella commented on Mar 8, 2021

    @allella
    Contributor

    Here's a visual of the search bar in the navigation on the homepage mock-up.

  7. allella commented on Mar 8, 2021

    @allella
    Contributor

    #414 and the feat/search has much of the search bar mocked up in Material UI

  8. Ravichandra-C commented on Jan 2, 2022

    @Ravichandra-C
    Contributor

    @Zeko369 Can I work on this issue?

  9. Zeko369 commented on Jan 2, 2022

    @Zeko369
    Contributor

    @Ravichandra-C Hop on it

  10. Ravichandra-C commented on Jan 11, 2022

    @Ravichandra-C
    Contributor

    @ojeytonwilliams @allella @Zeko369 , Should this be implemented with Full text search of Postgres? If not , Could you please guide me on how the backend logic for search api should be implemented?

  11. allella commented on Jan 11, 2022

    @allella
    Contributor

    I'll defer to Oliver or the earlier contributors on how to approach this one.

  12. Zeko369 commented on Jan 11, 2022

    @Zeko369
    Contributor

    @Ravichandra-C this project switched to prisma in the meantime, and there is a preview feature in prisma (needs to be enabled but then works) that allows you to do full-text-search from JS without writing any raw SQL.

    Take a look prisma docs for the feature

  13. ojeytonwilliams commented on Jan 11, 2022

    @ojeytonwilliams
    Contributor

    That's awesome, thanks for sharing it @Zeko369

    @Ravichandra-C if you want to go ahead with this, go for it. It's a bit risky to rely on a preview feature, but if there are issues with search it won't render Chapter unusable.

  14. ojeytonwilliams commented on May 13, 2022

    @ojeytonwilliams
    Contributor

    In the interests of getting the MVP done, I think this can move to Nice to Have. It's 100% a feature we want, but we can see how Chapter functions without it first and focus on discovery once we have something to discover.

    @allella do you remember the approach re: Roadmap and so on? I was wondering if we should have MVP and Roadmap issues both open, but mutually exclusive. Right now we have some Roadmap issues like #434 which are finished and one #264 that is both MVP and Roadmap. This is a little counter-intuitive.

  15. allella commented on May 13, 2022

    @allella
    Contributor

    @ojeytonwilliams Quincy was tagging with Roadmap and closing to avoid the noise of having open issues.

    I suppose we'd just re-open a subset of issues from the Roadmap when they are ready for implementation.

    For the two issues you mentioned, I've re-tagged them to fit the pattern.

  16. ojeytonwilliams commented on May 13, 2022

    @ojeytonwilliams
    Contributor

    So: closed Roadmap = nice to have, but for the future, open Roadmap = nice to have, and worth implementing if someone is interested, but low priority

    Is that about right?

  17. added
    Roadmap
    and removed on May 13, 2022
  18. allella commented on May 13, 2022

    @allella
    Contributor

    We moved the Search feature to the Roadmap since there will initially be about 10 fCC chapters testing the first iteration of the application.

    @ojeytonwilliams Roadmap has been used to track issues which we want to at least come back to and not forget. So, there's no rating, but we can remove issues from the Roadmap on a future review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Roadmap

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions