Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

modify some settings and update PreferencesManager #2723

Merged
merged 3 commits into from
Nov 13, 2018
Merged

modify some settings and update PreferencesManager #2723

merged 3 commits into from
Nov 13, 2018

Conversation

dkanada
Copy link
Contributor

@dkanada dkanada commented Nov 11, 2018

This is related to issue #2436 and removes double negation in some of the settings. I also grouped the keys a bit more clearly in PreferencesManager and modified a couple other strings.

I tried to slim down some of the setting titles because I think it might be better in the future to explain the settings in the description and have more concise titles. One example is the inline URL previews, the title could just be Inline URL Previews and the description could explain that they will only be shown if your homeserver enables the feature.

@dkanada
Copy link
Contributor Author

dkanada commented Nov 11, 2018

Is VectorPreferenceCategory used often? I was trying to figure out why the Labs category always has a bold title, turns out the custom category class sets text as bold, which I think looks a tad odd.

Copy link
Member

@bmarty bmarty left a comment

Choose a reason for hiding this comment

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

Hi @dkanada ,

Thanks for the PR, look good. I've done several remarks

Benoît

Fixes #2436

@bmarty
Copy link
Member

bmarty commented Nov 12, 2018

Also please fix errors reported by Travis

@bmarty
Copy link
Member

bmarty commented Nov 12, 2018

Is VectorPreferenceCategory used often? I was trying to figure out why the Labs category always has a bold title, turns out the custom category class sets text as bold, which I think looks a tad odd.

I assume VectorPreferenceCategory should be used only in vector_room_settings_preferences.xml. Feel free to make the labs section is classical PreferenceCategory.

Also I wanted to let you know that I've started to migrate to preference from v7 support library. It's not done yet, but it will be in a near future.

@dkanada
Copy link
Contributor Author

dkanada commented Nov 12, 2018

Signed-off-by: Dillon Kanada [email protected]

Copy link
Member

@bmarty bmarty left a comment

Choose a reason for hiding this comment

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

Hi @dkanada ,

Thanks for the update. Everything looks perfect, except a wording that I didn't notice before.

Benoît

@bmarty bmarty added this to the Sprint 16 milestone Nov 13, 2018
@bmarty bmarty merged commit 80b056b into element-hq:develop Nov 13, 2018
@dkanada dkanada deleted the settings branch November 15, 2018 10:23
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