diff --git a/.github/workflows/static-files.yml b/.github/workflows/static-files.yml index a9ce1419bb..23dd6b0f32 100644 --- a/.github/workflows/static-files.yml +++ b/.github/workflows/static-files.yml @@ -12,7 +12,7 @@ jobs: static: runs-on: ubuntu-latest permissions: - contents: read + contents: write steps: - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3 id: app-token @@ -24,7 +24,6 @@ jobs: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 with: token: ${{ steps.app-token.outputs.token }} - persist-credentials: false - uses: ruby/setup-ruby@6aaa311d81eba98ae12eaffbcb63296ace0efcde # v1 with: ruby-version: '3.4' diff --git a/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/segmented_control/icons_and_text_small/default.png b/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/segmented_control/icons_and_text_small/default.png index 3bbf2eac2d..0597aaf9eb 100644 Binary files a/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/segmented_control/icons_and_text_small/default.png and b/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/segmented_control/icons_and_text_small/default.png differ diff --git a/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/segmented_control/icons_and_text_small/focused.png b/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/segmented_control/icons_and_text_small/focused.png index 66315e07b8..4efa801b95 100644 Binary files a/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/segmented_control/icons_and_text_small/focused.png and b/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/segmented_control/icons_and_text_small/focused.png differ diff --git a/.playwright/screenshots/snapshots.test.ts-snapshots/primer/open_project/filterable_tree_view/default/light_high_contrast.png b/.playwright/screenshots/snapshots.test.ts-snapshots/primer/open_project/filterable_tree_view/default/light_high_contrast.png index d90baa335f..d92001408f 100644 Binary files a/.playwright/screenshots/snapshots.test.ts-snapshots/primer/open_project/filterable_tree_view/default/light_high_contrast.png and b/.playwright/screenshots/snapshots.test.ts-snapshots/primer/open_project/filterable_tree_view/default/light_high_contrast.png differ diff --git a/static/arguments.json b/static/arguments.json index 6172e0f8d9..90935aa12d 100644 --- a/static/arguments.json +++ b/static/arguments.json @@ -6173,6 +6173,12 @@ "default": "`nil`", "description": "URL of the server endpoint that returns a filtered `` HTML fragment. When set, activates async (server-side) filtering mode. See \"Async loading strategy\" above." }, + { + "name": "show_search_highlighting", + "type": "Boolean", + "default": "`true`", + "description": "Only relevant in async mode (`src:` must be set). When `true` (default), the client highlights matching text using the CSS Custom Highlight API or `` elements. When `false`, the client skips highlighting entirely; the server is responsible for including highlight markup (e.g. `` tags) in the returned HTML fragment." + }, { "name": "tree_view_arguments", "type": "Hash", @@ -6498,7 +6504,7 @@ { "name": "collapsed_search", "type": "Boolean", - "default": "`false`", + "default": "`true`", "description": "When true, the search bar starts collapsed as an icon button on all screen sizes. Clicking expands it." }, { diff --git a/static/info_arch.json b/static/info_arch.json index 4dce754895..763c1b25d3 100644 --- a/static/info_arch.json +++ b/static/info_arch.json @@ -10869,6 +10869,19 @@ "color-contrast" ] } + }, + { + "preview_path": "primer/alpha/tree_view/doubled_path", + "name": "doubled_path", + "snapshot": "false", + "skip_rules": { + "wont_fix": [ + "region" + ], + "will_fix": [ + "color-contrast" + ] + } } ], "subcomponents": [ @@ -20368,6 +20381,12 @@ "default": "`nil`", "description": "URL of the server endpoint that returns a filtered `` HTML fragment. When set, activates async (server-side) filtering mode. See \"Async loading strategy\" above." }, + { + "name": "show_search_highlighting", + "type": "Boolean", + "default": "`true`", + "description": "Only relevant in async mode (`src:` must be set). When `true` (default), the client highlights matching text using the CSS Custom Highlight API or `` elements. When `false`, the client skips highlighting entirely; the server is responsible for including highlight markup (e.g. `` tags) in the returned HTML fragment." + }, { "name": "tree_view_arguments", "type": "Hash", @@ -20499,6 +20518,19 @@ ] } }, + { + "preview_path": "primer/open_project/filterable_tree_view/async_server_highlights", + "name": "async_server_highlights", + "snapshot": "false", + "skip_rules": { + "wont_fix": [ + "region" + ], + "will_fix": [ + "color-contrast" + ] + } + }, { "preview_path": "primer/open_project/filterable_tree_view/async_form_input", "name": "async_form_input", @@ -21787,7 +21819,7 @@ { "name": "collapsed_search", "type": "Boolean", - "default": "`false`", + "default": "`true`", "description": "When true, the search bar starts collapsed as an icon button on all screen sizes. Clicking expands it." }, { @@ -21938,8 +21970,8 @@ } }, { - "preview_path": "primer/open_project/sub_header/collapsed_search", - "name": "collapsed_search", + "preview_path": "primer/open_project/sub_header/expanded_search", + "name": "expanded_search", "snapshot": "false", "skip_rules": { "wont_fix": [ diff --git a/static/previews.json b/static/previews.json index cf25e440cc..39aa5ce202 100644 --- a/static/previews.json +++ b/static/previews.json @@ -4515,6 +4515,19 @@ ] } }, + { + "preview_path": "primer/open_project/filterable_tree_view/async_server_highlights", + "name": "async_server_highlights", + "snapshot": "false", + "skip_rules": { + "wont_fix": [ + "region" + ], + "will_fix": [ + "color-contrast" + ] + } + }, { "preview_path": "primer/open_project/filterable_tree_view/async_form_input", "name": "async_form_input", @@ -4889,12 +4902,12 @@ }, { "name": "heading", - "component": "OpenProject::Heading", - "status": "open_project", - "lookup_path": "primer/open_project/heading", + "component": "Heading", + "status": "beta", + "lookup_path": "primer/beta/heading", "examples": [ { - "preview_path": "primer/open_project/heading/playground", + "preview_path": "primer/beta/heading/playground", "name": "playground", "snapshot": "false", "skip_rules": { @@ -4907,7 +4920,7 @@ } }, { - "preview_path": "primer/open_project/heading/default", + "preview_path": "primer/beta/heading/default", "name": "default", "snapshot": "true", "skip_rules": { @@ -4923,12 +4936,12 @@ }, { "name": "heading", - "component": "Heading", - "status": "beta", - "lookup_path": "primer/beta/heading", + "component": "OpenProject::Heading", + "status": "open_project", + "lookup_path": "primer/open_project/heading", "examples": [ { - "preview_path": "primer/beta/heading/playground", + "preview_path": "primer/open_project/heading/playground", "name": "playground", "snapshot": "false", "skip_rules": { @@ -4941,7 +4954,7 @@ } }, { - "preview_path": "primer/beta/heading/default", + "preview_path": "primer/open_project/heading/default", "name": "default", "snapshot": "true", "skip_rules": { @@ -8235,8 +8248,8 @@ } }, { - "preview_path": "primer/open_project/sub_header/collapsed_search", - "name": "collapsed_search", + "preview_path": "primer/open_project/sub_header/expanded_search", + "name": "expanded_search", "snapshot": "false", "skip_rules": { "wont_fix": [ @@ -9808,6 +9821,19 @@ "color-contrast" ] } + }, + { + "preview_path": "primer/alpha/tree_view/doubled_path", + "name": "doubled_path", + "snapshot": "false", + "skip_rules": { + "wont_fix": [ + "region" + ], + "will_fix": [ + "color-contrast" + ] + } } ] },