Skip to content

Commit

Permalink
Release notes MVP (#8802)
Browse files Browse the repository at this point in the history
* a release note about release notes

* a release note about release notes

* adding another sample

* rename dir

* trying to get release notes pages generating

* starting to get release notes loading

* releaseNotesListing

* bring back deleted stuff

* more progress on release notes

* adding a note

* updates

* release notes

* getting categories partially working

* starting on a separate category component

* more release notes cleanup

* listing all

* category listing

* moar templating

* getting tests passing

* adding playwright examples

* Add first pass at script to auto create releasenotes based on past changelog files

* Backfill changelog entries as release notes Sep - Dec 2023

* Revert "adding playwright examples"

This reverts commit 7e7e457.

* some cleanup

* react refactoring

* more cleanup

* react cleanup

* refactor

* release notes cat handling

* using color

* moving around code block

* whitespace

* more clean up

* date component

* release notes are kind of working

* a sort of working fragment

* fragment cleanup

* trying to make fragment a fragment in a different file

* moving fragment to other file

* breakthrough

* fragment again

* Define attributes for all 'Release Notes' categories in JSON

* adding todo about description

* fixing merge error

* starting category selector component

* menu

* switching to NavMenu

* two ways to do category selection

* some whitespace cleanup

* more category cleanup

* pure json

* adding json

* sourcing json

* updating selector to use json object

* working

* simplify categories

* loader

* render categories as tags

* selecto separator

* trying navigate()

* trying different callback construction

* Backfill changelog entries as release notes Sep - Dec 2023

* Define attributes for all 'Release Notes' categories in JSON

* Update src/data/releaseNoteCategories.js

Co-authored-by: Steve Persch <[email protected]>

* Update categories based on feedback in internal worksheet

* Rename account-management to billing

* Replace account-management category with billing category

* Remove action-required from OCP entry

* Update 2023-10-01-design-system-integration-docs.md

* Update 2023-12-01-elevated-experience-with-front-end-sites-drupal-starter-kit.md

* Update 2023-10-01-front-end-sites-settings.md

* Add new category for account management

* Update PDS version

* update visually-hidden classes

* Update front page to adapt to PDS changes

* Fix search bar width

* Update releaseNoteCategorySelector.js

Now uses Link

* Update releaseNoteCategories.json

Assign PDS tag colors

* Update PDS toolkit

* Revert mods no longer needed with PDS update

* Update releaseNotesListing.js

Add required key attribute

* Fix tabIndex console warning

* Add key for teaser here as well

* Update PDS toolkit

* Update and style PublishedDate component

* Update and style ReleaseNoteCategories

* update PublishedDate component

* Update releaseNotePage.js

clean up and style

* update ReleaseNoteTeaser

* style listing pages

* Update CODEOWNERS with release-note-authors

* testing

* update static header logo component

* update PDS toolkit

* Updates based on toolkit update

* Update categories heading with proper semantic h level

* update footer width

* Clean up styles on listing pages

* Update releaseNoteCategorySelector.js

Rework to pre-build array instead of a function to provide links

* Update gatsby-node.js

Remove old debugging code

* Update releaseNoteCategories.js

Function to determine active release notes categories

* Update releaseNoteCategorySelector.js

Configure to use only active categories

* Misc style tweaks

* Simplify category selector data transfer

* Update category tag placement

* Update PDS toolkit version

* update PDS toolkit

* Update releaseNotePage.js

Make kicker link back to release notes home

* assign tag colors

* Revert "Simplify category selector data transfer"

This reverts commit 3a2da86.

* Update releaseNoteCategorySelector.js

* Convert RN listing templates to functional components

...so we can use state

* testing basic RN search functionality

* Add random comment

* Revert "Add random comment"

This reverts commit b9edb38.

* fix typo in import name

* Delete platform category, in favor of infrastrcuture only based on discussion with Ingrid

* Update releaseNotesListing.js

Style form; add body to search; fix backtracking search

* Debounce release notes search

* Update releaseNotesListing.js

remove errant import

* Update releaseNotesListingByCategory.js

Add filter to category listing

* Update releaseNotesListingByCategory.js

Fix format of metatags

* Update releaseNotesListingByCategory.js

Fix spacing

* Clean up; add date to filter

* Exclude docs search from release notes pages

* spacing tweaks

* Add no results functionality for release notes

* Update font weight in subscribe button

* Relocate json dump defining categories to match release-notes branch

* Convert to JSON format, align with release-notes, remove platform, remove bugs/issues, remove integration, remove content-management

* Suggest updated colors for a few categories

* Swap out changelog for release-notes in site nav dropdown menu

* Use 'Release Notes (Changelog)' in the dropdown menu nav instead of 'Release Notes'

* Remove dupe entries added to help early dev and replaced by backfill task

* Ensure release note tags are alpha sorted

* Update category label casing

per convo w/Ingrid

* Update RN search language

* fix className syntax

* Testing search highlight functionality

* add highlighted mark styles

* Update releaseNoteCategories.json

Making all tags sentence case

* Update to sentence case in other RN UI

* Update releaseNotesListing.js

remove unnecessary import

* Finish adding RN highlighting

* update PDS toolkit

* Update 2023-12-31-new-release-notes-structure.md

* Update 2023-12-31-new-release-notes-structure.md

* Rename 2023-12-31-new-release-notes-structure.md to 2024-01-25 Pantheon release notes - A new year, a new chapter.md

* Rename 2024-01-25 Pantheon release notes - A new year, a new chapter.md to 2024-01-25--pantheon-release-notes-a-new-year-a-new-chapter.md

* Update 2024-01-25--pantheon-release-notes-a-new-year-a-new-chapter.md

* Create 2024-01-24-WP-CLI-v2-9-0-release-now-available-on-Pantheon.md

* Create 2024-01-23-wordpress-6-4-2-security-update.md

* Rename 2024-01-24-WP-CLI-v2-9-0-release-now-available-on-Pantheon.md to 2024-01-24-wp-cli-v2-9-0-release-now-available-on-pantheon.md

* Update 2024-01-23-wordpress-6-4-2-security-update.md

* Update 2024-01-23-wordpress-6-4-2-security-update.md

* Create drupal-7-99-release -bug fixes-and-feature-enhancements.md

* Rename drupal-7-99-release -bug fixes-and-feature-enhancements.md to 2024-01-22-drupal-7-99-release -bug fixes-and-feature-enhancements.md

* Update 2024-01-22-drupal-7-99-release -bug fixes-and-feature-enhancements.md

* Rename 2024-01-22-drupal-7-99-release -bug fixes-and-feature-enhancements.md to 2024-01-22-drupal-7-99-release-bug fixes-and-feature-enhancements.md

* Rename 2024-01-25--pantheon-release-notes-a-new-year-a-new-chapter.md to 2024-01-25-pantheon-release-notes-a-new-year-a-new-chapter.md

* Update 2024-01-25-pantheon-release-notes-a-new-year-a-new-chapter.md

* Update 2024-01-25-pantheon-release-notes-a-new-year-a-new-chapter.md

* Update 2023-12-01-optimized-monitoring-for-high-volume-directories.md

* Update 2024-01-24-wp-cli-v2-9-0-release-now-available-on-pantheon.md

* Update 2024-01-23-wordpress-6-4-2-security-update.md

* Update 2024-01-22-drupal-7-99-release-bug fixes-and-feature-enhancements.md

* Update 2024-01-22-drupal-7-99-release-bug fixes-and-feature-enhancements.md

* Update 2024-01-23-wordpress-6-4-2-security-update.md

* Update 2024-01-24-wp-cli-v2-9-0-release-now-available-on-pantheon.md

* Update 2024-01-25-pantheon-release-notes-a-new-year-a-new-chapter.md

* Update 2024-01-24-wp-cli-v2-9-0-release-now-available-on-pantheon.md

* Update 2024-01-23-wordpress-6-4-2-security-update.md

* Update 2024-01-22-drupal-7-99-release-bug fixes-and-feature-enhancements.md

* Update 2024-01-25-pantheon-release-notes-a-new-year-a-new-chapter.md

---------

Co-authored-by: Rachel Whitton <[email protected]>
Co-authored-by: Ingrid <[email protected]>
Co-authored-by: M Miller <[email protected]>
  • Loading branch information
4 people authored Jan 25, 2024
1 parent 87ec5f5 commit 44d179a
Show file tree
Hide file tree
Showing 75 changed files with 1,466 additions and 123 deletions.
2 changes: 2 additions & 0 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ source/content/guides/integrated-composer/ @pantheon-systems/lifecycle-ops
source/content/guides/multisite/ @pantheon-systems/cms-platform
# The cms-platform team is responsible for External Libraries on Pantheon
source/content/external-libraries @pantheon-systems/cms-platform
# There is a team just for release note permissions
source/releasenotes/ @pantheon-systems/release-note-authors
15 changes: 15 additions & 0 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,13 @@ module.exports = {
name: `data`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
path: `${__dirname}/source/releasenotescategories`,
name: `releasenotescategories`,
},
},
{
// Converts Markdown into HTML
resolve: `gatsby-transformer-remark`, // https://www.gatsbyjs.com/plugins/gatsby-transformer-remark/
Expand Down Expand Up @@ -97,6 +104,14 @@ module.exports = {
name: `changelogs`,
},
},

{
resolve: `gatsby-source-filesystem`,
options: {
path: `${__dirname}/source/releasenotes`,
name: `releasenotes`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
Expand Down
Loading

0 comments on commit 44d179a

Please sign in to comment.