mumuki-laboratory icon indicating copy to clipboard operation
mumuki-laboratory copied to clipboard

Introduce visual user preferences

Open flbulgarelli opened this issue 4 years ago • 4 comments

It would be nice to allow users to enable some visual customizations.

Based on many experiences, some of these may be:

  • dark-mode
  • emoji-less mode: some people don't like emojis at all. Removing them on a user basis is trivial, just by adding the following css: .mu-emoji { display: none }

This customizations may be chosen from profile view.

flbulgarelli avatar Dec 16 '20 20:12 flbulgarelli

  • delete account
  • accessibility options like capitalizing all texts

luchotc avatar Dec 18 '20 17:12 luchotc

Also selective user-wise activation of game mode may be a non-visual-only preference.

As stated in this comment, I think we should reify this concept into a preference object:

user.preferences.gamified?
user.preferences.emojiless?
user.preferences.dark?
user.preferences.uppercase?

We could use the composed_of helper like with submissions https://github.com/mumuki/mumuki-domain/blob/abc1ba74a9faf012b7fa225b60c295fe8fc702da/app/models/concerns/contextualization.rb#L25

flbulgarelli avatar Dec 23 '20 03:12 flbulgarelli

A downside of using .mu-emoji { display: none } is some (missing) emojis will make the spacing/kerning look a tiny bit wrong:

Screenshot_2021-01-05 Programación con Objetos Colecciones - ¿Alguno cumple ¿Todos cumplen - Aprendé a Programar Recorrido Screenshot_2021-01-05 Programación con Objetos Colecciones - ¿Alguno cumple ¿Todos cumplen - Aprendé a Programar Recorrido  (1)


Screenshot_2021-01-05 Programación Imperativa Práctica Funciones y Tipos de Datos - Cara o ceca - Aprendé a Programar Recor (1) Screenshot_2021-01-05 Programación Imperativa Práctica Funciones y Tipos de Datos - Cara o ceca - Aprendé a Programar Recor

This is minute, I know :smiley:

felipecalvo avatar Jan 05 '21 13:01 felipecalvo

Related to https://github.com/mumuki/mumuki-laboratory/issues/472

flbulgarelli avatar Feb 01 '21 23:02 flbulgarelli