Add an empty state for the space screen if the user can modify its graph (#6064)

* Add an empty state for the space screen if the user can modify its graph. It adds a new 'create room' button that allows you to open the create room screen with some preset values.

* When computing the editable spaces in `ConfigureRoomPresenter`, also set up the initial selected parent space if possible

* Use `Builder` pattern for `CreateRoomEntryPoint`

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
This commit is contained in:
Jorge Martin Espinosa 2026-01-27 11:12:12 +01:00 committed by GitHub
parent fc8afab1bb
commit 6a9d084a50
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
31 changed files with 248 additions and 111 deletions

View file

@ -80,12 +80,14 @@ class StartChatFlowNode(
navigator.onRoomCreated(roomId.toRoomIdOrAlias(), emptyList())
}
}
createRoomEntryPoint.createNode(
isSpace = false,
parentNode = this,
buildContext = buildContext,
callback = callback,
)
createRoomEntryPoint
.builder(
parentNode = this,
buildContext = buildContext,
callback = callback,
)
.setIsSpace(false)
.build()
}
NavTarget.JoinByAddress -> {
createNode<JoinRoomByAddressNode>(buildContext = buildContext, plugins = listOf(navigator))