Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Add alias and directory customisation points #6343

Merged
merged 6 commits into from
Jul 12, 2021
Merged

Conversation

jryans
Copy link
Collaborator

@jryans jryans commented Jul 9, 2021

These are useful for alternative environments, such as P2P, where alias and directory handling expectations are a bit different.

jryans added 4 commits July 9, 2021 17:06
This will allow environments such as P2P to tweak the preferred display alias if
needed.
This will help certain environments, such as P2P, where directory publishing can
be allowed freely.
@jryans jryans requested a review from a team July 9, 2021 17:01
@@ -24,6 +24,8 @@ limitations under the License.

background-color: $togglesw-off-color;
opacity: 0.5;

cursor: unset;
Copy link
Member

Choose a reason for hiding this comment

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

where is the cursor being set from when disabled? It feels like this is the wrong place to be disabling it if it's showing up from somewhere else.

Also, this feels unrelated?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

where is the cursor being set from when disabled? It feels like this is the wrong place to be disabling it if it's showing up from somewhere else.

Every ToggleSwitch is wrapped in AccessibleButton, and AB sets cursor: pointer as a base. Perhaps a better fix though is to apply the AB disabled class as well when disabled...?

Also, this feels unrelated?

Yeah, fair enough, just happened to notice it because the room directory publish setting is toggle. I'll remove from here.

src/Rooms.ts Outdated Show resolved Hide resolved
@jryans jryans merged commit 130aee0 into develop Jul 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants