Skip to content

Conversation

@dbkr
Copy link
Member

@dbkr dbkr commented Sep 24, 2025

Needs element-hq/element-modules#79

This will pass type checks once Midhun's stack of PRs is merged into it, but please review first so we can review the chunks in isolation.

Checklist

A bit less flexible but probably simpler and will help keep things
actually consistent rather than just allowing modules to stick any
JSX into the space panel (which means they also have to worry about
styling if they *do* want it to be consistent).
and manage which one is selected, allowing module "spaces" to be
considered spaces
which didn't really seem to have any point as it was only called from
one place
Since it's passed through context
This is now accessed through class field
@@ -0,0 +1,50 @@
/*
Copyright 2025 New Vector Ltd.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Element Creations Ltd?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, the code was written while we were NVL... I would guess it should be this rather than when it's merged.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From chat I saw in the room around the time of the change it is retroactive and we need to add Element Creations Ltd to all existing files at some point too

@@ -0,0 +1,33 @@
/*
Copyright 2025 New Vector Ltd.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Element Creations Ltd?

};

export type SpaceKey = MetaSpace | Room["roomId"];
export type SpaceKey = string;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we have comments now that the semantics are lost from the type

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

and fix else block
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants