Declare `name` and `creation_panel` in the `calendar_provider` schema

Open Beginner friendly
#70 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
88/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Quiet
Tech stack
javascript
Domain
api

Research direction

Open schema/calendar-provider.json and compare its declared properties with the name and creation_panel reads noted in parent/ext-calendar-provider.js at lines 114, 596, 645, and 646. Check the existing schema conventions for optional localized strings and relative URLs, then verify schema checking recognizes both properties without changing their current pass-through behavior.

Written by the indexing model from the issue text.

Description

schema/calendar-provider.json declares only capabilities, but
parent/ext-calendar-provider.js also reads name (line 114, and 645 for the
New Calendar type list) and creation_panel (596, 646).

They work, additionalProperties: UnrecognizedProperty passes them through,
so this is only about discoverability and schema checking.

"name": {
  "type": "string",
  "optional": true,
  "preprocess": "localize"
},
"creation_panel": {
  "type": "string",
  "optional": true,
  "format": "relativeUrl",
  "preprocess": "localize"
}

Putting this here as a reminder when implementing it as an API.

Dominant language
JavaScript
Stars
33
Forks
17
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from thunderbird/webext-experiments

All issues in thunderbird/webext-experiments

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.