Commit graph

11 commits

Author SHA1 Message Date
Jesús Espino
fd7d61b47c
Enabling again the eslint rules and applying the fixes (#3791)
* Enabling again the eslint rules and applying the fixes

* Restore , separators for types in single line mode

* fix new errors

* more lint fixes

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2022-09-14 07:11:50 -06:00
Jesús Espino
5df336cf46
Upgrading most of the webapp dependencies. (#2642)
* Most of the frontend libraries upgraded

* Upgrading the dependencies in mattermost-plugin

* Fixing some tiny poblems

* All jest tests passing

* Some other small upgrades and tests are passing

* Fixing compass-icons

* Fixing eslint

* Fixing unit test

* Fixing unit test
2022-03-25 17:07:49 -06:00
Doug Lauder
ec91f1c71b
Error page (#2321)
* generic error page

* redirect from errorboundary

* clean compile

* wip redirect from error boundry

* error page displaying

* ensure i18n strings are preserved

* Updating error page UI

* Update webapp/i18n/en.json

Co-authored-by: Justine Geffen <justinegeffen@users.noreply.github.com>

* Update webapp/i18n/en.json

Co-authored-by: Justine Geffen <justinegeffen@users.noreply.github.com>

* Update webapp/i18n/en.json

Co-authored-by: Justine Geffen <justinegeffen@users.noreply.github.com>

* Update webapp/i18n/en.json

Co-authored-by: Justine Geffen <justinegeffen@users.noreply.github.com>

* Update webapp/src/errors.ts

Co-authored-by: Justine Geffen <justinegeffen@users.noreply.github.com>

* typo

* remove background image

* fix linter error

* fix cypress errors

* translation error page title

* fix package lock

* fix package.lock again

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
Co-authored-by: Justine Geffen <justinegeffen@users.noreply.github.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-03-02 13:46:12 -07:00
Doug Lauder
1e053dc36d
Disable max-lines ESLint rule (#2161)
* Disable max-lines ESlint rule

There are several webapp files that exceed the default ESLint max-lines rule.  This commit disables the rule to avoid polluting the VSCode problems view with these warnings.

* fix tab versus space
2022-01-25 08:01:31 -05:00
Tim Lange
e1d5e77e0e
Added better kanban edge scroll detection whilst dragging (#1913)
* added better kanban edge scroll detection whilst dragging

* update jest snapshots

* try to fix cypress on CI

* replace force clicks on cypress test

* make eslint happy

* fix unrelated failed tests and reorganize Cypress commands

* added test for drag direction from right to left

* make eslint happy

* cypress kanban drag test now checks other direction

* fix test and update eslit for cypress

Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-01-07 11:58:28 -07:00
Chen-I Lim
68f5130098 Refactor: card contentOrder 2020-12-18 12:52:45 -08:00
Chen-I Lim
22e47b4eff Fix linting 2020-11-12 16:25:14 -08:00
Chen-I Lim
c942c43ea7 Update no-unused-expressions 2020-11-12 14:57:21 -08:00
Chen-I Lim
9255bd4ded Ran npm run fix 2020-10-20 12:52:56 -07:00
Chen-I Lim
36a104f45b Ran npm run fix 2020-10-20 12:50:53 -07:00
Chen-I Lim
70f9eff13b Move package.json and webpack to under webapp 2020-10-20 11:48:08 -07:00
Renamed from .eslintrc.json (Browse further)