From e3137ed680dc967ef635ff4baca380f98020a36b Mon Sep 17 00:00:00 2001 From: Olga Bulat Date: Sun, 4 Jun 2023 20:05:41 +0300 Subject: [PATCH 1/4] Add Nuxt 3 migration project proposal --- ...30604-project_proposal_nuxt_3_migration.md | 72 +++++++++++++++++++ .../proposals/nuxt_3_migration/index.md | 9 +++ 2 files changed, 81 insertions(+) create mode 100644 documentation/projects/proposals/nuxt_3_migration/20230604-project_proposal_nuxt_3_migration.md create mode 100644 documentation/projects/proposals/nuxt_3_migration/index.md diff --git a/documentation/projects/proposals/nuxt_3_migration/20230604-project_proposal_nuxt_3_migration.md b/documentation/projects/proposals/nuxt_3_migration/20230604-project_proposal_nuxt_3_migration.md new file mode 100644 index 00000000000..398cb6f88c4 --- /dev/null +++ b/documentation/projects/proposals/nuxt_3_migration/20230604-project_proposal_nuxt_3_migration.md @@ -0,0 +1,72 @@ +# 2023-06-02 Project Proposal + +**Author**: @olgabulat + +## Reviewers + + + +- [ ] @zackkrida - for previous experience of migrating the project to Nuxt +- [ ] @sarayourfriend - for extensive experience on the frontend + +## Project summary + + + +Openverse should migrate from Nuxt 2, which is about to reach end-of-life, to +Nuxt 3. + +## Goals + + + +Developer experience + +## Requirements + + + +- Openverse should run on Nuxt 3. +- All the current functionality should work as expected. +- All the dependencies should be either updated to latest versions that support + Nuxt 3 or replaced with the ones that support Nuxt 3. +- (Optional) Nuxt app should use node version 20, and pnpm version 8. + +## Success + + + +Openverse uses Nuxt 3, the end-users see no regressions, and the developer +experience is improved due to faster build times. + +## Participants and stakeholders + + + +Lead: @obulat Implementation: @obulat, TBD Stakeholders: Openverse team + +## Infrastructure + + + +There should be no infrastructure changes. + +## Accessibility + + + +Updating to Nuxt 3 could improve the accessibility for slow internet/low-spec +devices by improving the app performance. There should be no changes in terms of +accessibility for screen-reader and keyboard users. + +## Marketing + + + +We could share a post on Make WordPress about the Nuxt 3 migration. + +## Required implementation plans + + + +Frontend implementation plan. diff --git a/documentation/projects/proposals/nuxt_3_migration/index.md b/documentation/projects/proposals/nuxt_3_migration/index.md new file mode 100644 index 00000000000..146508288e3 --- /dev/null +++ b/documentation/projects/proposals/nuxt_3_migration/index.md @@ -0,0 +1,9 @@ +# Trust and Safety + +```{toctree} +:titlesonly: +:glob: + +* +*/index +``` From 25c51465e2148d7c217b64dfc8eeaec78a0dcea2 Mon Sep 17 00:00:00 2001 From: Olga Bulat Date: Mon, 5 Jun 2023 09:35:39 +0300 Subject: [PATCH 2/4] Fix index.md --- documentation/projects/proposals/nuxt_3_migration/index.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/documentation/projects/proposals/nuxt_3_migration/index.md b/documentation/projects/proposals/nuxt_3_migration/index.md index 146508288e3..f8ec1089fa5 100644 --- a/documentation/projects/proposals/nuxt_3_migration/index.md +++ b/documentation/projects/proposals/nuxt_3_migration/index.md @@ -1,9 +1,8 @@ -# Trust and Safety +# Nuxt 3 Migration ```{toctree} :titlesonly: :glob: * -*/index ``` From 9d375cbdf53773dadfe342cdad3cfade12673930 Mon Sep 17 00:00:00 2001 From: Olga Bulat Date: Mon, 5 Jun 2023 17:08:36 +0300 Subject: [PATCH 3/4] Update documentation/projects/proposals/nuxt_3_migration/20230604-project_proposal_nuxt_3_migration.md --- .../20230604-project_proposal_nuxt_3_migration.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/documentation/projects/proposals/nuxt_3_migration/20230604-project_proposal_nuxt_3_migration.md b/documentation/projects/proposals/nuxt_3_migration/20230604-project_proposal_nuxt_3_migration.md index 398cb6f88c4..6dc5a47bcd2 100644 --- a/documentation/projects/proposals/nuxt_3_migration/20230604-project_proposal_nuxt_3_migration.md +++ b/documentation/projects/proposals/nuxt_3_migration/20230604-project_proposal_nuxt_3_migration.md @@ -30,7 +30,10 @@ Developer experience - All the current functionality should work as expected. - All the dependencies should be either updated to latest versions that support Nuxt 3 or replaced with the ones that support Nuxt 3. -- (Optional) Nuxt app should use node version 20, and pnpm version 8. + +- Nuxt app should migrate from node version 16 to the active LTS version 18 (or + the current version 20, which will become active LTS on 2023-10-24). +- (Optional) Nuxt app should migrate to pnpm version 8 ## Success From 5e25ea1676a8cecb797bf6f3dfce66c514a92909 Mon Sep 17 00:00:00 2001 From: Olga Bulat Date: Tue, 6 Jun 2023 09:28:26 +0300 Subject: [PATCH 4/4] Update the review status --- .../20230604-project_proposal_nuxt_3_migration.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/documentation/projects/proposals/nuxt_3_migration/20230604-project_proposal_nuxt_3_migration.md b/documentation/projects/proposals/nuxt_3_migration/20230604-project_proposal_nuxt_3_migration.md index 6dc5a47bcd2..97e2fde0c2e 100644 --- a/documentation/projects/proposals/nuxt_3_migration/20230604-project_proposal_nuxt_3_migration.md +++ b/documentation/projects/proposals/nuxt_3_migration/20230604-project_proposal_nuxt_3_migration.md @@ -6,8 +6,8 @@ -- [ ] @zackkrida - for previous experience of migrating the project to Nuxt -- [ ] @sarayourfriend - for extensive experience on the frontend +- [x] @zackkrida - for previous experience of migrating the project to Nuxt +- [x] @sarayourfriend - for extensive experience on the frontend ## Project summary