Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite Automation section after w3c/sensors#470 #52

Merged
merged 1 commit into from
Oct 18, 2023

Conversation

rakuco
Copy link
Member

@rakuco rakuco commented Oct 17, 2023

The Automation section in the Generic Sensor API specification was rewritten and several terms and concepts have changed.

This commit adapts the Gyroscope spec to the changes:

  • Remove references to "mock sensor type", "mock sensor reading values" and the "MockSensorType" enum.
  • Define an entry in the per-type virtual sensor metadata map whose key is what used to be the "gyroscope" entry in MockSensorType and an appropriate virtual sensor metadata entry.

This is enough to integrate properly with the Generic Sensor spec and allow Gyroscope virtual sensors to be created and used.

Fixes #51.


Preview | Diff

The Automation section in the Generic Sensor API specification was rewritten
and several terms and concepts have changed.

This commit adapts the Gyroscope spec to the changes:
* Remove references to "mock sensor type", "mock sensor reading values" and
  the "MockSensorType" enum.
* Define an entry in the per-type virtual sensor metadata map whose key is
  what used to be the "gyroscope" entry in MockSensorType and an appropriate
  virtual sensor metadata entry.

This is enough to integrate properly with the Generic Sensor spec and allow
Gyroscope virtual sensors to be created and used.

Fixes w3c#51.
@rakuco rakuco requested a review from reillyeon October 17, 2023 10:22
@anssiko
Copy link
Member

anssiko commented Oct 18, 2023

Thanks @rakuco and @reillyeon! @dontcallmedom-bot is helpful in catching these, and maybe a future version will submit PRs 🤖

@anssiko anssiko merged commit 62c9f1e into w3c:main Oct 18, 2023
2 checks passed
github-actions bot added a commit that referenced this pull request Oct 18, 2023
SHA: 62c9f1e
Reason: push, by anssiko

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@rakuco rakuco deleted the update-automation-section-references branch October 18, 2023 09:44
rakuco added a commit to rakuco/gyroscope that referenced this pull request Oct 20, 2023
Follow-up to w3c#52: the lack of the empty line there causes Bikeshed not to add
the required <p> tags to the paragraphs in the section.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Broken references in Gyroscope
3 participants