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

implement shop page search params #81

Open
wants to merge 20 commits into
base: main
Choose a base branch
from
Open

implement shop page search params #81

wants to merge 20 commits into from

Conversation

Artichaze1
Copy link
Collaborator

No description provided.

…-Dashboard
Copy link
Owner

@unchihugo unchihugo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, thanks for working on this!

I like your implementation of the search params as well as Finley's at #80, so I think we should have a quick discussion together in this PR and come up to an agreement on which version we should continue with :)

@fxnners, what do you think?

@unchihugo unchihugo changed the title fixed links on homepage to go to filtered pages implement shop page search params Mar 17, 2025
@fxnners
Copy link
Collaborator

fxnners commented Mar 17, 2025

@unchihugo I think we should go ahead with whatever version you think is best, I'm completely fine with either I think both implementations are good 😊

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
dummy payment
…into Admin-Dashboard
Copy link
Owner

@unchihugo unchihugo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, there are a few issues in the branch, could you try to test and fix it?

  1. Search params aren't working properly. I'm getting 400 Bad Request when searching with a category param, most likely the categoryID's aren't being passed through properly. Also, selecting a category or searching does not update the url.
  2. For some reason the page constantly refreshes (dozens of times a second), even if it's unneeded. Try making sure the useEffect functions are activating only when necessary.
  3. Selecting the "By Category" category displays nothing.

@unchihugo unchihugo added the important Pull request that is important to the project label Mar 22, 2025
…-Dashboard
…-Dashboard
@Artichaze1 Artichaze1 requested a review from unchihugo March 23, 2025 21:17
@unchihugo
Copy link
Owner

ill solve the merge conflicts

@unchihugo unchihugo self-assigned this Mar 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
important Pull request that is important to the project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants