Commit Graph

1968 Commits

Author SHA1 Message Date
Scott Bishel
381085f655
Fixes issue with dates and daylight savings (#1752)
* dates should use themselves for timezone offset

* remove log lines

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-11-04 19:21:47 +01:00
Miguel de la Cruz
f566a7d7c0
Redirect to new routes when visiting a board with the legacy ones (#1746) 2021-11-04 18:24:57 +01:00
jrester
13ef8e85f3
[GH-1510] make calculation options translatable (#1529)
* make calculation options translatable

* fix liniting errors

* don't modiy options

* fix liniting error

* Fix failing test

* some tests where failing because the IntlProvider was missing in the
  component hierachy
* changed 'Unique Values' to just 'Unique'
2021-11-04 16:51:17 +01:00
Julien Fabre
6741b0e07e
[GH-837]: Add unit tests for topBar (#1751)
* chore[GH-#837]: Add unit tests for topBar

* fix: eslint error for screen

* fix: none

* fix: none and snapshot...
2021-11-04 09:35:05 -04:00
Fares Rihani
69b8641534
[GH-1351] Webapp Linter Fixes - Investigate / Update using any Record<string, any> (#1682)
* Webapp Linter Fixes - update workspace.ts, dateRange.tsx, editableDatePicker.tsx

* Webapp Linter Fixes - accept Record<string, any> in block.ts, user.tsx

* Webapp Linter Fixes - Cleanup moment global-require

* Webapp Linter Fixes - match settings type to backend in workspace.ts

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-11-04 11:43:03 +01:00
Miguel de la Cruz
751f632c36
Modify store creation not to fail on template initialization failure (#1722) 2021-11-03 19:10:32 +01:00
Miguel de la Cruz
cee4b72261
Normalise and add safety checks to telemetry code (#1739)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-11-03 18:46:51 +01:00
Nishant Mittal
02f7615c10
[GH-1432]: Use Button component on welcomePage.tsx (#1734)
* feat: use Button component on welcomePage.tsx

* update snapshots and fix lint errors

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-11-03 10:03:18 -06:00
Doug Lauder
849cc5c195
Move BlockType2IDType from utils to model (#1744) 2021-11-03 12:01:39 -04:00
Miguel de la Cruz
cadbaf5724
Check nulls on board and active view when tracking telemetry events (#1738)
* Check nulls on board and active view when tracking telemetry events

* Update effect to trigger a track event when the board or the view change
2021-11-03 16:22:22 +01:00
Miguel de la Cruz
59413a9fc4
Changed server not bind to any port to debug, as it's a plugin only option (#1743) 2021-11-03 15:24:31 +01:00
Grzegorz Tańczyk
ef22efd917
[GH-1278] Confirm delete when deleting board (#1339)
* Delete board confirmation modal (#1278)

* dialog should fill the screen on small resolution

* Updating delete board confirm UI

* Pass onClose callback to Dialog props

* lint

* removing danger-button-bg-rgb from shared variables, adjusting dialog styles to work both in plugin and standalone version of focalboard

* lint

* remove set timeout

* Update button.scss

* update snpashot

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
Co-authored-by: Hossein Ahmadian-Yazdi <hyazdi1997@gmail.com>
Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
2021-11-03 08:57:03 -04:00
Jenya
f6c867b4af
Fixed menu label hover (#1499)
* Fixed menu label hover

* removed cursor in menu wrapper, causing pointer cursor on entire option menu

* Fixed sidebar menu buttons having no cursor

* logo title cursor

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-11-03 17:44:32 +05:30
Kunal Kumar Verma
9a3406d0d6
fix: error message ui (#1683)
Signed-off-by: kkvanonymous <ninja.kunal01@gmail.com>
2021-11-03 17:02:31 +05:30
Harshil Sharma
d5be5258af
Prevented workspace switcher from settiong dashboard as the last visited workspace (#1676)
* Prevented workspace switcher from settiong dashboard as the last visited workspace ID

* Fixed tests
2021-11-03 10:29:17 +05:30
Harshil Sharma
f0ae9630ed
Fixed a bug causing duplicate options to appear in board calculations (#1711)
* Fixed a bug causing duplicate options to appear in board calculations

* Updated ate option names to avoid ambiguity with number functions
2021-11-03 09:36:11 +05:30
Kirti Lodha
e4b570e6aa
start and end dates styling changed (#1669)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-11-02 09:03:56 -06:00
Doug Lauder
c3a08c3418
utils.BlockType2IDType (#1715) 2021-11-02 09:17:53 +01:00
Marc Velasco
1b10890f72
add eslint comment to ignore todo for empty if block (#1624)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-11-01 19:18:45 -06:00
Scott Bishel
9b9682f626
Create FeatureFlags in configurations (#1622)
* create FeatureFlags in configurations

* update for unit tests

* update unit tests, go.mod

* update go.sum

* fix lint errors

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-11-01 19:12:43 -06:00
Scott Bishel
754109e168
Gh 1451 mobile sidebar (#1675)
* temporary checkin

* hide sidebar by default < 768

* update to use function

* remove unused snapshot

* unhide sidebar on expansion

* update to handle manual close in personal server
2021-11-01 18:59:18 -06:00
Kaya Zeren
8dbc6eeff7 Translated using Weblate (Turkish)
Currently translated at 100.0% (200 of 200 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/tr/
2021-11-01 11:48:28 -06:00
JtheBAB
1b4d319cd6 Translated using Weblate (German)
Currently translated at 100.0% (200 of 200 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/
2021-11-01 11:48:28 -06:00
Eric Liu
92e18dc9fc Translated using Weblate (Chinese (Traditional))
Currently translated at 78.0% (153 of 196 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/zh_Hant/
2021-11-01 11:48:28 -06:00
Milo Ivir
cccd557791 Translated using Weblate (Croatian)
Currently translated at 100.0% (196 of 196 strings)

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

Added translation using Weblate (Croatian)
2021-11-01 11:48:28 -06:00
Matteo Ruggiero
d5f26ea54d Translated using Weblate (Italian)
Currently translated at 100.0% (196 of 196 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/it/
2021-11-01 11:48:28 -06:00
SerHack
5d930042d8 Translated using Weblate (Italian)
Currently translated at 100.0% (196 of 196 strings)

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

Translated using Weblate (Italian)

Currently translated at 100.0% (196 of 196 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/it/
2021-11-01 11:48:28 -06:00
Tom De Moor
07a4b9d160 Translated using Weblate (Dutch)
Currently translated at 99.4% (195 of 196 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/nl/
2021-11-01 11:48:28 -06:00
kaakaa
9d20748607 Translated using Weblate (Japanese)
Currently translated at 99.4% (195 of 196 strings)

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

Translated using Weblate (Japanese)

Currently translated at 98.9% (194 of 196 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ja/
2021-11-01 11:48:28 -06:00
Varghese Jose
5794ea886d Translated using Weblate (Malayalam)
Currently translated at 66.3% (130 of 196 strings)

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

Translated using Weblate (Malayalam)

Currently translated at 58.6% (115 of 196 strings)

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

Translated using Weblate (Malayalam)

Currently translated at 22.4% (44 of 196 strings)

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

Translated using Weblate (Malayalam)

Currently translated at 8.6% (17 of 196 strings)

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

Translated using Weblate (Malayalam)

Currently translated at 5.1% (10 of 196 strings)

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

Added translation using Weblate (Malayalam)
2021-11-01 11:48:28 -06:00
Prakhar Porwal
1176247f41
[GH-1647] Added localization for gallery option in view menu (#1654)
* added intl formatting for name property

* ran i18n-extract script

Co-authored-by: Prakhar <>
Co-authored-by: prakharporwal <prakharporwal99@gmail.com>
2021-11-01 10:23:16 -04:00
Julien Fabre
ac3533e0e3
chore[GH-#854]: Add unit tests for kanbanCard (#1698) 2021-11-01 09:08:37 -04:00
Harshil Sharma
2bbac9d1a1
Fixed issue where clicking on rendered markdown links would move editor into editing mode (#1677)
* Fixed issue where clicking on rendered markdown links would move editor into editing mode

* Updated tests

* Minor fixes
2021-11-01 11:56:02 +05:30
Julien Fabre
b40bd0f2f9
chore[GH-#828]: Add unit tests for centerPanel (#1695) 2021-11-01 11:05:26 +05:30
Genei180
b9a595425c
Added Install/Build Instructions for Docker in Readme (#1705) 2021-11-01 11:00:26 +05:30
Julien Tant
2063a4ec47
webapp: make 'no options' message more explicit + translatable (#1706) 2021-11-01 11:00:16 +05:30
Julien Fabre
1b1d2b78a5
chore[GH-#857]: Add unit tests for kanbanHiddenColumnItem (#1699) 2021-11-01 10:57:49 +05:30
Julien Fabre
7fa4c55473
chore[GH-#855]: Add unit test for kanbanColumn (#1704) 2021-11-01 10:55:56 +05:30
Hossein
690d424dfe
Fix Unfurl Bugs (#1668) 2021-10-27 14:53:53 -04:00
Chen-I Lim
380bd92725
Update telemetry (#1673) 2021-10-27 09:30:42 -07:00
Chen-I Lim
902a25c265
Fix #1663. Remove unused workflows. (#1674) 2021-10-27 08:42:16 -07:00
Scott Bishel
720e59fc10
add dropdownText when registering plugin (#1671) 2021-10-27 09:26:51 -06:00
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