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

2089 Commits

Author SHA1 Message Date
Naresh Chavan
4465a85c3e
Update iconButton.tsx (#1512) 2021-10-20 08:21:24 -04:00
Julien Fabre
e5e7501efb
[GH-827] Add tests for cardDialog (#1592) 2021-10-19 22:39:53 -04:00
Nishant Mittal
96c346ed0f
[GH-1003] Deleted option doesn't go away immediately in select property (#1569) 2021-10-19 15:36:16 -04:00
Johannes Marbach
14634fd4e8
[GH-1080] Use current locale for date range (#1575)
This uses the currently configured locale to compute the value of date
range table aggregations. Previously, it would fall back to the browser
locale (or English) and ignore the locale configured in Focalboard
itself.

Relates to: #1080

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-10-18 15:17:08 -04:00
Julien Fabre
85ffb63b91
chore[GH-#851]: Add unit tests for Gallery (#1577)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-10-18 14:53:36 -04:00
Weblate (bot)
0488170beb
Translations update from Weblate (#1588)
* Translated using Weblate (Spanish)

Currently translated at 85.6% (155 of 181 strings)

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

* Translated using Weblate (Greek)

Currently translated at 26.5% (48 of 181 strings)

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

* Translated using Weblate (Dutch)

Currently translated at 99.4% (183 of 184 strings)

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

Added translation using Weblate (Hungarian)

* Translated using Weblate (German)

Currently translated at 100.0% (184 of 184 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 100.0% (184 of 184 strings)

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

* Translated using Weblate (Occitan)

Currently translated at 99.4% (183 of 184 strings)

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

Translated using Weblate (Occitan)

Currently translated at 98.3% (181 of 184 strings)

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

* Translated using Weblate (Turkish)

Currently translated at 100.0% (184 of 184 strings)

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

* Translated using Weblate (Spanish)

Currently translated at 92.9% (171 of 184 strings)

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

* Translated using Weblate (Hungarian)

Currently translated at 94.0% (173 of 184 strings)

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

* Translated using Weblate (Chinese (Simplified))

Currently translated at 83.1% (153 of 184 strings)

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

* Translated using Weblate (French)

Currently translated at 93.4% (172 of 184 strings)

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

* Translated using Weblate (Polish)

Currently translated at 100.0% (184 of 184 strings)

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

* Translated using Weblate (Swedish)

Currently translated at 100.0% (184 of 184 strings)

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

Co-authored-by: Diego Alvarez <dialvarezs@gmail.com>
Co-authored-by: Golfo Vasiliou <faysvas@yahoo.com>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: JtheBAB <srast@bioc.uzh.ch>
Co-authored-by: kaakaa <stooner.hoe@gmail.com>
Co-authored-by: Quentin PAGÈS <quentinantonin@free.fr>
Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Co-authored-by: Sofia Carballo <sofia.carballo@live.com>
Co-authored-by: Tóth Csaba // Online ERP Hungary Kft <csaba.toth@online-erp.hu>
Co-authored-by: aeomin <lin@aeomin.net>
Co-authored-by: Nathanaël <contact@nathanaelhoun.fr>
Co-authored-by: master7 <marcin.karkosz@rajska.info>
Co-authored-by: MArtin Johnson <martinjohnson@bahnhof.se>
2021-10-18 11:13:15 -05:00
Adithya Krishna
034c4828b1
Fixed Auto Expand Issue (#1554)
Signed-off-by: Adithya Krishna <aadithya794@gmail.com>
2021-10-18 17:34:51 +05:30
Nakul Chauhan
a8390747d3
Fixed overflowing checkbox (#1585) 2021-10-18 01:45:36 -04:00
Rafael Baldasso Audibert
1c5d4aeeb2
Some webapp linter fixes (#1405)
* fix: Fix eslint warning when using `window as any`

* fix: FIx some eslint errors

Closes #1359

* fix: Add some mora extra types

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-10-16 18:36:03 +02:00
Nishant Mittal
ffbd22afb8
[GH-1315] Fix card automatically scrolls to bottom (#1573)
* fix: card automatically scrolls to bottom

* fix: update jest snapshots
2021-10-16 07:48:12 -04:00
kamre
b5a194b62c
CardDetailProvider wraps the content part of the GalleryCard. (#1556)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-10-15 15:34:30 -06:00
Johannes Marbach
5204e2d080
[GH-1368] Add empty / not empty table aggregations (#1557)
This adds new aggregations for counting empty / not empty cards as well
as computing the respective percentage.

Fixes: #1368
2021-10-15 15:25:38 -06:00
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