-
-
Notifications
You must be signed in to change notification settings - Fork 97
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
Clarify terminology around aggregations #1424
Conversation
I've done my best to remove the word "bundle", because I feel like it causes more confusion than it provides. Instead I have favoured "aggregated child events" which I think is clearer. Some general clarification around these parts of the spec.
dea7972
to
3d3f28c
Compare
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.
Generally this lgtm with a couple (hopefully easy) comments to resolve.
@@ -32,8 +32,7 @@ paths: | |||
x-addedInMatrixVersion: "1.4" | |||
summary: Retrieve a list of threads in a room, with optional filters. | |||
description: |- | |||
Paginates over the thread roots in a room, ordered by the `latest_event` of each thread root | |||
in its bundle. | |||
Paginates over the thread roots in a room. |
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.
The description appears to have lost some context here?
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.
It seemed redundant to specify the sort order here as well as in the response.
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.
it adds a bit of clarity without having to scroll past a whole request schema, though not all that bothered.
The summary
and description
should be switched if we are losing the text though: it's more awkward if the summary
is longer than the description
.
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.
Have updated a bit more, with reference to https://github.com/matrix-org/matrix-spec/blob/main/meta/documentation_style.rst#openapi.
If you still don't like it, am happy to put it back how it was.
I've done my best to remove the word "bundle", because I feel like it causes more confusion than it provides. Instead I have favoured "aggregated child events" which I think is clearer. Some general clarification around these parts of the spec.
I've done my best to remove the word "bundle", because I feel like it causes more confusion than clarification. Instead I have favoured "aggregated child events" which I think is clearer.
Some general clarification around these parts of the spec.
Hopefully, fixes #1405
Preview: https://pr1424--matrix-spec-previews.netlify.app