Commit graph

2047 commits

Author SHA1 Message Date
Julien Fabre
cfbec9d90b
[GH-840]: add unit tests for workspace (#1781)
* chore[GH-#840]: add unit tests for workspace

* fix: test and snapshot

* fix: snapshot error
2021-11-09 14:45:13 -07:00
Yusuke Nemoto
76cba7c02b
Fix message (#1768)
* Update deleteBoardDialog.tsx

* i18n: update en.json

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-11-09 14:26:42 -07:00
Jesús Espino
23d3ae3584
Fixing styles on product switcher menu (#1783) 2021-11-09 13:42:19 -07:00
sarvani1997
5fe26615f1
Fixed sort by date (#1719)
* Fixed sort by date

Date property is in JSON string. So, we should parse it and sort later.

* fix type script error

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-11-09 15:39:04 -05:00
Hossein
792d8832c6
Fix GH-1727: Board calculations: Dates are cut off (#1770)
* Fix GH-1727

* update snapshots

* fix snapshot
2021-11-09 13:26:45 -07:00
Hossein
520f1e65e7
minimum changes required (#1763) 2021-11-09 14:50:54 -05:00
Scott Bishel
f74eea11ba
Fix for feature flag handling (#1753)
* fix for handling feature flags changing

* update tests

* fix tests

* lint fixes

* feedback updates

* use getConfig instead

* linter fix

* more linter

* revert changes

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-11-09 07:56:04 -07:00
Hossein
ad0e3a1248
Fix GH-1724 (#1771) 2021-11-09 14:27:09 +01:00
Rakshit Arora
63ff9a7de5
Vertically Center Aligned createdBy, createdAt, lastModifiedBy and lastModifiedAt Properties (#1580)
* Vertically Center Aligned Dates.

* Vertically Centered lastModifiedAt & lastModifiedBy Properties

* Centered createdAt & createdBy Properties

* Added newlines in sass files

* Fixed createdBy alignment

* fix linting

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Hossein Ahmadian-Yazdi <hyazdi1997@gmail.com>
2021-11-09 08:23:09 -05:00
Chen-I Lim
ccf4dc6c23
Add utm_source and campaign for links to main site (#1779) 2021-11-09 07:24:25 +02:00
Johannes Marbach
11c667b9bf
[GH-438] Add basic web cliper browser extension (#1582)
This adds a rudimentary web clipper browser extension. It allows to save
page titles and URLs into cards. URLs will be written into the first
found card property of type 'url' (if any).

Relates to: #438
2021-11-08 16:07:08 -08:00
Chen-I Lim
2113cac6fd
v0.10 changelog (#1778) 2021-11-08 13:14:37 -08:00
kaakaa
7ab1b81f8a Translated using Weblate (Japanese)
Currently translated at 100.0% (239 of 239 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ja/
2021-11-08 11:22:06 -06:00
Valentin Rozman
7465fb09ff Translated using Weblate (Slovenian)
Currently translated at 2.5% (6 of 239 strings)

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

Added translation using Weblate (Slovenian)
2021-11-08 11:22:06 -06:00
master7
c12d3ed4fa Translated using Weblate (Polish)
Currently translated at 100.0% (205 of 205 strings)

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

Translated using Weblate (Polish)

Currently translated at 100.0% (201 of 201 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/pl/
2021-11-08 11:22:06 -06:00
JtheBAB
825bf42a2b Translated using Weblate (German)
Currently translated at 100.0% (239 of 239 strings)

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

Translated using Weblate (German)

Currently translated at 100.0% (205 of 205 strings)

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

Translated using Weblate (German)

Currently translated at 100.0% (201 of 201 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/
2021-11-08 11:22:06 -06:00
Milo Ivir
683a825851 Translated using Weblate (Croatian)
Currently translated at 100.0% (201 of 201 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/hr/
2021-11-08 11:22:06 -06:00
SerHack
5015f60b13 Translated using Weblate (Italian)
Currently translated at 100.0% (239 of 239 strings)

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

Translated using Weblate (Italian)

Currently translated at 100.0% (239 of 239 strings)

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

Translated using Weblate (Catalan)

Currently translated at 70.2% (144 of 205 strings)

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

Translated using Weblate (Italian)

Currently translated at 100.0% (205 of 205 strings)

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

Translated using Weblate (Italian)

Currently translated at 100.0% (205 of 205 strings)

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

Translated using Weblate (Italian)

Currently translated at 100.0% (201 of 201 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/it/
2021-11-08 11:22:06 -06:00
Kaya Zeren
2074a38a36 Translated using Weblate (Turkish)
Currently translated at 100.0% (239 of 239 strings)

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

Translated using Weblate (Turkish)

Currently translated at 100.0% (205 of 205 strings)

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

Translated using Weblate (Turkish)

Currently translated at 100.0% (201 of 201 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/tr/
2021-11-08 11:22:06 -06:00
Varghese Jose
fe5d4e271e Translated using Weblate (Malayalam)
Currently translated at 72.3% (173 of 239 strings)

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

Translated using Weblate (Malayalam)

Currently translated at 67.3% (161 of 239 strings)

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

Translated using Weblate (Malayalam)

Currently translated at 71.1% (143 of 201 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ml/
2021-11-08 11:22:06 -06:00
Tóth Csaba // Online ERP Hungary Kft
083790510a Translated using Weblate (Hungarian)
Currently translated at 100.0% (239 of 239 strings)

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

Translated using Weblate (Hungarian)

Currently translated at 100.0% (205 of 205 strings)

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

Translated using Weblate (Hungarian)

Currently translated at 100.0% (201 of 201 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/hu/
2021-11-08 11:22:06 -06:00
MArtin Johnson
106259fe8d Translated using Weblate (Swedish)
Currently translated at 95.8% (229 of 239 strings)

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

Translated using Weblate (Swedish)

Currently translated at 100.0% (201 of 201 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/sv/
2021-11-08 11:22:06 -06:00
Quentin PAGÈS
082ca09f5b Translated using Weblate (Occitan)
Currently translated at 82.4% (197 of 239 strings)

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

Translated using Weblate (Occitan)

Currently translated at 96.5% (194 of 201 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/oc/
2021-11-08 11:22:06 -06:00
Tom De Moor
cab06ceec8 Translated using Weblate (Dutch)
Currently translated at 92.8% (222 of 239 strings)

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

Translated using Weblate (Dutch)

Currently translated at 86.6% (207 of 239 strings)

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

Translated using Weblate (Dutch)

Currently translated at 98.5% (198 of 201 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/nl/
2021-11-08 11:22:06 -06:00
Julien Fabre
61aebfd39f
chore[GH-#853]: Add unit tests for kanban (#1718)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-11-08 10:08:12 -07:00
Scott Bishel
a9d397c5e1
throw error if workspace is undefined (#1773) 2021-11-08 09:49:59 -07:00
Jesús Espino
0947babe50
Applying the plugin theme changes based on websocket event (#1759) 2021-11-08 07:52:31 -07:00
Miguel de la Cruz
fa36e092bb
Server generated ids (#1667)
* Adds server ID generation on the insert blocks endpoint

* Fix linter

* Fix server linter

* Fix integration tests

* Update endpoint docs

* Update code to use the BlockType2IDType function when generating new IDs

* Handle new block ids on boards, templates and views creation

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-11-05 11:54:27 +01:00
Scott Bishel
581ae7b97a
fix failing test (#1757) 2021-11-04 19:33:08 +01:00
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