Skip to content

Change "View All" posts pages to search page #1281

Closed
@PatchGopher

Description

@PatchGopher

Description

At the moment the "View all" button on the Homepage directs to https://playfulprogramming.com/page/.
On my first Visit I wasn't aware that I can filter Articles. I was simply browsing all pages although I would have known the tag (but not the title). In fact, I found the filters by accident & spent a minute to find them again.

I suggest merging the collections view & the pages view somehow.

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

Activity

changed the title [-][Feature Request]: Make the user aware of the fact he can filter.[/-] [+]Change "View All" posts pages to search page[/+] on Feb 5, 2025
BamaCharanChhandogi

BamaCharanChhandogi commented on Apr 10, 2025

@BamaCharanChhandogi
Contributor

Hi @PatchGopher ,
Which View all button are you talking about?

jessi-z3

jessi-z3 commented on Apr 12, 2025

@jessi-z3
Contributor

I believe this is in reference to post page 1.

Image

I believe it expected behavior when clicking View All next to Recent Articles that you see the list of articles by most recent.

Entering a Search query or clicking View All for Collections displays the filters.

I think we could garner support for adding the filters to the Recent Articles (posts) pages, since it sounds like that is the goal here.

crutchcorn

crutchcorn commented on May 3, 2025

@crutchcorn
Member

Blocked by #1209

ckhackshaw

ckhackshaw commented on May 21, 2025

@ckhackshaw
Member

Blocked by #1209

I think this is now ready to move forward @crutchcorn.

The view all page is already sorted by the most recent articles, so I will just add the filters to this page.

ckhackshaw

ckhackshaw commented on May 22, 2025

@ckhackshaw
Member

I may have gone down the wrong path here....

I think we could garner support for adding the filters to the Recent Articles (posts) pages, since it sounds like that is the goal here.

Seeing this comment, I thought that the feature requested was to add the filter bar to the posts page.

Did you just want the link changed to go to the search page?

@crutchcorn @fennifith

EDIT: To expound on above, I noticed that the collections "View All" button linked to the search page with relevant parameters, but the articles "View All" button linked to a different page. My assumption was that I needed to redesign this page to have the filter bar with the required functionality.

moved this from Todo to In Review in FE Dev Workon May 23, 2025
fennifith

fennifith commented on May 24, 2025

@fennifith
Member

@ckhackshaw I'd understood this as removing the post pages entirely, and having the posts "View all" link go to the search page filtered to articles, similar to how the collections link works (calling buildSearchQuery with "posts" instead of "collections"). That way it wouldn't need to reimplement the query/filter behavior.

Also, the current /page/[number] URLs would not be compatible with filters, as right now they're statically generated. So I don't see how this is possible without the end result being a duplicate of the search page either way.

Sorry to make you change your PR after starting it...

ckhackshaw

ckhackshaw commented on May 26, 2025

@ckhackshaw
Member

@fennifith that's what I was thinking, something didn't feel right when I was making the changes and so much was going to end up being reused. It felt like the search page without the ability to search.

I'll make those changes.

moved this from In Review to In Progress in FE Dev Workon May 26, 2025
moved this from In Progress to In Review in FE Dev Workon May 27, 2025
added a commit that references this issue on Jul 16, 2025
5bf4a04
moved this from In Review to Done in FE Dev Workon Jul 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

    Participants

    @crutchcorn@fennifith@BamaCharanChhandogi@ckhackshaw@jessi-z3

    Issue actions

      Change "View All" posts pages to search page · Issue #1281 · playfulprogramming/playfulprogramming