4 Commits

Author SHA1 Message Date
Mirlan bdea28e42f [MM-12737] Migrate preference-related actions from user_actions.jsx to redux (#2320)
migrated settings and tutorial components, removed preference actions
2019-02-06 08:20:07 -03:00
Joram Wilander 4a8210c185 Remove flux store usages from the tutorial (#1831) 2018-10-08 11:24:07 -04:00
Jesse Hallam e76203baa0 add eslint-plugin-header, and --fix all (#1140)
* add eslint-plugin-header, and --fix all

While the checking feature of this plugin seems to work great, its --fix
will sometimes removing leading comments when the license header doesn't
match. I've hand-edited the over-zealous removals, so this won't be an
issue going forward except for new files with missing headers but
leading comments.

* fixes from latest master changes

* latest changes from master
2018-04-30 13:31:29 -04:00
Jesse Hallam c3b1c2ff9b MM-9787: Transition [lr]hs open state to redux, fixing Safari race condition. (#991)
* move the [lr]hs open state into redux

This eliminates race conditions around toggling classes all over the
code base in an attempt to slide the various components around. It also
has the nice side effect of getting rid of doStrangeThings.

WebRTC remains in beta, and remains functional with these changes, but
the absolute minimum set of changes were made to integrate the old flux
store with the new state. This remains intentionally hacky, as the
medium-term vision is to rip this feature out and replace it as a
plugin.

* fix a rendering issue with PermalinkView

Now that opening the sidebar triggers a re-render (vs. just toggling
classes), the PermalinkView would incorrectly transition between valid
and invalid internal states even if the target permalink hadn't changed.
This resulted in a flashing when opening the sidebar, e.g. to view
flagged messages. This restricts the handling of a permalink event to
when the post id has actually changed.

* remove unused initTeamChangeActions in lhs actions
2018-03-27 09:49:57 -04:00