Skip to content

[BUG] Unable to bookmark a query longer than 256 chars #2604

Description

@rviscomi

Describe the bug
While attempting to bookmark a long query for 33 individual features by ID, I get an error that the query is over 256 characters. I needed the bookmark in order to create a saved search.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://webstatus.dev/?q=id%3Acontrast-color+OR+id%3Alight-dark+OR+id%3Afunction+OR+id%3Acontainer-style-queries+OR+id%3Aif+OR+id%3Asupports-at-rule+OR+id%3Ameta-text-scale+OR+id%3Alinear-easing+OR+id%3Astarting-style+OR+id%3Atransition-behavior+OR+id%3Asibling-count+OR+id%3Adialog-closedby+OR+id%3Acorner-shape+OR+id%3Aview-transitions+OR+id%3Across-document-view-transitions+OR+id%3Aview-transitions-element-scoped+OR+id%3Ascroll-driven-animations+OR+id%3Ascroll-target-group+OR+id%3Ascroll-into-view-container+OR+id%3Acontainer-scroll-state-queries+OR+id%3Acontainer-queries+OR+id%3Aanchor-positioning+OR+id%3Aborder-shape+OR+id%3Ashape-function+OR+id%3Asticky-positioning+OR+id%3Aoverscroll-behavior+OR+id%3Acanvas-html+OR+id%3Amove-before+OR+id%3Atext-fit+OR+id%3Atext-box+OR+id%3Agap-decorations+OR+id%3Aviewport-unit-variants+OR+id%3Acss-object-model
  2. Click on the save icon
  3. Enter a name like "Long list"
  4. Hit Save

Results:

Please check that you provided at least a name and query before submitting. The name must be between 1 and 32 characters long, and the query must be between 1 and 256 characters long.

Expected behavior
I expected the query to be savable, given that it wasn't too long to produce search results.

Screenshots

Image

Additional context
I wanted to create a bookmark representing the 30+ features mentioned in https://developer.chrome.com/blog/new-in-web-ui-io26/ that I can share publicly, to show off the new subscription feature. AFAICT, chaining feature IDs together with OR in the search query is the only way to create a saved search with all of the features.

I expect saving long lists of features to be a relatively common use case to make use of the subscription feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions