Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/static-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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'
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.
8 changes: 7 additions & 1 deletion static/arguments.json
Original file line number Diff line number Diff line change
Expand Up @@ -6173,6 +6173,12 @@
"default": "`nil`",
"description": "URL of the server endpoint that returns a filtered `<tree-view>` 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 `<mark>` elements. When `false`, the client skips highlighting entirely; the server is responsible for including highlight markup (e.g. `<mark>` tags) in the returned HTML fragment."
},
{
"name": "tree_view_arguments",
"type": "Hash",
Expand Down Expand Up @@ -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."
},
{
Expand Down
38 changes: 35 additions & 3 deletions static/info_arch.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down Expand Up @@ -20368,6 +20381,12 @@
"default": "`nil`",
"description": "URL of the server endpoint that returns a filtered `<tree-view>` 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 `<mark>` elements. When `false`, the client skips highlighting entirely; the server is responsible for including highlight markup (e.g. `<mark>` tags) in the returned HTML fragment."
},
{
"name": "tree_view_arguments",
"type": "Hash",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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."
},
{
Expand Down Expand Up @@ -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": [
Expand Down
50 changes: 38 additions & 12 deletions static/previews.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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": {
Expand All @@ -4907,7 +4920,7 @@
}
},
{
"preview_path": "primer/open_project/heading/default",
"preview_path": "primer/beta/heading/default",
"name": "default",
"snapshot": "true",
"skip_rules": {
Expand All @@ -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": {
Expand All @@ -4941,7 +4954,7 @@
}
},
{
"preview_path": "primer/beta/heading/default",
"preview_path": "primer/open_project/heading/default",
"name": "default",
"snapshot": "true",
"skip_rules": {
Expand Down Expand Up @@ -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": [
Expand Down Expand Up @@ -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"
]
}
}
]
},
Expand Down