Skip to content

feat: recent ideas block - choose specific slugs#257

Open
jawinn wants to merge 1 commit into
mainfrom
feat-posts-by-slug
Open

feat: recent ideas block - choose specific slugs#257
jawinn wants to merge 1 commit into
mainfrom
feat-posts-by-slug

Conversation

@jawinn

@jawinn jawinn commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator

Summary of changes

Adds an option to display specific articles in the recent ideas block by using a list of comma separated article slugs.
This requires the use of "ArticlesBySlug:" in the tag content column. Here is an example:
ArticlesBySlug: article-slug1, article-slug2

Any slugs that don't exist will be ignored and not displayed.

Includes an example and documentation in the Pattern Library.

Relevant Links

Test URLs:

Checklist

  • This PR has code changes, and our linters still pass.
  • In pattern library: The content of this PR requires documentation, so we added a detailed description of the component's purpose, requirements, quirks, and instructions for use by designers and developers. This includes accessibility information if pertinent.

Validation

  1. Make sure all PR checks have passed.
  2. Pull down all related branches.
  3. Confirm working example in pattern library displays the specific slugs. The example shows that it works whether or not slashes, line breaks, or spaces are included in the comma separated content. And that a non existing article does not appear or cause errors.
  4. Confirm no errors or change in posts displayed in the existing post lists on various pages (home, ideas, tag, pattern library, recent articles at the bottom of articles).

Browser Testing

We should aim to support the latest version of the listed browsers. For older versions or other browsers not on the list, content should be accessible, even if it doesn't completely match the designs.

Developers should test as they work in the browsers available on their machines. If they have access to other devices to test other browser/OS combinations, they should do that when possible.

Windows

  • Firefox
  • Chrome
  • Edge

MacOS

  • Firefox
  • Chrome
  • Safari
  • Edge

Android

  • Firefox
  • Chrome
  • Edge

iOS

  • Safari

Option to display specific articles in the recent ideas block by a list
of comma separated slugs. Usage in the tag content column:
"ArticlesBySlug: slug1, slug2"
@aem-code-sync

aem-code-sync Bot commented Jun 23, 2026

Copy link
Copy Markdown

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed.
In case there are problems, just click a checkbox below to rerun the respective action.

  • Re-run all PSI checks
  • Re-run failed PSI checks
  • Re-sync branch
Commits

@aem-code-sync

aem-code-sync Bot commented Jun 23, 2026

Copy link
Copy Markdown
Page Scores Audits Google
📱 / PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI
🖥️ / PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI

@jawinn jawinn marked this pull request as ready for review June 26, 2026 20:00
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