Skip to content

Check settings versus docs & schema #163

Open
@Jay-o-Way

Description

@Jay-o-Way

Compare https://raw.githubusercontent.com/U-C-S/Hurl/main/Utils/UserSettings.schema.json
What I found:

Background type (enum) missing "none" "solid"

        "BackgroundType": {
          "type": "string",
          "description": "The type of background to use for the browser window. mica or acrylic.",
          "enum": ["mica", "acrylic"]

Rule prefixes: a prefix is expected, "no prefix" is not valid. However, according to docs, a prefix may be omitted to imply "string".

          "Rules": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "The URL pattern prefixed with s$, g$, r$ or d$, followed by the pattern to match. s$ = simple string, g$ = glob, r$ = regex, d$ = domain.",
              "pattern": "^(s\\$|g\\$|r\\$|d\\$).*"
            }
Rule Type Format Example
String s$__your_rule__ or __your_rule__ https://github.com/U-C-S

Window minwidth and minheight

According to the docs, default size is 420×210. MainWindow properties are defined as:

    MinWidth="460"
    MinHeight="230"

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationgood first issueGood for newcomers

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions