Skip to content

Sj/intorg 465#297

Draft
JoblersTune wants to merge 10 commits into
stagingfrom
sj/INTORG-465
Draft

Sj/intorg 465#297
JoblersTune wants to merge 10 commits into
stagingfrom
sj/INTORG-465

Conversation

@JoblersTune

@JoblersTune JoblersTune commented May 15, 2026

Copy link
Copy Markdown
Collaborator

Summary

Blogs can be filtered by language and tags and should be able to switch between ES and EN states while keeping consistent states and pagination.

On EN page /blog

  • When you land on /blog the EN language content filter should be set and the All tag should be set and no disclaimers are shown
  • Can select lang content filter and paginate (i.e. pagniation carries awareness of language filters consistently for next, previous, first and last buttons)
    • if you use the ES language content filter two disclaimers should be shown (blog.lang_filter.viewing_es_posts and blog.lang_filter.more_en_available)
    • if you use the EN filter then no disclaimers should be shown
  • Can select content tag filter and pagniate (i.e. pagniation carries awareness of tag filters consistently for next, previous, first and last buttons)
  • Can select language and tag content filters and paginate (i.e. pagniation carries awareness of language and tag filters consistently for next, previous, first and last buttons)
  • Can remove switch language filters (i.e. return to EN)
  • Can switch tag filters (only one tag can be applied at a time)
  • Can remove tag filters (ie. return to All)
  • Changing any filter (language or tag) while on a paginated results page resets pagination to page 1.

On ES page /es/blog

  • When you land on /es/blog the ES language content filter should be set and the All tag should be set and a disclaimer should show (blog.lang_filter.more_en_available)
  • Can select lang content filter and paginate (i.e. pagniation carries awareness of language filters consistently for next, previous, first and last buttons)
    • if you select the EN filter then one disclaimer should show (blog.lang_filter.viewing_en_posts)
    • if you filter on ES then one disclaimer should show (blog.lang_filter.more_en_available).
  • Can select content tag filter and pagniate (i.e. pagniation carries awareness of tag filters consistently for next, previous, first and last buttons)
  • Can select language and tag content filters and paginate (i.e. pagniation carries awareness of language and tag filters consistently for next, previous, first and last buttons)
  • Can remove switch language filters (i.e. return to ES)
  • Can switch tag filters (only one tag can be applied at a time)
  • Can remove tag filters (ie. return to All)
  • Changing any filter (language or tag) while on a paginated results page resets pagination to page 1.

Navigating from EN to ES using the global language switcher

  • If you land on /blog and switch to /es/blog then the ES language content filter should be set and the All tag should be set and a disclaimer should show (blog.lang_filter.more_en_available)
  • If you are on /blog and you select the ES language filter and then use the global language switcher to navigate to /es/blog the ES language filter should stay on and a disclaimer should show (blog.lang_filter.more_en_available)
  • If you are on /blog and you select a tag filter and then use the global language switcher to navigate to /es/blog the ES language filter should be applied and the tag should be applied and a disclaimer should be present (blog.lang_filter.more_en_available)
  • If you are on a pagination page e.g. /blog/tag/announcements/lang/es/2, /blog/5, etc. For any language or tag filter combination and you switch to the ES site using the global langauge switcher then pagination should always return to the first page.

Navigating from ES to EN using the global language switcher

  • If you land on /es/blog and switch to /blog then the EN language content filter should be set and the All tag should be set and no disclaimers should show
  • If you are on /es/blog and you select the EN language filter and then use the global language switcher to navigate to /blog the EN language filter should stay on and no disclaimers should be shown
  • If you are on /es/blog and you select a tag filter and then use the global language switcher to navigate to /blog the EN language filter should be set on and the tag should be applied and no disclaimers should be applied
  • If you are on a pagination page e.g. /es/blog/tag/announcements/lang/en/3, /es/blog/2, etc. For any language or tag filter combination and you switch to the EN site using the global langauge switcher then pagination should always return to the first page.

Tag Availability & Empty State

All tags are available when the EN language filter is active. Only a subset of tags are available when the ES language filter is active. Unavailable tags are greyed out but still visible.

Edge case — tag becomes unavailable after switching to ES: if a user has an EN-only tag selected and then switches to the ES language filter (via the content filter or the global switcher), no posts will match. In this state:

Show blog.empty_tag_lang.message and blog.lang_filter.more_en_available
Below those disclaimers, display all ES posts (ignoring the now-invalid tag filter) rather than showing an empty list. But keep the tag as part of the URL path since if the person switches to the EN site then their tag settings will still be respected.

Related Issue

Fixes INTORG-465

Manual Test

See all required behaviour in the description

Checks

  • pnpm run format
  • pnpm run lint

PR Checklist

  • PR title follows Conventional Commits (e.g. feat: ..., fix: ...)
  • Linked issue included
  • Scope is focused (target ~10-20 files when possible)
  • Screenshots for UI changes (if applicable)

@JoblersTune JoblersTune self-assigned this May 15, 2026
@netlify

netlify Bot commented May 15, 2026

Copy link
Copy Markdown

Deploy Preview for interledger-org-v5 ready!

Name Link
🔨 Latest commit 1a20c2e
🔍 Latest deploy log https://app.netlify.com/projects/interledger-org-v5/deploys/6a2bcd3c0505a8000802f9cc
😎 Deploy Preview https://deploy-preview-297--interledger-org-v5.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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.

1 participant