Skip to content

Commit

Permalink
Merge branch 'bump/primer-upstream-ref' into bump/primer-upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
HDinger committed Oct 20, 2023
2 parents 86585a7 + 5117b75 commit e2cb8ff
Show file tree
Hide file tree
Showing 113 changed files with 3,881 additions and 2,029 deletions.
7 changes: 7 additions & 0 deletions .changeset/chilly-elephants-roll.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@openproject/primer-view-components': patch
---

fix SegmentedControl alignment issues

<!-- Changed components: SegmentedControl -->
11 changes: 11 additions & 0 deletions .changeset/clever-rockets-tan.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
'@openproject/primer-view-components': minor
---

Update tooltip design
- Removes caret
- Decrease offset
- Remove animation delay
- Use v8 color tokens

<!-- Changed components: Tooltip -->
7 changes: 7 additions & 0 deletions .changeset/eleven-steaks-press.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@openproject/primer-view-components': patch
---

Fixes issue where sometimes a dialog cannot be closed if another is open

<!-- Changed components: Primer::Alpha::Dialog -->
7 changes: 7 additions & 0 deletions .changeset/large-actors-reply.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@openproject/primer-view-components': minor
---

Fix multi-select behavior when ActionMenus are embedded in dialogs

<!-- Changed components: Primer::Alpha::ActionMenu -->
7 changes: 7 additions & 0 deletions .changeset/pink-wolves-fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@openproject/primer-view-components': minor
---

Allow ActionMenu items to submit multiple values on form submission; fix keyboard handling for submit items

<!-- Changed components: Primer::Alpha::ActionMenu -->
5 changes: 5 additions & 0 deletions .changeset/poor-rats-jam.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@openproject/primer-view-components": patch
---

Fix ActionBar issue where left and end key don't loop around to end of the action bar items.
5 changes: 5 additions & 0 deletions .changeset/purple-fans-pump.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@openproject/primer-view-components": patch
---

Bug fix: Respect autofocus attributes inside of a Dialog when opening a modal-dialog. When the dialog was opening before it was always focusing the first focusable element which was always the close button.
8 changes: 0 additions & 8 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ updates:
- "dependencies"
- "skip changeset"
- "npm"
allow:
- dependency-type: "production"
- package-ecosystem: "npm"
directory: "/demo"
schedule:
Expand All @@ -31,8 +29,6 @@ updates:
- "dependencies"
- "skip changeset"
- "npm"
allow:
- dependency-type: "production"

# Bundler
- package-ecosystem: "bundler"
Expand All @@ -43,8 +39,6 @@ updates:
- "dependencies"
- "skip changeset"
- "bundler"
allow:
- dependency-type: "production"
- package-ecosystem: "bundler"
directory: "/demo"
schedule:
Expand All @@ -53,5 +47,3 @@ updates:
- "dependencies"
- "skip changeset"
- "bundler"
allow:
- dependency-type: "production"
2 changes: 1 addition & 1 deletion .github/workflows/accessibility-alt-text-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ jobs:
if: ${{ github.event.issue || github.event.pull_request || github.event.discussion }}
steps:
- name: Get action 'github/accessibility-alt-text-bot'
uses: github/accessibility-alt-text-bot@v1.3.0
uses: github/accessibility-alt-text-bot@v1.4.0
14 changes: 0 additions & 14 deletions .github/workflows/changesets.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/demo-preview-destroy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
subscription-id: "550eb99d-d0c7-4651-a337-f53fa6520c4f"

- name: Check out repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Get preview app info
run: ./.github/workflows/demo-preview-app-info.sh
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/demo-production-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
environment: production
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
Expand Down Expand Up @@ -66,13 +66,13 @@ jobs:
environment: production
needs: build
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
bundler-cache: true
- uses: actions/[email protected].1
- uses: actions/[email protected].2
with:
path: demo/gemfiles/vendor/bundle
key: gems-build-kuby-main-ruby-3.2.x-${{ hashFiles('demo/gemfiles/kuby.gemfile.lock') }}
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ jobs:
markdown:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Get specific changed files
id: changed-files
uses: tj-actions/changed-files@v38.2.0
uses: tj-actions/changed-files@v39.2.3
with:
files: |
**/*.md
Expand All @@ -35,10 +35,10 @@ jobs:
rubocop:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Get specific changed files
id: changed-files
uses: tj-actions/changed-files@v38.2.0
uses: tj-actions/changed-files@v39.2.3
with:
files: |
app/**/*.rb
Expand All @@ -58,10 +58,10 @@ jobs:
erblint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v38.2.0
uses: tj-actions/changed-files@v39.2.3
with:
files: |
app/components/**/*.erb
Expand All @@ -78,10 +78,10 @@ jobs:
eslint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v38.2.0
uses: tj-actions/changed-files@v39.2.3
with:
files: |
app/components/**/*.ts
Expand All @@ -99,10 +99,10 @@ jobs:
stylelint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v38.2.0
uses: tj-actions/changed-files@v39.2.3
with:
files: |
app/components/**/*.pcss
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/preview-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
# to link a PR to a list of environments later.
url: ${{ env.APP_URL }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install lib deps
uses: ruby/setup-ruby@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-checklist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- uses: jwalton/gh-find-current-pr@v1
id: findPr

Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0
Expand All @@ -33,10 +33,6 @@ jobs:
npm ci
bundle install
# `changesets/action` depends on @changesets/cli being installed
# and we cannot add it as dependency because it conflicts with `primer-changesets-cli`
- run: npm install @changesets/[email protected]

- name: Create release pull request or publish to npm
id: changesets
uses: changesets/action@v1
Expand Down
15 changes: 0 additions & 15 deletions .github/workflows/release_notification.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/static-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
steps:
# Unfortunately we can't use the primer GitHub App and camertron/github-app-installation-auth-action
# because branch protection rules cannot be bypassed by Apps.
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
token: ${{ secrets.GPR_AUTH_TOKEN_SHARED }}
- uses: ruby/setup-ruby@v1
Expand All @@ -29,7 +29,7 @@ jobs:
bundle exec rake utilities:build
bundle exec rake docs:build
bundle exec rake static:dump
- uses: stefanzweifel/git-auto-commit-action@v4
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Generating static files
commit_user_name: OpenProject CI
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
name: Accessibility
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
- rails_version: "main"
ruby_version: "3.2"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby_version }}
Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:
- rails_version: "main"
ruby_version: "3.2"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby_version }}
Expand Down Expand Up @@ -140,7 +140,7 @@ jobs:
- rails_version: "main"
ruby_version: "3.2"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby_version }}
Expand All @@ -163,7 +163,7 @@ jobs:
name: System
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
Expand All @@ -188,7 +188,7 @@ jobs:
timeout-minutes: 20
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
Expand All @@ -215,7 +215,7 @@ jobs:
continue-on-error: true
run: npx playwright test --workers 6
- id: auto-commit
uses: stefanzweifel/git-auto-commit-action@v4
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Generating component snapshots
file_pattern: .playwright/screenshots/**/*.png
Expand Down Expand Up @@ -244,7 +244,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/triage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- if: "contains(github.event.pull_request.labels.*.name, 'skip changeset')"
run: echo "passed"; exit 0;
- if: "!contains(github.event.pull_request.labels.*.name, 'skip changeset')"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- if: "!contains(github.event.pull_request.labels.*.name, 'skip changeset')"
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ inherit_gem:
- config/default_edge.yml
- config/rails_edge.yml
require:
- rubocop-rails-accessibility
- rubocop/cop/primer

AllCops:
Expand Down
Loading

0 comments on commit e2cb8ff

Please sign in to comment.