From 8c8994de7700c51565ff483e57220a6a0d2aa3c6 Mon Sep 17 00:00:00 2001 From: Natasha Pierre-Louis Date: Wed, 10 Jul 2024 07:06:53 -0600 Subject: [PATCH] Updated the focus on the drag list and UI updates (#248) * Updated the focus on the drag list and UI updates * Add link to nvmrc and NVM repository * Upgrade to pnpm/action-setup@v4 (v2 is now incompatible with npm - https://github.com/pnpm/action-setup/issues/135) * Fix test of page title editing * Fixed the style of the draggable item states * Fixed the style of the draggable item states --------- Co-authored-by: Daniel Naab Co-authored-by: Daniel Naab --- .github/workflows/_terraform-apply.yml | 2 +- .../workflows/_terraform-plan-pr-comment.yml | 2 +- .github/workflows/_validate.yml | 2 +- README.md | 6 ++++ .../FormEdit/AddPatternDropdown.tsx | 20 ++++++------- .../FormEdit/components/PageEdit.tsx | 7 ++++- .../components/PageSetEdit.stories.tsx | 3 +- .../PreviewSequencePattern/DraggableList.tsx | 20 ++++++++----- .../FormEdit/formEditStyles.module.css | 29 ++++++++++++++++++- packages/design/src/test-form.ts | 4 +-- 10 files changed, 70 insertions(+), 25 deletions(-) diff --git a/.github/workflows/_terraform-apply.yml b/.github/workflows/_terraform-apply.yml index 9988a8f8..8f4ddb87 100644 --- a/.github/workflows/_terraform-apply.yml +++ b/.github/workflows/_terraform-apply.yml @@ -28,7 +28,7 @@ jobs: node-version: ${{ steps.nvmrc.outputs.NODE_VERSION }} - name: Install pnpm - uses: pnpm/action-setup@v2 + uses: pnpm/action-setup@v4 id: pnpm-install with: version: 8 diff --git a/.github/workflows/_terraform-plan-pr-comment.yml b/.github/workflows/_terraform-plan-pr-comment.yml index b98ca1b5..5340be84 100644 --- a/.github/workflows/_terraform-plan-pr-comment.yml +++ b/.github/workflows/_terraform-plan-pr-comment.yml @@ -30,7 +30,7 @@ jobs: node-version: ${{ steps.nvmrc.outputs.NODE_VERSION }} - name: Install pnpm - uses: pnpm/action-setup@v2 + uses: pnpm/action-setup@v4 id: pnpm-install with: version: 8 diff --git a/.github/workflows/_validate.yml b/.github/workflows/_validate.yml index c676e3f5..7acb5b7c 100644 --- a/.github/workflows/_validate.yml +++ b/.github/workflows/_validate.yml @@ -22,7 +22,7 @@ jobs: node-version: ${{ steps.nvmrc.outputs.NODE_VERSION }} - name: Install pnpm - uses: pnpm/action-setup@v2 + uses: pnpm/action-setup@v4 id: pnpm-install with: version: 8 diff --git a/README.md b/README.md index f8c1d17a..50e5a97f 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,12 @@ The platform is made up of the following high-level terms. ## Development +This project uses the version of Node.js defined in [.nvmrc](./nvmrc). To ensure you're using the correct node version, you may use the [Node Version Manager (NVM)](https://github.com/nvm-sh/nvm): + +```bash +nvm install +``` + This project uses [pnpm workspaces](https://pnpm.io/workspaces). To work with this project, [install pnpm](https://pnpm.io/installation) and then the project dependencies: ```bash diff --git a/packages/design/src/FormManager/FormEdit/AddPatternDropdown.tsx b/packages/design/src/FormManager/FormEdit/AddPatternDropdown.tsx index d44bbbfa..e5c396e6 100644 --- a/packages/design/src/FormManager/FormEdit/AddPatternDropdown.tsx +++ b/packages/design/src/FormManager/FormEdit/AddPatternDropdown.tsx @@ -172,22 +172,22 @@ export const FieldsetAddPatternButton = ({ isOpen={isOpen} patternSelected={patternSelected} > - {' '}