Commit Graph

1843 Commits

Author SHA1 Message Date
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
Miguel de la Cruz
f7946821a0
Propagate block changes to all of the cluster nodes in plugin mode (#1213)
Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-09-16 12:18:11 +02:00
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
Doug Lauder
a76385268e
MM-38342 plugin logging (#1193)
- bump chat server version
- plugin logging adapter
2021-09-15 09:01:05 -04: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
Scott Bishel
213e976cb5
update import dependencies (#1180)
Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
2021-09-14 11:52:12 -06:00
Chen-I Lim
438a97e3cf
Fix #1203. Require v6.0.0 for plugin (#1204) 2021-09-14 09:53:52 -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
Doug Lauder
8425f53b2a
@mention support (#1147) 2021-09-13 15:36:36 -04:00
Harshil Sharma
20aafbc376
Displayed channels names for DMs in user workspace list (#1179) 2021-09-13 17:42:32 +05:30
Sayanta Banerjee
a50ee95c03
Updated links (#1188)
Updated the links which got updated externally

Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-09-13 13:17:46 +02:00
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
Asaad Mahmood
112b627f80
1095 - Updating global menu color for plugin (#1157)
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2021-09-10 15:30:47 +05:00
Chen-I Lim
e9f92e9edf Update bug templates with label capitalization 2021-09-09 14:57:33 -07:00
Doug Lauder
56931abd34
Force unit tests to run make server-test (#1170) 2021-09-09 14:11:32 -06: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
Harshil Sharma
08db4fed61
Workspace switcher (#1052)
* 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

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
2021-09-08 10:22:03 +05:30
Harshil Sharma
de5f06c426
Added support for subpaths in siteURL (#1110)
* Added support for subpaths in siteURL

* Removed a debug statement

Co-authored-by: Jesús Espino <jespinog@gmail.com>

* Updated channel header to support subpaths

Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-09-07 10:08:02 +05:30
Andrey Eremchenko
13bc220e52 More consistent styles for empty placeholders. 2021-09-06 22:32:49 +07:00
Scott Bishel
c56e6edc51
GH-1133 add/reset languages, make single language source (#1134)
* add/reset languages, make single language source

* update i18n for additional languages

* move import statement

* update 'zh-tw' to 'zh-tx'

* update 'zh-tx' to 'zh-tw', support both

Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
2021-09-06 17:47:33 +05:30
kamre
1a007754b3
Switch from useEffect to useLayoutEffect in the RootPortal component. (#1120)
Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
2021-09-06 17:47:10 +05:30
Harshil Sharma
e5c6619555
Merge branch 'main' into gh-1059-fix-empty-placeholder-in-card-dialog 2021-09-06 17:18:15 +05:30
Weblate (bot)
704454ab69
Translations update from Weblate (#1152)
* Translated using Weblate (Arabic)

Currently translated at 36.3% (60 of 165 strings)

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

Added translation using Weblate (Arabic)

* Translated using Weblate (Swedish)

Currently translated at 100.0% (165 of 165 strings)

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

Co-authored-by: ButterflyOfFire <butterflyoffire@protonmail.com>
Co-authored-by: MArtin Johnson <martinjohnson@bahnhof.se>
2021-09-06 09:19:34 +02:00
Asaad Mahmood
35f51d2999
1112 - Updating button active state in viewHeader (#1138)
* 1112 - Updating button active state in viewHeader

* Updating UI for buttons
2021-09-02 21:22:43 +05:00
Scott Bishel
94e6e8a9f7
Plugin telemetry (#1069)
* implement webapp telemetry

* cleanup

* remove imports, update events

* change event title

* update for lint

* add test, update filename

* linter fix

* fix field name

* revert changes

* fix test

* update builds

* fix workflows

* fix workflows

* fix workflow

* temp checkin

* remove log lines

* updates from peer review
2021-09-01 15:53:27 -06:00
kamre
58f9c7e42f
Merge branch 'main' into gh-1059-fix-empty-placeholder-in-card-dialog 2021-09-01 13:13:31 +07:00
PrasannaSudharsan R
59b8ae4517
423 | Added unit tests for files.go (#1119)
* 423 | Added unit tests for files.go

* 423| Fixed linting errors

* 423 | Fixed linting errors in files_test.go

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2021-08-31 16:08:18 -06:00
Scott Bishel
f10b4a82a3
fix for displaying global nav in focalboard (#1132) 2021-08-31 11:24:41 -06:00
Miguel de la Cruz
583d9f8a10
Add retry mechanism when opening WSClient in plugin mode (#1135)
* Add retry mechanism when opening WSClient in plugin mode

* Fix linter

* Add return when sending command
2021-08-31 12:01:17 +02:00
dave
414d651d2c
[GH-432] Add unit tests for ./services/telemetry/telemetry.go (#1091)
* Add unit tests  for ./services/telemetry/telemetry.go

* make ci happy

* Update server/services/telemetry/telemetry_test.go

Update imports

* Update server/services/telemetry/telemetry_test.go

* Update server/services/telemetry/telemetry_test.go

* Update server/services/telemetry/telemetry_test.go

* Update server/services/telemetry/telemetry_test.go

Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2021-08-30 20:16:47 -06:00
Julien Fabre
3baa44a25f
[GH-826] Add unit test for blockIconSelector (#1063)
* [chore #826]: add unit test for blockIconSelector

* refacto: review mutator mock

* refacto: add data-testid on menuwrapper and change query

* fix: snapshot on table and data-testid

* fix: add snapshot on test

Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2021-08-30 13:53:49 -06:00
Julien Fabre
e34d6c1b7d
[GH-824] Add unit test for addContentMenuItem (#1073)
* chore #824: add test unit addContentMenuItem

* fix: format test correctly

* fix: add snapshot test

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2021-08-30 13:25:22 -06:00
Weblate (bot)
5715bc8374
Translations update from Weblate (#1128)
* Translated using Weblate (Occitan)

Currently translated at 100.0% (165 of 165 strings)

Co-authored-by: Quentin PAGÈS <quentinantonin@free.fr>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/oc/
Translation: Focalboard/webapp

* Translated using Weblate (French)

Currently translated at 98.1% (162 of 165 strings)

Co-authored-by: Nathanaël <contact@nathanaelhoun.fr>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/fr/
Translation: Focalboard/webapp

* Translated using Weblate (French)

Currently translated at 98.1% (162 of 165 strings)

Co-authored-by: jellium <jellium@protonmail.com>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/fr/
Translation: Focalboard/webapp

Co-authored-by: Quentin PAGÈS <quentinantonin@free.fr>
Co-authored-by: Nathanaël <contact@nathanaelhoun.fr>
Co-authored-by: jellium <jellium@protonmail.com>
2021-08-30 13:29:10 +05:30
Harshil Sharma
7f8dc816cd
Made calculation options hidden when empty: (#1076)
* Made calculation options hidden when empty:

* WIP

* Made calculation row visible on hover

* Updated tests

* Fixed issue with plugin mode

* Fixed a bug where options didn't hide after selecting an option

* Updating opacity

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
2021-08-30 11:43:21 +05:30