Skip to content

[WIP] View all articles filter | Change "View All" posts pages to search page #1337

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

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

Conversation

ckhackshaw
Copy link
Member

Fixes #1281

Here's what I have done so far.

As I commented in the issue, this solution adds the filter bar to the "View All" articles page.

I will have to add a lot of the functionality for the filter barthat already exists on the search page. Considering DRY principle, I am thinking that I would probably have to extract some to hooks.

That's why I was wondering if the idea was to use a simple link as is used for the "View All" Collections button (https://playfulprogramming.com/search?q=*&display=collections).

I had assumed the feature request was based on the last comment from @jessi-z3.

Copy link

vercel bot commented May 23, 2025

@ckhackshaw is attempting to deploy a commit to the OceanBit Team on Vercel.

A member of the Team first needs to authorize it.

@ckhackshaw ckhackshaw force-pushed the view-all-articles-filter branch from 4c5be23 to 3fba384 Compare May 27, 2025 04:04
@ckhackshaw
Copy link
Member Author

@fennifith I have made the changes discussed in the issue, I have yet to do the following:

  • delete src/pages/page/[page].astro
  • delete src/views/explore/page.astro

Just confirming that this is what you wanted, and that I should go ahead and delete the above files

@fennifith
Copy link
Member

@ckhackshaw Yep, that's correct!

It might also be a good idea to add a redirect from /page/:num -> /search in vercel.json so that there isn't an SEO impact from removing that URL.

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.

Change "View All" posts pages to search page
2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy