Commit Graph

8 Commits

Author SHA1 Message Date
Md Zubair Ahmed bad4409a9a Fixes #13485 : Migrate 'components/tutorial/tutorial_tip' module and associated tests to TypeScript (#4589)
* migrated tutorial tips to ts

* updated tests

* minor changes

* mis removed jsx for one file

* removed mistakenly added eslint rule

* removed lock file from commit

* removed spacing

* removed old snapshot

* small nit fixed

Co-authored-by: mattermod <mattermod@users.noreply.github.com>
2020-01-06 09:54:54 -05:00
Harrison Healey a0f7a87d6f MM-20786 Migrate TutorialTip to use React.createRef (#4379) 2019-12-05 17:17:34 -08:00
Karl Marx Lopez fe547996d3 Migrate 'utils/notifications.jsx' and associated tests to TypeScript (#3857)
* chore: changed extension to .tsx

* chore: changed extension .tsx

* chore: patch for key-mirror

* chore: run patch-package on postinstall

* fix: declare module for .svg files

* fix: type errors

* fix: type errors on notifications.tsx

* fix: updated utils/notifications import

* fix: updated utils/constants imports

* chore: removed .tsx extension on import

* chore: set onClick as optional

* fix: duplicate utils/constants import

* chore: installed @types/react-redux

* fix: renamed to system_notice.ts

* chore: moved .svg type def to /types dir

* chore: ignore mattermost-redux ts error for now

* chore: removed key-mirror type patch

* fix: moved key-mirror type def into /types dir

* chore: fix lint error

* chore: forgot header

* chore: fix lint errors

* chore: fixed merge conflict

* chore: add empty space for import groups

* chore: fixed dragster import

* chore: fixed eslint error

* chore: fixed formatting

* test: updated snapshot

* chore: revert system_notice/index.ts to .js

* chore: revert to constants.jsx

* chore: revert utils.jsx

* chore: revert login_controller.jsx

* chore: fixed utils/notification import

* chore: pin @types/react-redux to v7.1.4

* chore: fixed formatting

* refactor: fixed double utils/constants import

* test: updated snapshot
2019-10-22 17:37:20 +08:00
Asaad Mahmood 1764c05912 MM-10065 - Updating image alt text (#2725)
* MM-10065 - Updating image alt text

* Updating tests

* Updating image labels

* Updating test

* Updating user profile image
2019-05-16 17:08:54 -04:00
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