-
Notifications
You must be signed in to change notification settings - Fork 3
add clipped flag to annotation summary spec #382
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
Conversation
textile/api-docstrings.md
Outdated
| | total | number | The sum of the counts from all clients who have published an annotation with this name. | | ||
| | clientIds | { [key: string]: number } | A list of the clientIds of all clients who have published an annotation with this name, and the count each of them have contributed. | | ||
| | totalUnidentified | number | The sum of the counts from annotations of unidentified clients. | | ||
| | clipped | boolean | Indicates whether the clientIds map has been clipped (the total and totalClients counts are unaffected). | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps be more specific and say that total/totalClientIds/totalUnidentified represent the values of the full-unclipped summary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| | clipped | boolean | Indicates whether the clientIds map has been clipped (the total and totalClients counts are unaffected). | | |
| | clipped | boolean | Indicates whether the clientIds map has been clipped. Note that `total` and `totalClients` represent the values of the unclipped summary. | |
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
textile/features.textile
Outdated
| **** @(TM7d1a)@ @total@ integer | ||
| **** @(TM7d1b)@ @clientIds@ @Dict<string, integer>@ | ||
| **** @(TM7d1c)@ @clipped@ boolean (must be forced to false if not set over the wire) | ||
| **** @(TM7d1d)@ @totalUnidentified@ integer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should document these properties with what they do, as we do in TM2*.
textile/features.textile
Outdated
| *** @(TM7c1)@ @SummaryClientIdList@ is an object containing: | ||
| **** @(TM7c1a)@ @total@ integer | ||
| **** @(TM7c1b)@ @clientIds@ array of strings | ||
| **** @(TM7c1c)@ @clipped@ boolean (must be forced to false if not set over the wire) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nitpick for consistency - a similar wording to TM2*, in form of "If not set on the wire, the SDK must ... "
|
Updated. @AndyTWF I've pushed a new commit but I'll squash them into one before merging. |
|
@vladvelici Looks like https://github.com/ably/specification/pull/382/files#r2368172590 still needs a conclusion? |
Co-authored-by: Andy Ford <[email protected]>
|
@AndyTWF sorry missed that one, done |
Added
clipped,totalClientIdandtotalUnidentifiedwhere they were missing.