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

Add support for ownContributionEstimate #298

Merged
merged 1 commit into from
Nov 20, 2024
Merged

Add support for ownContributionEstimate #298

merged 1 commit into from
Nov 20, 2024

Conversation

kenchris
Copy link
Contributor

@kenchris kenchris commented Nov 14, 2024

A percentage estimate for the contribution of the site to the global pressure

Fixes #297


Preview | Diff

Copy link
Contributor

@arskama arskama left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo in the title: %s/supp0rt/support/

Otherwise I think the PR is fine.

One question I would ask to more experienced API developers:

  • Is double a good type for an estimate in percent?

It is an estimate in percent, so an readonly attribute octet should be enough, but I m not sure how widely it is used in WebAPIs

@kenchris
Copy link
Contributor Author

I checked existing APIs and all examples use double

A percentage estimate for the contribution of the site to the global pressure
@arskama
Copy link
Contributor

arskama commented Nov 18, 2024

I m ok with the PR, but I wish someone else would take a look as well.

@darktears
Copy link

I'm ok with the PR

@kenchris kenchris merged commit 1a34ac5 into w3c:main Nov 20, 2024
2 checks passed
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.

Adding a "estimatedOwnContribution" attribute to PressureRecord
3 participants