Commit graph

1107 commits

Author SHA1 Message Date
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
Ssensalo Edgar
fa6b486572
Cleaned up TODOs from file (#1478) 2021-10-07 15:22:23 -07: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
Julien Fabre
f89f7d6e97
[GH-862] Add tests unit for newCardButton (#1424)
* chore[GH-#862]: add tests unit for newCardButton

* fix: views state

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-10-04 20:16:14 -06:00
Julien Fabre
9618d0079d
[GH-863] add tests unit for newCardButtonTemplateItem (#1414)
* chore[GH-#863]: add tests unit for newCardButtonTemplateItem

* chore: fix test view and add set as default test

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-10-04 19:48:10 -06:00
Chen-I Lim
58f6b8031a
Fix #1397. Add show empty toggle to Dashboard (#1398)
* Fix #1397. Add show empty toggle to Dashboard

* Update Jest snapshot

* Fix jest

* Use UserSettingKey
2021-10-04 14:27:30 -07:00
Asaad Mahmood
c332e455c1
Updating splash screen sizing for image and content (#1399)
* Updating splash screen sizing for image and content
2021-10-04 16:58:56 -04:00
Tiago Santos Da Silva
c24888977c
Typing adjustment - 1357 (#1411)
* fix: typing adjustment
2021-10-04 16:56:32 -04:00
Kolos Niedermayer
1af58f6e61
[GH-993] Fix csv export header (#1417)
* Fix csv header row
2021-10-04 16:53:10 -04:00
Fares Rihani
e931a6e56e
Webapp Linter Fixes - fix no-explicit-any warnings in options.tsx, workspaceOptions.tsx (#1427)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-10-04 13:05:28 -06:00
Julien Fabre
c2f688e980
[GH-865] Add more tests unit to viewHeaderActionMenu (#1412)
* chore[#865]: add other test unit to viewHeaderActionMenu

* fix: add clearMocks

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-10-04 13:04:34 -06:00
Scott Bishel
0ac2fc0f62
gh-1360 Fix for tests using 'any' when wrapping components (#1374)
* fix for tests using any when wrapping components

* update/cleanup use of test wrappers

* fix up package

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-10-04 12:27:37 -06:00
Julien Fabre
7123311902
[GH-866] add unit test for viewHeaderGroupByMenu (#1403)
* --wip-- [skip ci]

* chore[#866]: add unit test for viewHeaderGroupByMenu

* fix: review test and add testUtils

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-10-04 12:01:54 -06:00
Julien Fabre
20933183b7
chore[GH-#861]: add unit test for filterValue" (#1428) 2021-10-04 13:08:00 -04:00
Miguel de la Cruz
711da0409f
Disable websockets in shared boards (#1391)
* Disable websockets in shared boards

* Address review comments

* Fix linter
2021-10-04 18:01:49 +02:00
kamre
c852ae2802
Views added to mocked store state. (#1434) 2021-10-04 08:04:36 -06:00
Fares Rihani
c34e3de24e
Webapp Linter Fixes - fix linter warnings for file markdownEditor.tsx (#1422) 2021-10-04 17:06:43 +05:30
Tiago Santos Da Silva
1d0bb180f4
Typing adjustment - 1354 (#1416)
* refactor: adjusting typing

* fix: Correction of some typings with unknown
2021-10-04 15:14:30 +05:30
Harshil Sharma
7ce9e44a5d
Resolved issue regarding openign boards link from channels (#1388)
* Resolved issue regarding openign boards link from channels

* Removed unnecessary check
2021-10-04 14:44:18 +05:30
Christopher Speller
ee721c89f1
Fix tiny icons caused by css pollution (#1327) 2021-10-04 10:06:19 +02:00
Hyia丶
ae8bf57160
Update default template (#516)
* Update default template

* Update default template display

* Add default template clear behavior

* Fix merged code

* remove important from css

* Update mutator

Co-authored-by: qingyang.zhong <qizhong@coupang.com>
2021-10-04 09:58:59 +02:00
kamre
1a747b780e
Fix displaying properties on kanban cards: (#1400)
- hide URL property only when it is empty
  - hide empty labels for Select/MultiSelect properties
2021-10-04 10:05:39 +05:30
Julien Fabre
edc89e04ce
[GH - 869] add unit test for viewHeaderSortMenu (#1402)
* chore[#869]: add unit test for viewHeaderSortMenu

* fix: name button in test...

* fix: review test and add testUtils
2021-10-04 09:59:04 +05:30
Julien Fabre
d0eefe8c85
[GH-867]: add unit tests for viewHeaderPropertiesMenu (#1404)
* chore[#867]: add test for viewHeaderPropertiesMenu

* fix: name test

* fix: snapshot on test viewHeaderPropertiesMenu

* fix: rollback cardDetailContents snap

* fix: comments from krame
2021-10-04 09:57:12 +05:30
Julien Fabre
cd261224c4
[GH-868]: add unit tests viewHeaderSearch (#1406)
* chore[#868]: add unit tests viewHeaderSearch

* fix: review test and add testUtils
2021-10-04 09:53:27 +05:30
Julien Fabre
b02708173a
[GH-864]: add tests unit for viewHeader (#1413)
* chore[GH-#864]: add test unit for viewHeader

* fix: eslint import useless
2021-10-04 09:52:30 +05:30
kamre
f1508df6c1
Add --progress for watchdev npm script. (#1407) 2021-10-02 07:35:36 -04:00
Scott Bishel
746d53c4f7
GH-Mobile banner css (#1326)
* mobile banner via css

* remove comment

* fix lint

* fix bad merge
2021-10-01 11:53:27 -06:00
Scott Bishel
35bb3e9024
add readtoken when in readonly mode (#1382) 2021-10-01 11:29:44 -06:00
xMicky24GIT
8a9bb92330
Fix kanban cards overlapping with header (#1234)
Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
2021-10-01 16:44:15 +05:30
Elisha Hollander
4264f69489
remove default return (#1384) 2021-10-01 16:02:18 +05:30
kamre
384e350c13
[GH-1111] Fix height for tooltip (#1123)
* Fix height for tooltip.

* Use unitless number for line-height.

Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
2021-09-30 11:55:24 -07:00
kamre
7617d9e334
Fix dragging for gallery card: (#1303)
- use `translate3d` for proper preview in Chrome
  - set `pointer-events` to `none` to prevent image opening in Firefox

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2021-09-30 11:46:26 -07:00
Harshil Sharma
44520d5748
Allowed dashboard to scroll (#1377) 2021-09-30 07:48:30 -04:00
Scott Bishel
d4e5661ee5
remove file not being used. (#1376) 2021-09-30 12:01:19 +02:00
Scott Bishel
bde2a287e1
GH-1362: Fix missing return type on function (#1375)
* fix missing return type errors

* fix in userSettings
2021-09-29 17:58:36 -06:00
Scott Bishel
f92727f993
add additional telemetry tracking (#1220)
* add additional telemetry tracking

* add additional telemetry tracking

* update name of event

* update logging

* remove log lines
2021-09-29 16:37:20 -06:00
Miguel de la Cruz
ce98ec55fc
Recovers inactive websockets connections on reconnect in plugin mode (#1324)
* Stores a cache of inactive connections so their subscriptions are recovered on reconnections

* Adds test for getUserIDsForWorkspace and simplify messages through helpers

* Make the plugin websocket client more resilient

* Remove missed event callback and limit ws state polling to one at a time

* Add read lock for the plugin adapter and guarantee atomic ops on inactiveAt

* Add mutex to the plugin adapter client and tests to cover for races

* Split plugin adapter mutex in two and use them to lock only on data access

* Group plugin adapter fields by the mutex that's guarding them
2021-09-29 18:19:34 +02:00
CuriousCorrelation
7970d4e6c5
[GH-1082] Add count and percent table calculations for checkbox (#1323) 2021-09-29 12:08:11 +05:30
Harshil Sharma
e40424e319
Handled the case of missing user (#1367) 2021-09-29 11:27:21 +05:30
Hossein
7fae65ea02
Start Welcome Page (#1231)
* start welcome page

* setup template

* setup forwarding logic

* fix linting errors

* Updating UI

* Use intl strings

* Address comments

* go to baords welcome

* Fix image problem

* fix linting

* fix getting shown wrong things

* fix build issues

* fix cypress test and non plugin

* Fix bugs

* remove console

* Add welcome page

* address comments

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
2021-09-28 09:51:32 -04:00
Scott Bishel
cbfb4cb36f
GH-1312 - Update title when running a plugin (#1317)
* Update title when running a plugin

* Update webapp/src/pages/boardPage.tsx

Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
2021-09-28 09:50:23 -04:00
Harshil Sharma
6c6351dae8
Made table calculations uneditable in readonly view (#1320)
* Made table calculations uneditable in readonly view

* Updated snapshots

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-09-28 15:29:06 +05:30
kamre
50470efe07
[GH-1057] Highlighting on hover for property values in the card dialog (#1065)
* Highlight property values on hover:
  - highlight on hover property values that are not readonly
  - make property name buttons the same width
  - set `min-width: 150px` for property values
  - add `readonly` class for LastModifiedAt/LastModifiedBy/CreatedAt

* Make `Editable` used in card property values automatically expandable:
  - input width computation relies on `useLayoutEffect` and `getComputedStyle`
  - enable automatic expand for editable fields in `PropertyValueElement`
  - enable automatic expand for editable inside `URLProperty`
  - fix for tooltip display in `KanbanCard`

* Fix issue with ellipsis in Chrome.

* Support highlight on hover for `UserProperty`

* Updating hover state and UI

* Jest snapshot updated.

* Fix jest snapshots

* Update jest snapshot

* Update jest snapshot

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
Co-authored-by: Chen-I Lim <46905241+chenilim@users.noreply.github.com>
2021-09-24 17:56:21 -07:00
Chen-I Lim
3fbaf36009 Merge branch 'gh-1059-fix-empty-placeholder-in-card-dialog' of https://github.com/kamre/focalboard into kamre-gh-1059-fix-empty-placeholder-in-card-dialog 2021-09-24 16:47:07 -07:00
defectivepixel
58da537274
[GH-526] add copy card link (#795)
* feat: add copy linke to card menu

* style: fix lint issues

* fix: replace add icon with link icon

* tests: update snapshots

* Update webapp/src/components/properties/dateRange/__snapshots__/dateRange.test.tsx.snap

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

* add card id to url if not exist

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
Co-authored-by: Hossein Ahmadian-Yazdi <hyazdi1997@gmail.com>
2021-09-24 12:26:03 -04:00
Harshil Sharma
0f9486262e
Fixed a bug where user couldn't craewte boards from templates (#1319) 2021-09-23 13:12:36 +05:30
Miguel de la Cruz
a8da028bc7
Adds workspaceID to blocks and makes board page only reacts to the workspace updates (#1299) 2021-09-22 13:57:00 -06:00
Chen-I Lim
1c84567c9b
Fix #1285. Don't set property for notIncludes filter. (#1307) 2021-09-22 10:36:46 -07:00
Asaad Mahmood
efa07a13f8
GH-1263 - Updating sidebar width (#1298) 2021-09-22 22:16:43 +05:00
Asaad Mahmood
33dfd798d0
GH-1276 - Updating scroll on IOS (#1310) 2021-09-22 22:16:02 +05:00
Harshil Sharma
ca07c9b9c3
Updated 0 board to 0 boards (singular vs plural) (#1210)
* Updated 0 board to 0 boards (singular vs plural

* Made text translatable

* Used better i18n for singular-plural

* Updated tests

* Minor fixes

* done

* Lint fix

* Updated tests
2021-09-22 11:19:12 +05:30
Harshil Sharma
2b7bd911c9
Allow no workspace and send to dashboard is that happens (#1296) 2021-09-22 09:42:41 +05:30
Scott Bishel
660fa5e434
GH-1244 add setting -webkit-user-select and others for MenuWrapper (#1292)
* add setting -webkit-user-select and others for MenuWrapper

* fix lint, disable check
2021-09-21 10:25:56 -06:00
Jesús Espino
ec0fab5b03
Fix elevation-1 variable (#1255) 2021-09-21 10:27:36 +02:00
Harshil Sharma
1c88d1c986
Global template fetch fix (#1253)
* Added dashboard tests

* Fixed lint issue

* Fixed issue where global templates were not being fixed

* Added test

* Fix tests

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2021-09-20 08:36:05 -06:00
Chen-I Lim
237879b7e1 Update globalHeader snapshot for version 2021-09-17 14:01:00 -07:00
Chen-I Lim
33e717d9bc Update version to v0.9.1 2021-09-17 12:56:47 -07:00
Weblate (bot)
69340eae1f
Translations update from Weblate (#1241)
* Translated using Weblate (Dutch)

Currently translated at 100.0% (168 of 168 strings)

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

* Translated using Weblate (German)

Currently translated at 100.0% (171 of 171 strings)

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

Translated using Weblate (German)

Currently translated at 100.0% (168 of 168 strings)

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

* Translated using Weblate (Occitan)

Currently translated at 97.6% (167 of 171 strings)

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

* Translated using Weblate (Turkish)

Currently translated at 100.0% (171 of 171 strings)

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

* Translated using Weblate (Swedish)

Currently translated at 99.4% (170 of 171 strings)

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

Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: JtheBAB <srast@bioc.uzh.ch>
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>
2021-09-17 11:07:54 -05:00
Scott Bishel
838c6f90b7
Config for share board (#1187)
* initial commit for setting shared board configuration

* add unit test

* working again

* update default config

* initial commit for setting shared board configuration

* add unit test

* working again

* update default config

* add unit tests, some clean up

* more cleanup

* more clean up

* remove header text for GH-1105

* remove unnecessary logs

* update text

* fix lint errors

* more lint fixes

* webapp lint fixes

* Update mattermost-plugin/plugin.json

Co-authored-by: Justine Geffen <justinegeffen@users.noreply.github.com>

* Update mattermost-plugin/plugin.json

Co-authored-by: Justine Geffen <justinegeffen@users.noreply.github.com>

* update for review, sync with main

Co-authored-by: Justine Geffen <justinegeffen@users.noreply.github.com>
2021-09-16 13:31:02 -06:00
Asaad Mahmood
fd7be947c1
1205 - Updating workspace switcher css (#1211)
* 1205 - Updating workspace switcher css

* Updating workspace padding
2021-09-16 23:27:23 +05:00
Chen-I Lim
1d4f6c602a
Fix #1215. Don't sidebar collapse on Personal Server. (#1219) 2021-09-16 08:54:17 -07:00
Chen-I Lim
a66fbdbc6d
Fix #1217. Save dialog changes before closing. (#1218)
* Fix #1217. setTimeout(0) on dialog background click.

* Handle onClick instead of using setTimeout

Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-09-16 08:42:55 -07:00
Harshil Sharma
828748dd08
Desktop App Navigation Fixes (#1212)
* Saving last visited workspace ID

* WIP

* WIP

* Navigation fixes

* WIP:

* Fix for desktop app navigation

* Fix destructuring

* Removed debug logs

* Used a methor method name

* nit fix

Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-09-16 20:15:15 +05:30
Harshil Sharma
81c475028b
Fixed issue with table calculations hiding incorectly (#1199) 2021-09-16 12:26:12 +05:30
Chen-I Lim
94bdddca8f
Fix #1196. Open feedback form in new tab / window. (#1208) 2021-09-15 08:45:12 -07:00
Harshil Sharma
a76c96f812
Updated target link form app switcher and saved last visited workspace (#1198)
* Saving last visited workspace ID

* Open dashboard when opening Focalboard form global app switcher

* Fixed lint errors
2021-09-15 12:18:25 +05:30
kamre
ca2116c04b
[GH-1013] Fix visibility of clear button for select option (#1160)
* Show clear button for (multi)select property only when it is being edited.

* Files for multi-select property moved to separate folder.

* Extracted component for select property.

* Minor tweaks for Label style.

* Redundant code for clear button removed.

* Unit test for select property component added.

* Jest snapshots updated.

* Fix stylelint error.

* Jest snapshot updated.

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2021-09-14 15:35:41 -06:00
Chen-I Lim
826e717af8
Fix #1206. Sort card comments. (#1207)
* Fix #1206. Sort card comments.

* Remove unused getComments method
2021-09-14 12:52:57 -07:00
Harshil Sharma
d0ba389063
FTUE - Dashboard (#1177)
* Dashboard UI complete

* Updating UI changes

* Finishing touches

* Made navigation better

* Updated dashboard navigation

* Fixed spacing issue

* Fixed spacing issue

* Updating UI

* Fixed a CSS linter issue

* Update webapp/i18n/en.json

Co-authored-by: Justine Geffen <justinegeffen@users.noreply.github.com>

* Updated docs

Co-authored-by: Justine Geffen <justinegeffen@users.noreply.github.com>

* Update webapp/i18n/en.json

Co-authored-by: Justine Geffen <justinegeffen@users.noreply.github.com>

* Disabled image

* FIxed tests

* Review fixes

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
Co-authored-by: Justine Geffen <justinegeffen@users.noreply.github.com>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2021-09-14 10:42:18 -06:00
Asaad Mahmood
1836f9527f
Focalboard UI Fixes (#1194)
* 1173 - Show description fix

* 1191 - Octo-block Hover fix

* 1189 - Updating width of kanban header

* 1172 - Updating menu in the header

* Updating css

* Updating menu css

* Updating menu css
2021-09-14 20:58:37 +05:00
Justine Geffen
b5053d982a
Update en.json - UI capitalization (#1178)
* Update en.json

Adjusted capitalization for UI text for consistency.

* Update webapp/i18n/en.json

* Apply suggestions from code review

* Propagating text the changes to the rest of the code

* Fix the snapshots

* Fixing cypress test

* Fixing table tests

Co-authored-by: Jesús Espino <jespinog@gmail.com>
Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
2021-09-14 17:28:39 +05:30
Jesús Espino
731163bcea
Not using the mattermost-redux getTheme version because is not matching the mattermost-webapp version (#1186)
Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
2021-09-14 16:43:52 +05:30
Weblate (bot)
dc363ae1bd
Translations update from Weblate (#1190)
* Translated using Weblate (German)

Currently translated at 100.0% (168 of 168 strings)

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

Translated using Weblate (German)

Currently translated at 100.0% (166 of 166 strings)

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

* Translated using Weblate (Turkish)

Currently translated at 100.0% (168 of 168 strings)

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

Translated using Weblate (Turkish)

Currently translated at 100.0% (166 of 166 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 100.0% (168 of 168 strings)

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

Co-authored-by: JtheBAB <srast@bioc.uzh.ch>
Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Co-authored-by: kaakaa <stooner.hoe@gmail.com>
2021-09-13 09:58:24 +02:00
Andrey Eremchenko
c2ca0a9e8a Fix unit tests. 2021-09-12 21:00:43 +07:00
Andrey Eremchenko
719a9ea447 Merge remote-tracking branch 'origin/main' into gh-1059-fix-empty-placeholder-in-card-dialog
# Conflicts:
#	webapp/src/components/propertyValueElement.tsx
2021-09-12 13:08:19 +07:00
Scott Bishel
730a7af39a
GH-1136 - fix for when property value is an array (#1174)
* fix for when property value is an array

* remove log statement

* remove async from tests
2021-09-10 17:10:30 -06:00
Jesús Espino
fae2ac150e
Respect the mattermost icon when focalboard is used as a plugin (#1185) 2021-09-10 22:34:26 +02:00
Jesús Espino
6ad11e072b
Not importing compass-icons on plugin mode (#1184)
* Not importing compass-icons on plugin mode

* Moving compass icon to an npm dependency
2021-09-10 22:31:53 +02:00
Harshil Sharma
bb4b463a4f
Workspace Switcher - include channels with no workspaces and boards (#1158)
* API WIP

* WIP

* Finished changes

* Fixed colors:

* Don't enforce charset adn collation in migration, pick from database DSN

* Added MySQL query

* Updated mocks

* Added tests

* Lint fixes

* Fixed typo and removed unsed style

* Checked in a snapshot

* Updated snapshot

* Updated Cypress test

* Updated Cypress test

* Updated Cypress test

* Fixed review comments

* Fixed tests

* Added default collation for MySQL

* Added documentation for ensuring correct database collation

* Updated migrations

* Fixed a bug with collation

* Fixed lint errors

* Used correct collation

* debugging

* Updating css

* Minor UI changes

* USe inbuilt default collation

* Used only charset for mysql

* Fixed linter issue:

* Added migration for matching collation

* Reverted local config changes

* Reverted local config changes

* Handled the case of personal server running on MySQL

* WIP

* Now running collation matching migration onlyt for plugins

* Minor optimization

* Multiple review fixes

* Added group by clause to primary query

* Supported for subpacth

* Displayed all channels in workspace switcher

* Included channels without a Focalbaord workspaces in worksapce switcher as well

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-09-09 16:18:07 +05:30
Harshil Sharma
add57216a7
ADded submath support in one missed place (#1156)
Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-09-09 12:05:30 +02:00
CuriousCorrelation
d4dd403e48
[GH-1130] Fixes 'Today' button not selecting date and entered date not being selected in calendar (#1149)
* [GH-1130] Fix 'Today' button not selecting date

* [GH-1130] Fix entered day not selected in calendar

* [GH-1130] Add test for calendar Today button

Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
2021-09-09 10:57:15 +05:30
Harshil Sharma
e9cde107ed
Merge branch 'main' into gh-1059-fix-empty-placeholder-in-card-dialog 2021-09-09 10:55:54 +05:30
Chen-I Lim
7c65953ed9
Fix #1034. Update help link. (#1163)
* Fix #1034. Update help link.

* npm test -- -u
2021-09-08 16:49:08 -07:00
Chen-I Lim
33f7b246be
Fix #1161. Add Give Feedback link. (#1162)
* Fix #1161. Add Give Feedback link.

* Pass version to feedback link

* npm run i18n-extract
2021-09-08 16:34:02 -07:00