matrix-org / matrix-org/matrix-spec
What does "part of a space" mean in terms of the space hierarchy?
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 330
- Forks
- 150
- Avg merge
- 2h 21m
- Merged PRs (30d)
- 3
Description
Link to problem area:
Rooms can additionally claim to be part of a space by populating their own state with a parent event.
-- https://spec.matrix.org/v1.4/client-server-api/#mspaceparent-relationships
Relevant MSC1772
Issue: What is wrong? How can we improve?
Confusion as experienced #synapse-dev (most of this is cribbed from @reivilibre's comments),
It's not clear what "part of a space" means here.
- Are rooms, with
m.space.parent→ some space, meant to show up in the space hierarchy for that space? - Or is that only for rooms which are a
m.space.childof the space?
Element (the client) will display the room in the active space if it has a parent of that active space, but not in the hierarchy.
rstrst room with m.space.parent shows up when viewing the space |
rstrst room with m.space.parent does not show when viewing it in the space hierarchy |
|---|---|
![]() |
![]() |
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the m.space.parent section of the Client-Server API and compare it with MSC1772, especially the definitions of m.space.parent and m.space.child. Resolve whether a parent relationship should affect the space hierarchy, then update the specification so the intended behavior is explicit and consistent with the examples.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100

