diff --git a/Makefile b/Makefile index 9299279..819121f 100644 --- a/Makefile +++ b/Makefile @@ -324,14 +324,13 @@ upgrade-gitignore-stats: fi upgrade-remove-husky: - @test -d .husky\ - && rm -R .husky\ - && git add .husky\ - && git commit .husky -m"maint: @patternslib/dev upgrade - remove .husky directory in favor of git hooks."\ + @test -d .husky \ + && rm -R .husky \ + && git add .husky \ + && git commit .husky -m"maint: @patternslib/dev upgrade - remove .husky directory in favor of git hooks." \ + && echo "Removed husky configuration in favor of git commit hooks." \ || : - @# supress output, even in error case: - @git config --unset core.hooksPath || : - echo "Upgraded husky configuration" + @git config --unset core.hooksPath 2>/dev/null || : eslint.config.js upgrade-eslint: @test -f "eslint.config.js"\ diff --git a/docs/adr/0003-link-sunburst-segments-to-chunks.md b/docs/adr/0003-link-sunburst-segments-to-chunks.md index 25ecd91..1f07efc 100644 --- a/docs/adr/0003-link-sunburst-segments-to-chunks.md +++ b/docs/adr/0003-link-sunburst-segments-to-chunks.md @@ -1,6 +1,6 @@ # Link sunburst segments to the existing asset filter -Status: Proposed (2026-12-01) +Status: Superseded by 0004 (2026-12-01) ## Context diff --git a/docs/adr/0004-select-chunk-from-sunburst-segment.md b/docs/adr/0004-select-chunk-from-sunburst-segment.md new file mode 100644 index 0000000..ce7dcb5 --- /dev/null +++ b/docs/adr/0004-select-chunk-from-sunburst-segment.md @@ -0,0 +1,36 @@ +# Select a matching chunk when a sunburst segment is activated + +Status: Proposed (2026-12-01) + +## Context + +ADR 0003 filtered the chunk dropdown when a sunburst segment was activated, +but kept the current selection. The chart therefore did not change, and +users still had to pick a chunk themselves. Clearing the filter also kept +the selected chunk, so the chart and the dropdown could show a chunk the +user no longer meant to inspect. + +The dropdown is a controlled React `