Skip to content

Commit 3243927

Browse files
authored
Merge pull request #479 from opf/changeset-release/main
Release Tracking
2 parents 971cce2 + 68981c1 commit 3243927

8 files changed

Lines changed: 20 additions & 20 deletions

File tree

.changeset/all-paths-dance.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

.changeset/many-sheep-yell.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# CHANGELOG
22

3+
## 0.88.0
4+
5+
### Minor Changes
6+
7+
- [#475](https://github.com/opf/primer_view_components/pull/475) [`971cce2`](https://github.com/opf/primer_view_components/commit/971cce293e17f5d50e171aa8bfe17a39d2353ae7) Thanks [@HDinger](https://github.com/HDinger)! - Fix selection of nodes with the same path in Primer::Alpha::TreeView
8+
9+
When a `[role=treeitem]` element carries a `data-node-id` attribute, that id is now included as `nodeId` in the hidden form input payload (`{path, nodeId?, value?}`). Trees with duplicate-path nodes should set `data-node-id` to a stable unique identifier so the server can distinguish which node was selected.
10+
11+
**Breaking change in `TreeViewElement#checkOnlyAtPath`:** if the given path is not found the method is now a no-op. Previously it would uncheck all active nodes before failing to check the missing node, which could be used as an indirect "clear selection" mechanism. Use explicit `setNodeCheckedValue(node, 'false')` calls if that behaviour is needed.
12+
13+
### Patch Changes
14+
15+
- [#477](https://github.com/opf/primer_view_components/pull/477) [`5877f1b`](https://github.com/opf/primer_view_components/commit/5877f1bf19827ab15f4f6ea3617a761c429db467) Thanks [@HDinger](https://github.com/HDinger)! - Align Primer::OpenProject::InputGroup with error messages
16+
317
## 0.87.0
418

519
### Minor Changes

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
openproject-primer_view_components (0.87.0)
4+
openproject-primer_view_components (0.88.0)
55
actionview (>= 7.2.0)
66
activesupport (>= 7.2.0)
77
openproject-octicons (>= 19.34.0)

demo/Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: ..
33
specs:
4-
openproject-primer_view_components (0.87.0)
4+
openproject-primer_view_components (0.88.0)
55
actionview (>= 7.2.0)
66
activesupport (>= 7.2.0)
77
openproject-octicons (>= 19.34.0)

lib/primer/view_components/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ module Primer
55
module ViewComponents
66
module VERSION
77
MAJOR = 0
8-
MINOR = 87
8+
MINOR = 88
99
PATCH = 0
1010

1111
STRING = [MAJOR, MINOR, PATCH].join(".")

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@openproject/primer-view-components",
3-
"version": "0.87.0",
3+
"version": "0.88.0",
44
"description": "ViewComponents of the Primer Design System for OpenProject",
55
"main": "app/assets/javascripts/primer_view_components.js",
66
"module": "app/components/primer/primer.js",

0 commit comments

Comments
 (0)