Commit Graph

1811 Commits

Author SHA1 Message Date
Julien Fabre
e02a03290d
[GH-847] Add unit tests for contentElement (#1501)
* chore[GH-#847]: add unit tests for contentElement

* fix: checkbox not need...

* fix: checkbox not need...
2021-10-13 16:26:38 +05:30
Sahil Silare
c6f86bdce1
BugFix: Comment textarea changes height when in focus (#1465)
* feat: Changed min-height

* feat: Added margin at bottom of avatar

* change: Removed min-height from editor preview scss.
2021-10-13 16:19:15 +05:30
Harshil Sharma
c4ee743a10
Board calculations (#1464)
* Added menu options to choose calculation

* Made calculation option component generic for use in kanban and table

* Added property type based calculation option menu

* WIP

* Prepared submenu

* Populated submenu

* WIP

* WIP

* Base implementation complete

* Done

* minor cleanup

* Updating UI for board calculations

# Conflicts:
#	webapp/src/components/kanban/calculation/calculation.tsx

* Updating UI for board

* Highlighted currently selected option

* Fixed existsing tests

* Fixed existsing tests

* Added tests

* Added tests

* Fixed some plugin CSS issues

* Fixed a unintentional snapshot update

* Fixed a test

* Fixed a test

* Fixed a test

* Fixed dashboard tests

* Fixed some review comments

* Updated snapshots for change in Button classname

* Fixed test after syncing with main

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
2021-10-13 13:26:14 +05:30
Julien Fabre
0434e7d6b6
chore: Add test units for contentRegistry (#1521) 2021-10-12 17:03:54 -06:00
Jenya
adfa8dd347
Added markdown styles from mattermost-webapp (#1500)
* added markdown styles from mattermost-webapp

* removed semicolon to satisfy eslint demands

* Update _markdown.scss
2021-10-12 13:22:04 -04:00
Bhavin Ag
d8a4d197ed
[GH-832] Add unit test for flashMessage component (#1522)
* test: add unit test for flashMessage component

* Address concerns

Co-authored-by: Hossein Ahmadian-Yazdi <hyazdi1997@gmail.com>
2021-10-12 13:14:10 -04:00
Puerco
264de5c3e7
Translated using Weblate (Polish) (#1530)
Currently translated at 100.0% (181 of 181 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/pl/

Co-authored-by: master7 <marcin.karkosz@rajska.info>
2021-10-12 11:43:10 -05:00
Johannes Marbach
6ec084f93d
[GH-1080] Add table functions for dates (#1508)
This adds earliest, latest and range column aggregations for general
date as well as created/updated date properties.

Fixes: #1080
2021-10-12 17:01:38 +05:30
Hossein
c9aeeb38bf
GH-1333: Implement Screen 3 and 4 of v6.0 navigation and FTUE (#1341) 2021-10-11 14:16:59 -04:00
Weblate (bot)
319dcbfb5d
Translations update from Weblate (#1514)
* Translated using Weblate (Polish)

Currently translated at 1.1% (2 of 181 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/pl/

Added translation using Weblate (Polish)

* Translated using Weblate (Indonesian)

Currently translated at 74.5% (135 of 181 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/id/

* Translated using Weblate (Indonesian)

Currently translated at 100.0% (181 of 181 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/id/

Translated using Weblate (Indonesian)

Currently translated at 74.5% (135 of 181 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/id/

* Translated using Weblate (Turkish)

Currently translated at 100.0% (181 of 181 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/tr/

* Translated using Weblate (French)

Currently translated at 93.9% (170 of 181 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/fr/

Translated using Weblate (French)

Currently translated at 92.8% (168 of 181 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/fr/

Co-authored-by: master7 <marcin.karkosz@rajska.info>
Co-authored-by: Muhammad Zul Marij Rizqi Fathullah <muhammadzulmarijrizqifathullah@gmail.com>
Co-authored-by: Syauqy Nurul Aziz <syauqyaziz@gmail.com>
Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Co-authored-by: Anne-Laure Gaillard <alaure.gaillard@gmail.com>
2021-10-11 18:18:50 +02:00
Chen-I Lim
fd9b75a9d5
Update dev tips (#1504) 2021-10-11 08:23:07 -07:00
Julien Fabre
3faa053bc6
chore[GH-#845]: add tests unit for comment (#1493) 2021-10-11 08:49:47 -06:00
Julien Fabre
598c404779
chore[GH-#848]: add unit test for dividerElement (#1503) 2021-10-11 08:45:47 -06:00
Julien Fabre
9ca5cd6a87
chore[GH-#849]: Add unit test for imageElement (#1502) 2021-10-08 19:38:14 -04:00
Chen-I Lim
3448551a0a
Fix #1482. Handle isEmpty filter correctly. (#1490) 2021-10-08 10:10:57 -07:00
Scott Bishel
d744e0af47
gh-1472 Fix sidebar selection (#1477)
* fix sidebar selection

* update comments

* plugin needs the workspaceID

* Update webapp/src/pages/boardPage.tsx

Co-authored-by: Miguel de la Cruz <miguel@mcrx.me>

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Miguel de la Cruz <miguel@mcrx.me>
2021-10-08 07:46:05 -06:00
Julien Fabre
708b736e8f
[GH-843] add tests unit for CardDetailContentsMenu (#1476)
* chore[GH-#843]: add tests unit for cardDetailContentsMenu

* chore[GH-#843]: add tests unit for cardDetailContentsMenu

* fix: test error on cardDetailContents
2021-10-08 09:32:52 -04:00
Harshil Sharma
6d22385eba
Update dashboard data whenever we open it (#1479)
* Update dashboard data whenever we open it

* Fixed dashboard tests
2021-10-08 09:28:09 -04:00
Miguel de la Cruz
a184206395
Change the unregistered connection logline to debug level (#1494) 2021-10-08 11:59:21 +02:00
Ssensalo Edgar
fa6b486572
Cleaned up TODOs from file (#1478) 2021-10-07 15:22:23 -07:00
Doug Lauder
db8d91f889
use milliseconds for all timestamps (server) (#1447) 2021-10-07 07:51:01 -04:00
Alok Kumar Sahoo
f69e9ae927
GH-1439: do not show outside dates in datepicker (#1450)
* GH-1439: add css to highlight adjacent month selected dates

* GH-1439: do not show outside days in datepicker

* GH-1439: remove log statement

Co-authored-by: aloks98 <aloksahoo@acceldata.io>
2021-10-06 13:14:59 -06:00
Julien Fabre
74a3c63ddc
chore: add tests unit on emptycardbutton (#1458) 2021-10-06 13:09:43 -06:00
Miguel de la Cruz
85ccc051ec
Adds a check to ensure that the URL view belongs to the board or redirects (#1468)
* Adds a check to ensure that the URL view belongs to the board or redirects

* Fix linter
2021-10-06 18:57:52 +02:00
Miguel de la Cruz
ee3f00858a
Move app history replace to happen only if not in plugin legacy mode (#1466) 2021-10-06 17:55:19 +02:00
Scott Bishel
d0dd6ad31a
only call history replace if a plugin (#1457)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-10-06 08:27:44 -06:00
Scott Bishel
e18ecc3be2
make sure setValue receives empty string (#1444)
* make sure setValue receives empty string

* fix lint errors
2021-10-06 07:57:16 -06:00
Harshil Sharma
7ca76b9db1
Avoided boards from navigating to URL not belonging to it (#1460) 2021-10-06 14:11:47 +05:30
Tiago Santos Da Silva
e0935eb15c
Typing adjustment - 1353 (#1415)
* refactor: adjusting typing

* fix: improving typing

* refactor: simplifying typing using Generics
2021-10-05 16:55:55 -06:00
Puerco
b2f42e9d4c
Fix merge conflicts from weblate translations (#1455)
* Translated using Weblate (Japanese)

Currently translated at 100.0% (172 of 172 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ja/

Translated using Weblate (Japanese)

Currently translated at 100.0% (171 of 171 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ja/

* Translated using Weblate (Dutch)

Currently translated at 99.4% (177 of 178 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/nl/

Translated using Weblate (Dutch)

Currently translated at 99.4% (171 of 172 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/nl/

Translated using Weblate (Dutch)

Currently translated at 99.4% (170 of 171 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/nl/

* Translated using Weblate (Japanese)

Currently translated at 100.0% (178 of 178 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ja/

* Translated using Weblate (Occitan)

Currently translated at 100.0% (178 of 178 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/oc/

Translated using Weblate (Occitan)

Currently translated at 97.1% (173 of 178 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/oc/

* Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/

* Translated using Weblate (German)

Currently translated at 100.0% (181 of 181 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/

Translated using Weblate (German)

Currently translated at 100.0% (180 of 180 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/

* Translated using Weblate (Turkish)

Currently translated at 100.0% (180 of 180 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/tr/

* Translated using Weblate (Swedish)

Currently translated at 100.0% (180 of 180 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/sv/

* Translated using Weblate (Dutch)

Currently translated at 99.4% (179 of 180 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/nl/

* Translated using Weblate (Japanese)

Currently translated at 100.0% (180 of 180 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ja/

* Translated using Weblate (Occitan)

Currently translated at 98.3% (178 of 181 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/oc/

* Translated using Weblate (Dutch)

Currently translated at 99.4% (180 of 181 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/nl/

Co-authored-by: kaakaa <stooner.hoe@gmail.com>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: YorimiMochida <yuuman002@gmail.com>
Co-authored-by: Quentin PAGÈS <quentinantonin@free.fr>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: JtheBAB <srast@bioc.uzh.ch>
Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Co-authored-by: MArtin Johnson <martinjohnson@bahnhof.se>
2021-10-05 14:21:38 -04:00
Julien Fabre
a594714d92
[GH-859] Add tests unit for filterComponent (#1445)
* chore[GH-#859]: add tests unit for filterComponent

* chore: add test on is empty filterEntry
2021-10-05 13:08:51 -04:00
Doug Lauder
4feafb9806
Channels style UUID (#1369)
* server channels style uuids
* webapp channels style uuids
2021-10-05 09:52:59 -04:00
Weblate (bot)
c30c17f684
Translations update from Weblate (#1254)
* Translated using Weblate (Japanese)

Currently translated at 100.0% (172 of 172 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ja/

Translated using Weblate (Japanese)

Currently translated at 100.0% (171 of 171 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ja/

* Translated using Weblate (Dutch)

Currently translated at 99.4% (177 of 178 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/nl/

Translated using Weblate (Dutch)

Currently translated at 99.4% (171 of 172 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/nl/

Translated using Weblate (Dutch)

Currently translated at 99.4% (170 of 171 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/nl/

* Translated using Weblate (Chinese (Simplified))

Currently translated at 87.7% (150 of 171 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/zh_Hans/

* Translated using Weblate (German)

Currently translated at 100.0% (178 of 178 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/

Translated using Weblate (German)

Currently translated at 100.0% (172 of 172 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/

* Translated using Weblate (Japanese)

Currently translated at 100.0% (178 of 178 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ja/

* Translated using Weblate (Occitan)

Currently translated at 100.0% (178 of 178 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/oc/

Translated using Weblate (Occitan)

Currently translated at 97.1% (173 of 178 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/oc/

* Translated using Weblate (Turkish)

Currently translated at 100.0% (178 of 178 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/tr/

* Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/

* Translated using Weblate (German)

Currently translated at 100.0% (181 of 181 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/

Translated using Weblate (German)

Currently translated at 100.0% (180 of 180 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/

* Translated using Weblate (Turkish)

Currently translated at 100.0% (180 of 180 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/tr/

* Translated using Weblate (Swedish)

Currently translated at 100.0% (180 of 180 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/sv/

* Translated using Weblate (Dutch)

Currently translated at 99.4% (179 of 180 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/nl/

* Translated using Weblate (Japanese)

Currently translated at 100.0% (180 of 180 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ja/

* Translated using Weblate (Occitan)

Currently translated at 98.3% (178 of 181 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/oc/

* Translated using Weblate (Italian)

Currently translated at 99.4% (180 of 181 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/it/

Co-authored-by: kaakaa <stooner.hoe@gmail.com>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: aeomin <lin@aeomin.net>
Co-authored-by: JtheBAB <srast@bioc.uzh.ch>
Co-authored-by: YorimiMochida <yuuman002@gmail.com>
Co-authored-by: Quentin PAGÈS <quentinantonin@free.fr>
Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Co-authored-by: MArtin Johnson <martinjohnson@bahnhof.se>
Co-authored-by: Matteo Ruggiero <kirito.poppox@gmail.com>
2021-10-05 15:39:54 +02:00
Julien Fabre
596332e5f7
chore[GH-#860]: Add tests unit for filterEntry (#1446) 2021-10-05 09:34:38 +05:30
Julien Fabre
f89f7d6e97
[GH-862] Add tests unit for newCardButton (#1424)
* chore[GH-#862]: add tests unit for newCardButton

* fix: views state

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-10-04 20:16:14 -06:00
Julien Fabre
9618d0079d
[GH-863] add tests unit for newCardButtonTemplateItem (#1414)
* chore[GH-#863]: add tests unit for newCardButtonTemplateItem

* chore: fix test view and add set as default test

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-10-04 19:48:10 -06:00
Leo Palmer Sunmo
f51b33dd87
Add the ability to import checklists from Trello (#1430)
* Add the ability to import checklists from Trello

* Fix various lint and import issues
2021-10-04 16:08:29 -07:00
Chen-I Lim
58f6b8031a
Fix #1397. Add show empty toggle to Dashboard (#1398)
* Fix #1397. Add show empty toggle to Dashboard

* Update Jest snapshot

* Fix jest

* Use UserSettingKey
2021-10-04 14:27:30 -07:00
Asaad Mahmood
c332e455c1
Updating splash screen sizing for image and content (#1399)
* Updating splash screen sizing for image and content
2021-10-04 16:58:56 -04:00
Tiago Santos Da Silva
c24888977c
Typing adjustment - 1357 (#1411)
* fix: typing adjustment
2021-10-04 16:56:32 -04:00
Kolos Niedermayer
1af58f6e61
[GH-993] Fix csv export header (#1417)
* Fix csv header row
2021-10-04 16:53:10 -04:00
Fares Rihani
e931a6e56e
Webapp Linter Fixes - fix no-explicit-any warnings in options.tsx, workspaceOptions.tsx (#1427)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-10-04 13:05:28 -06:00
Julien Fabre
c2f688e980
[GH-865] Add more tests unit to viewHeaderActionMenu (#1412)
* chore[#865]: add other test unit to viewHeaderActionMenu

* fix: add clearMocks

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-10-04 13:04:34 -06:00
Scott Bishel
0ac2fc0f62
gh-1360 Fix for tests using 'any' when wrapping components (#1374)
* fix for tests using any when wrapping components

* update/cleanup use of test wrappers

* fix up package

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-10-04 12:27:37 -06:00
Julien Fabre
7123311902
[GH-866] add unit test for viewHeaderGroupByMenu (#1403)
* --wip-- [skip ci]

* chore[#866]: add unit test for viewHeaderGroupByMenu

* fix: review test and add testUtils

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-10-04 12:01:54 -06:00
Julien Fabre
20933183b7
chore[GH-#861]: add unit test for filterValue" (#1428) 2021-10-04 13:08:00 -04:00
Miguel de la Cruz
711da0409f
Disable websockets in shared boards (#1391)
* Disable websockets in shared boards

* Address review comments

* Fix linter
2021-10-04 18:01:49 +02:00
kamre
c852ae2802
Views added to mocked store state. (#1434) 2021-10-04 08:04:36 -06:00
Fares Rihani
c34e3de24e
Webapp Linter Fixes - fix linter warnings for file markdownEditor.tsx (#1422) 2021-10-04 17:06:43 +05:30
Tiago Santos Da Silva
1d0bb180f4
Typing adjustment - 1354 (#1416)
* refactor: adjusting typing

* fix: Correction of some typings with unknown
2021-10-04 15:14:30 +05:30