matrix-org / matrix-org/matrix-spec

What does "part of a space" mean in terms of the space hierarchy?

Open
#1,309 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

clarification
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.child of 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.