Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] Message view mode setting was missing at user's preferences #10395

Merged
merged 9 commits into from
Apr 17, 2018
Merged

[FIX] Message view mode setting was missing at user's preferences #10395

merged 9 commits into from
Apr 17, 2018

Conversation

kaiiiiiiiii
Copy link
Contributor

@kaiiiiiiiii kaiiiiiiiii commented Apr 9, 2018

Closes #10326 (@himBeere)

This PR brings back the view mode for messages, which has accidentally been removed by @karlprieb in PR #10016.

I’ve done the following in addition:

  1. The values passed to ‘selected’ in the view mode dropdown where passed as strings. This prevented the result from ever becoming true. Values are passed as integer now.
  2. Renamed viewMode to messageViewMode to avoid any confusion with the new sidebar view mode.
  3. Moved all notification related stuff in an own section. This shortens the 'messages' section and builds a better visual connection between the view mode and it’s heading.

I’m not quite sure if the migration’s gonna work like that. In my tests it does not remove the fields when migrating from an older version than 0.63.0.

Screenshot of Notifications section:
2018-04-10 17_37_54- 1 rocket chat

Screenshot of Messages section:
2018-04-10 17_38_29- 1 rocket chat

Regards,
Kai

…ame changed from viewMode to messageViewMode to avoid any confusion with sidebarViewMode (+ migration to change name in database as well)
…ew_mode as both still will be translated with View_mode

- Created an own section for Notifications in Account Preferences. Brings View Mode a bith more in context to it's section header
- Optimized migration
@RocketChat RocketChat deleted a comment Apr 9, 2018
@RocketChat RocketChat deleted a comment Apr 9, 2018
@RocketChat RocketChat deleted a comment Apr 9, 2018
@RocketChat RocketChat deleted a comment Apr 9, 2018
@RocketChat RocketChat deleted a comment Apr 9, 2018
@kaiiiiiiiii kaiiiiiiiii changed the title [FIX ]Bring back message view mode [FIX] Bring back message view mode Apr 9, 2018
@engelgabriel engelgabriel temporarily deployed to rocket-chat-pr-10395 April 10, 2018 13:29 Inactive
@karlprieb karlprieb added this to the 0.64.0 milestone Apr 10, 2018
@karlprieb karlprieb self-assigned this Apr 10, 2018
karlprieb
karlprieb previously approved these changes Apr 10, 2018
@engelgabriel engelgabriel temporarily deployed to rocket-chat-pr-10395 April 10, 2018 14:24 Inactive
@karlprieb
Copy link
Contributor

Idk, I don't think we should use auto translators.

@RocketChat/core What you guys think?

@graywolf336
Copy link
Contributor

Idk, I don't think we should use auto translators.

I agree. Let's let our community translators handle them, since we never know what the results actually are..

@karlprieb
Copy link
Contributor

So @kaiiiiiiiii can you remove the auto translations?

@kaiiiiiiiii
Copy link
Contributor Author

I'll do that, no worries :)

@engelgabriel engelgabriel temporarily deployed to rocket-chat-pr-10395 April 10, 2018 18:59 Inactive
@rodrigok rodrigok changed the title [FIX] Bring back message view mode [FIX] Message view mode setting was missing at user's preferences Apr 17, 2018
@rodrigok rodrigok merged commit 2591768 into RocketChat:develop Apr 17, 2018
@kaiiiiiiiii kaiiiiiiiii deleted the bring_back_message_view_mode branch April 18, 2018 12:41
@rodrigok rodrigok mentioned this pull request Apr 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants