Commit graph

2126 commits

Author SHA1 Message Date
kamre
c5a4dd80f7
[GH-705] Auto-name new property (#1408)
* Open menu with property name and type when new property is added.

* Adding new property asks for the type and sets initial name.

* Component for property types menu items introduced.

* Close property menu when enter is pressed in the input.

* Unit test for `CardDetailProperties` fixed:
 - jest snapshot updated
 - switched from mocking `fetch` to mocking `mutator`

* Unit tests for `CardDetailProperties` updated:
 - use the recommended way to get elements and trigger user events
 - test for properties menu when adding new property added

* Unit tests for `CardDetailProperties` added:
 - delete existing property
 - add new property

* Don't use debouncing for property type selection.

* Fix unit test for deleting property.

* Width of button `+ Add a property` is fixed.

* Jest snapshot updated after merge with `main`
2021-10-27 09:04:15 +02:00
Doug Lauder
c9a629d135
typed block type (#1672) 2021-10-26 21:11:19 -04:00
Prakhar Porwal
30669e6d43
[GH-838]Created unit tests for /webapp/src/components/viewMenu.tsx (#1648)
* Created snapshot unit tests

* added one more view (table view) to unit test

Co-authored-by: Prakhar <>
2021-10-26 20:02:14 +02:00
Archit Mathur
5848ea1c07
[GH-1256] feat: config file flag (#1418)
* feat: adds support for --config

* feat: adds support for configFilePath in startServer

* chore: removes ugly spacing
2021-10-26 17:49:20 +05:30
Nishant Mittal
8b66243ca2
[GH-839] Unit tests for viewTitle.tsx (#1662)
* test: unit tests for viewTitle.tsx

* readonly: false
2021-10-26 16:58:53 +05:30
Julien Fabre
37a0b274b7
chore[GH-#834]: Add unit tests for modal (#1644) 2021-10-26 16:34:44 +05:30
Julien Fabre
3f726f9e64
chore[GH-#833]: Add unit tests for markdownEditor (#1643) 2021-10-26 16:33:39 +05:30
Igor Montagner
9335166836
[GH 483] Linux-app: discover executable folder and use it in config instead of ./ (#1613)
* Discover executable folder and use it in config instead of ./

* Use camel case.
2021-10-26 16:31:23 +05:30
Kaya Zeren
14cb523f8f Translated using Weblate (Turkish)
Currently translated at 100.0% (196 of 196 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/tr/
2021-10-25 11:35:23 -05:00
Tom De Moor
6604d54c1b Translated using Weblate (Dutch)
Currently translated at 95.9% (188 of 196 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/nl/
2021-10-25 11:35:23 -05:00
master7
a5a12ba931 Translated using Weblate (Polish)
Currently translated at 100.0% (196 of 196 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/pl/
2021-10-25 11:35:23 -05:00
Tóth Csaba // Online ERP Hungary Kft
934e84c3a4 Translated using Weblate (Hungarian)
Currently translated at 100.0% (196 of 196 strings)

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

Translated using Weblate (Hungarian)

Currently translated at 92.3% (181 of 196 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/hu/
2021-10-25 11:35:23 -05:00
Berke Kalkan
6f3de195b3 Translated using Weblate (Turkish)
Currently translated at 93.8% (184 of 196 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/tr/
2021-10-25 11:35:23 -05:00
Quentin PAGÈS
c0a3edcb0d Translated using Weblate (Occitan)
Currently translated at 97.9% (192 of 196 strings)

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

Translated using Weblate (Occitan)

Currently translated at 93.3% (183 of 196 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/oc/
2021-10-25 11:35:23 -05:00
JtheBAB
97612949dc Translated using Weblate (German)
Currently translated at 100.0% (196 of 196 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/
2021-10-25 11:35:23 -05:00
Hosted Weblate
b476bcbecf Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/
2021-10-25 11:35:23 -05:00
master7
6281690fa7 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/
2021-10-25 11:35:23 -05:00
Anne-Laure Gaillard
2c6c195678 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/
2021-10-25 11:35:23 -05:00
kaakaa
6dc68f6bf4 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/
2021-10-25 11:35:23 -05:00
Iuri Mendes
a666750a60 Translated using Weblate (Portuguese (Brazil))
Currently translated at 79.3% (146 of 184 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/pt_BR/
2021-10-25 11:35:23 -05:00
Hossein
fee83b49a6
Write Unit Test for emptyCenterPanel.tsx and welcomePage.tsx (#1621)
* write test for welcomePage

* Add test for emptyCenterPanel

* Addresse Jesus Comments

* Address Jesus Comments
2021-10-25 11:44:46 -04:00
Marc Velasco
169326e714
removed TODO comments flagged by eslint (#1623) 2021-10-25 11:36:59 -04:00
Nishant Mittal
e33fa1d593
fix: minor fixes to addContentMenuItem.test.tsx and cardDialog.test.tsx (#1651) 2021-10-25 16:38:25 +02:00
Harshil Sharma
1eb5c22571
Removed nullability of block created by and modified by fields: (#1603)
* Rmeoved nullability of block created by and modified by fields:

* Fixed incorrect column name in migration
2021-10-25 19:50:38 +05:30
Julien Fabre
eac489231a
chore[GH-#831]: Add unit tests for emptyCenterPanel (#1652) 2021-10-25 13:11:14 +05:30
Chen-I Lim
ae552e260c
Update to v0.10 (#1633) 2021-10-22 13:59:05 -07:00
Hossein
eed1f86c15
Unfurl Focalboard Link (#1081) 2021-10-22 12:13:31 -04:00
Miguel de la Cruz
8666bc833a
Adds a generator that wraps store methods with transactions and migrates implementations to use transactions (#1440)
* Adds a generator that wraps store methods with transactions and migrates implementations to use transactions

* Remove OpenTracing parameters from the generator

* Remove unused template methods

* Generate transactional methods only for those labelled as so

* Fix linter
2021-10-22 12:48:53 +02:00
Harshil Sharma
2415c9f28b
Ensure workspace ID is available in path (#1594)
* WIP: Testing a fix

* Moved to workspace ID path if workspace ID is available

* Remived debug logs

* added personal server check

* Removed an awesome class name

* Use replace instead of push
2021-10-22 14:37:46 +05:30
Julien Fabre
0e6fab45eb
chore[GH-#829]: Add unit tests for contentBlock (#1609)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-10-21 13:42:39 -04:00
Scott Bishel
d0083f6ed0
GH-1489: Add Telemetry for Shared Boards (#1610)
* add telemetry for shared boards

* move where setting view out of Routes

* add for configuration setting

* fix spacing

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-10-21 11:17:31 -06:00
Miguel de la Cruz
d22fe7fbc0
Modify undo manager to return a value and use it on undo (#1616)
* Modify undo manager to return a value and use it on undo

* Storing the last redo value internally to correctly run undo

* Fix types

* Improve test ensuring redo didn't add original block

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-10-21 18:50:19 +02:00
Hossein
9f74287802
fix main (#1619) 2021-10-21 10:29:06 -04:00
Miguel de la Cruz
afc37ca3af
Add non-reliable websockets support (#1497)
* Add non-reliable websockets support

* Remove unused properties

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2021-10-21 15:44:27 +02:00
Julien Fabre
17b2d07daf
[GH-852]: Add tests for galleryCard (#1587)
* chore[GH-#852]: Add tests for GalleryCard

* fix: error octoClient not mocked

* fix: review snapshot for image
2021-10-21 14:09:45 +02:00
Chen-I Lim
0e10f52317
Import jira (#1561)
* Load and parse xml

* Priority and status

* Replace foreach

* type property

* explicitArray false

* Parse description html

* Use turndown to convert html

* Allow optional priority

* Import assignee and reporter as Select

* Store original URL

* Created date

* Created date

* Update readme

* .gitignore

* Update readme

* Update import readme

* Fix readme

* Update import/jira/README.md

Fix typo.

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>

* Remove commented out line

* Add basic Jest test

* Test that import was complete

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2021-10-20 09:13:53 -07:00
Hossein
95b230acea
fix main (#1604) 2021-10-20 10:21:10 -04:00
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