1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-12-24 13:43:12 +02:00
Commit Graph

1977 Commits

Author SHA1 Message Date
DeeJayBro
40b9e3341f
Fix Share Dialog text overflow in german language (#1559) 2021-10-15 15:17:12 -06:00
Johannes Marbach
f771878fa8
[GH-411] Use relative date/time for comments (#1574)
This replaces the absolute date for comments on cards with a relative
date/time format and moves the absolute value into a tooltip.

Fixes: #411
2021-10-15 15:15:32 -06:00
Doug Lauder
4b5436696f
don't allow notifications for import (#1565) 2021-10-15 15:09:43 -06:00
Doug Lauder
d49a802c3c
fix card URLs with no viewid (#1571)
* fix card URLs with no viewid

* revert ServerRoot change
2021-10-15 14:23:35 -04:00
Nishant Mittal
845b40be84
[GH-999] Automatically search wihout pressing enter (#1506)
* feat: automatically search without pressing enter

* fix: don't create a new function on every render

* fix: cleanup debounced function when search is unmounted
2021-10-15 11:35:12 -04:00
prakharporwal
977bc1dafa
[GH-512] Feature #512 made confirmation dialog box. (#1546)
* Made confirmationDialogBox from existing dialog component

* Used ConfirmationDialogBox to raise warning before deletion of card property

* fixes as ci checks did not pass

* fixes to pass ci tests

* Flash Message now visible (changed its z-index)

* Confirmation Dialog shows the property name.

* fixes for eslint test failure

* fixes for eslint test fail

* fixes for eslint test failure

* fix for eslint test failure

* fixed a wrong subtext string

* fixed eslint issues in scss

* i18n en.json for localisation updated

* `en.json;`-wrong file generated by `npm run i18n-extract ` command removed

Co-authored-by: Prakhar <>
2021-10-14 11:42:36 -07:00
Scott Bishel
a756b7e1c6
remove connection string from log (#1564) 2021-10-14 13:04:35 -04:00
Chen-I Lim
acc81da719
Website: Add links to Mattermost Boards (#1563) 2021-10-14 18:17:22 +02:00
Justine Geffen
50e4305a92
Update _index.md (#1560)
Some rewording and formatting changes to align with our product docs.
2021-10-14 08:38:01 -07:00
Adithya Krishna
dfbf9bc72a
Fixed Icon Picker Closing Bug (#1553)
Signed-off-by: Adithya Krishna <aadithya794@gmail.com>
2021-10-14 16:53:06 +05:30
Chen-I Lim
341febe84a
Update website for v0.9.2 (#1534) 2021-10-13 11:01:39 -07:00
DeeJayBro
cad6884fda
[GH-1487] fix csv export fail (#1533)
* fix csv export fail
2021-10-13 11:59:29 -04:00
DeeJayBro
f38db2bce9
fix height of hidden add icon element (#1537) 2021-10-13 11:49:29 -04:00
kamre
64fdeef893
Unit test for ContentElement fixed. (#1547) 2021-10-13 11:06:57 -04:00
Julien Fabre
45904613ec
[GH-850] Add unit tests to textElement (#1520)
* chore[GH-#850]: Add unit tests to textElement

* fix: add test on elements array
2021-10-13 16:34:36 +05:30
kamre
07cbc522fd
[GH-1467] Automatically create new checkbox when enter is pressed (#1505)
* Initial implementation for creation of new checkbox when enter is pressed.

* Card detail context added:
  - used for adding new content element
  - tracks id of new block that was added
  - used in checkbox element to set focus

* Deleting of last added empty checkbox supported.

* Rename addNewElement/addNewBlock to addElement/addBlock.

* New component CardDetailProvider for card detail context introduced.

* Delete only automatically added checkboxes.

* Fix existing unit tests: add `CardDetailProvider` when needed.

* Unit tests for `CheckboxElement` updated:
  - use mocked mutator
  - test for focus of last added checkbox added
  - test for adding new checkbox on pressing enter added
  - test for deleting automatically added checkbox on pressing esc/enter added
2021-10-13 16:33:12 +05:30
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