Skip to content

Commit 121f3da

Browse files
authored
Merge pull request #1505 from City-of-Helsinki/release-4.4.0
Release 4.4.0
2 parents 4e32154 + c950228 commit 121f3da

File tree

47 files changed

+706
-141
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+706
-141
lines changed

.commitlintrc.mjs

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
export default {
2+
extends: [
3+
'@commitlint/config-conventional'
4+
],
5+
ignores: [
6+
(message) => message.includes('Signed-off-by: dependabot[bot]')
7+
],
8+
rules: {
9+
'header-max-length': [
10+
2,
11+
'always',
12+
72
13+
],
14+
'body-max-line-length': [
15+
2,
16+
'always',
17+
72
18+
],
19+
'body-leading-blank': [
20+
2,
21+
'always'
22+
],
23+
'type-enum': [
24+
2,
25+
'always',
26+
[
27+
'build',
28+
'chore',
29+
'ci',
30+
'deps',
31+
'docs',
32+
'feat',
33+
'fix',
34+
'perf',
35+
'refactor',
36+
'revert',
37+
'style',
38+
'test'
39+
]
40+
]
41+
}
42+
};

.github/workflows/commitlint.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Lint Commit Messages
2+
on: [pull_request]
3+
4+
permissions:
5+
contents: read
6+
pull-requests: read
7+
8+
jobs:
9+
commitlint:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: wagoid/commitlint-github-action@v6
14+
with:
15+
configFile: ./commitlint.config.mjs

.github/workflows/hds-demo-preview-clean.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@ on:
55
branches:
66
- development
77
- release-*
8-
- 'feature/*'
98
types:
109
- closed
1110

1211
jobs:
1312
build_and_publish_demo:
1413
if: github.event.pull_request.draft == false
1514
runs-on: ubuntu-latest
15+
concurrency:
16+
group: hds-demo-${{ github.ref }}
1617

1718
steps:
1819
- name: Checkout code hds-demo
@@ -41,6 +42,7 @@ jobs:
4142
git config --global user.name "Github Actions"
4243
git status
4344
git add .
44-
git commit -m "Updated pr ${{ github.event.number }}"
45+
git commit -m "chore: hds-demo-preview-clean workflow updated pr ${{ github.event.number }}"
46+
git pull --rebase || (sleep 20 && git pull --rebase)
4547
git push
4648
working-directory: ./hds-demo

.github/workflows/hds-demo-preview.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@ on:
55
branches:
66
- development
77
- release-*
8-
- 'feature/*'
98
push:
109
branches:
1110
- development
1211
- release-*
13-
- 'feature/*'
1412

1513
jobs:
1614
build_and_publish_demo:
1715
if: github.event.pull_request.draft == false
1816
runs-on: ubuntu-latest
17+
concurrency:
18+
group: hds-demo-${{ github.ref }}
1919

2020
env:
2121
PATH_PREFIX: "/hds-demo/preview_${{ github.event.number != '' && github.event.number || github.ref_name }}"
@@ -122,9 +122,9 @@ jobs:
122122
git config --global user.name "Github Actions"
123123
git status
124124
git add .
125-
git commit -m "Updated preview to $DEMO_NAME"
125+
git commit -m "chore: hds-demo-previewworkflow updated preview to $DEMO_NAME"
126126
git status
127-
git pull --rebase
127+
git pull --rebase || (sleep 20 && git pull --rebase)
128128
git push
129129
working-directory: ./hds-demo
130130

.github/workflows/update-icon-library.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ jobs:
139139
git config --global user.email "hds@hel.fi"
140140
git config --global user.name "Github Actions"
141141
git add .
142-
git commit -m 'Updated icon library'
142+
git commit -m 'chore: update-icon-library workflow update icon library'
143143
git push
144144
145145
- name: End

.husky/commit-msg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
yarn commitlint --edit $1

CHANGELOG.md

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,35 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [4.4.0] - April, 3rd, 2025
9+
10+
### React
11+
12+
#### Changed
13+
14+
- [Notification] `autoCloseDuration` is now calculated automatically if not provided (displayed a minimum of 4000ms)
15+
16+
#### Fixed
17+
18+
- [FileInput] `defaultValue` triggered the `onChange` prop function
19+
- [FileInput] display the "No file selected" only when `required` prop is given and no file(s) selected
20+
- [Footer] fix `Footer.Base` logo tabIndex issue, it was falsely given zero which prevented focus
21+
22+
### Documentation
23+
24+
#### Fixed
25+
26+
- Bug of anchor links on the documentation page
27+
- Page footer Helsinki logo link
28+
- Focus follows anchor links
29+
- Permalinks of headings are fixed better for screen readers
30+
31+
### Figma
32+
33+
#### Fixed
34+
35+
- [Header] UniversalBar properties mix-up and responsiveness issues.
36+
837
## [4.3.0] - March, 7, 2025
938

1039
### React
@@ -15,7 +44,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1544

1645
#### Fixed
1746

18-
- [Component] What bugs/typos are fixed?
1947
- [Login] Fix issue when cancelling logging in by browser back-button which caused the state to remain in "logging in", disabling the button.
2048
- [SelectionGroup] Fix warnings about groups with no selections since the new guideline is not to have a preselected value.
2149
- [Header] Keyboard navigation in mobile menu allows navigation to browser controls, but not to page contents under mobile menu

e2e/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "e2e",
33
"private": true,
44
"description": "e2e tests using Playwright",
5-
"version": "4.3.0",
5+
"version": "4.4.0",
66
"scripts": {
77
"ci": "npx playwright test",
88
"playwright-install": "yarn playwright install --with-deps chromium",
-3.1 KB
Loading
-2.79 KB
Loading

0 commit comments

Comments
 (0)