Commit Graph

1065 Commits

Author SHA1 Message Date
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
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
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
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
Miguel de la Cruz
e10229031f
Add a plugin adapter to reuse MM websocket in plugin mode (#1079)
* Add a plugin adapter to reuse MM websocket in plugin mode

* Remove development replace

* Switch all go.mod files to use 1.16

* Fix linter issues

* Fix linter

* Update server version to contain the new hooks
2021-08-27 10:59:14 +02:00
kamre
bd13e8f1e5
Merge branch 'main' into gh-1059-fix-empty-placeholder-in-card-dialog 2021-08-27 15:37:31 +07:00
Chen-I Lim
c3f5993126
Fix #1106. Hydrate blocks on sync. (#1107)
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2021-08-26 18:33:51 -07:00
Scott Bishel
10275e0339
GH-1090 - move center align to table-row-container (#1099)
* move center align to table-row-container

* fix lint
2021-08-26 16:28:18 -06:00
Andrey Eremchenko
e299940cad Unit test for DateRange fixed. Snapshots updated. 2021-08-26 23:04:01 +07:00
Andrey Eremchenko
5e1115c1f2 Show placeholders with 'Empty' text for empty fields in the card dialog. 2021-08-26 19:58:38 +07:00
Jesús Espino
964cc1a0b8
Fix card insertion order (#1030)
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2021-08-26 11:29:19 +02:00
Jesús Espino
171164ec6d
Use card id in the url (#1050)
* Use card id in the url

* Fix linter error

Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
2021-08-26 11:27:06 +02:00
Jesús Espino
55e506bd0e
Add stylelint to the CI (#1078)
* Add stylelint to the CI

* remove duplicated line

* remove more duplicated lines

* Adding extra rule to avoid duplicated properties
2021-08-26 11:25:25 +02:00
Harshil Sharma
609b69ec53
Don't update the card if the property or description didn't change (#1092)
* Not updating card when property or discription is not changed

* Added tests

Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
2021-08-26 11:19:32 +05:30
Jesús Espino
8c9a7f21b7
Fix chrome drag and drop preview (#1097) 2021-08-25 16:46:01 +02:00
Jesús Espino
dd8083a915
Fixing property name text select on plugin mode (#1094) 2021-08-25 15:01:22 +02:00
Jesús Espino
dfb34d81a2
Automatically add the .focalboard-body class to all sass classes on plugin mode (#1068)
* Automatically add the .focalboard-body class to all sass classes on plugin mode

* Addressing review comment
2021-08-25 13:05:12 +02:00
Scott Bishel
a3fabc45a0
update share url (#1062)
* update share url

* add leading slash
2021-08-24 14:07:15 -06:00
Asaad Mahmood
a01dd25ecb
Updating cell alignment for table view (#1084) 2021-08-24 20:59:12 +05:00
Asaad Mahmood
b098353898
1061 - Updating date picker (#1070) 2021-08-24 18:47:03 +05:00
Hossein
8de9ec8234
fix image paste messing with content stuffz (#1075)
Co-authored-by: Jesús Espino <jespinog@gmail.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-08-24 09:20:24 -04:00
kamre
e4e1f2d94a
Always stop event propagation for click on the link generated from markdown. (#1039)
Co-authored-by: Jesús Espino <jespinog@gmail.com>
Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
2021-08-24 09:11:48 -04:00
Johannes Marbach
0291052c1c
[GH-912] Discard (milliseconds) when counting create/update dates (#981)
* [GH-912] Discard (milliseconds) when counting create/update dates

Card creation and update dates are displayed with hours and minutes only on
the UI. When the full timestamp is used for counting unique values, this
leads to a discrepancy because the (milli)second parts impact the count
but are not visible to the user.

This commit fixes creation and update timestamps to minutes accuracy
before their values enter any calculation.

Closes: #912

* Add parentheses to please the linter

* Add 1s to test fixtures to cover bug scenario

* Add dedicated unit tests for creation / update 1s and 1m apart

Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
2021-08-24 15:00:51 +05:30
kamre
22bfe2da13
Support readonly flag in URLProperty. (#1041) 2021-08-24 12:02:42 +05:30
Julien Fabre
fb2410f430
[GH-967] fix overflow URL property in cell (#982)
* (fix GH-967): add css property to fix width

* fix: review test link

* feat: review link scss on hover

* fix: add width inherit in url to occupy the whole space

* fix: merge error

Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
2021-08-23 19:08:50 -04:00
DeviousLab
f8176abd27
Updated date range arrow to single character #1058 (#1064) 2021-08-23 18:22:03 -04:00
Asaad Mahmood
a6cd2c9272
1010 - Updating text and link property (#1047) 2021-08-23 20:36:25 +05:00
Asaad Mahmood
63c2a908df
1005 - Updating padding on the share popup (#1048) 2021-08-23 19:31:05 +05:00
kamre
6bf4008199
[GH-1053] Fix table horizontal lines (#1054)
* Set width to fit content for table header and row container.

* Horizontal line for table footer fixed:
  use div wrapper to make the width of the footer equal to the width of header and rows.

Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
2021-08-23 09:25:39 -04:00
Jesús Espino
9bfdc7b93a
Fix border cut on kanban and gallery views (#1044) 2021-08-23 12:19:56 +02:00
Weblate (bot)
4c2563e10a
Translations update from Weblate (#1066)
* Translated using Weblate (Russian)

Currently translated at 97.5% (159 of 163 strings)

Co-authored-by: calipzo <a.kruglenko@gmail.com>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ru/
Translation: Focalboard/webapp

* Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/
Translation: Focalboard/webapp

* Translated using Weblate (German)

Currently translated at 100.0% (165 of 165 strings)

Co-authored-by: JtheBAB <srast@bioc.uzh.ch>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/
Translation: Focalboard/webapp

* Translated using Weblate (Dutch)

Currently translated at 100.0% (165 of 165 strings)

Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/nl/
Translation: Focalboard/webapp

* Translated using Weblate (Turkish)

Currently translated at 100.0% (165 of 165 strings)

Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/tr/
Translation: Focalboard/webapp

* Translated using Weblate (Japanese)

Currently translated at 100.0% (165 of 165 strings)

Co-authored-by: kaakaa <stooner.hoe@gmail.com>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ja/
Translation: Focalboard/webapp

* Translated using Weblate (Chinese (Simplified))

Currently translated at 99.3% (164 of 165 strings)

Co-authored-by: aeomin <lin@aeomin.net>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/zh_Hans/
Translation: Focalboard/webapp

Co-authored-by: calipzo <a.kruglenko@gmail.com>
Co-authored-by: JtheBAB <srast@bioc.uzh.ch>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Co-authored-by: kaakaa <stooner.hoe@gmail.com>
Co-authored-by: aeomin <lin@aeomin.net>
2021-08-23 10:46:17 +02:00
Asaad Mahmood
a938fbeddf
1004-add-board-menu (#1045) 2021-08-20 15:43:04 -06:00
Asaad Mahmood
e8eeb51046
GH-966 - Removing empty placeholders (#1008)
* GH-966 - Removing empty placeholders

* Updating test

Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
2021-08-19 17:54:43 +05:00
kamre
2520d2fa4b
Prevent opening card dialog when link for URL is clicked. (#1037)
Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-08-19 12:31:15 +02:00
Jesús Espino
b5d58060cf
Fixing some color variables (#1038) 2021-08-19 12:26:26 +02:00
Scott Bishel
e5692c9e7e
Show error if Read-Only board is not available (#1022) 2021-08-18 17:36:27 -06:00
Scott Bishel
663ff4c8da
GH-989 add boards to shared component link (#1023)
* add boards to shared component link

* use Utils.getFronendBaseURL
2021-08-18 11:44:21 -06:00
Jesús Espino
727641f3db
Add paste/drop images on cards (#987)
* Add paste/drop images on cards

* Fix eslint
2021-08-18 12:14:50 +02:00
Jesús Espino
249a8c23a4
Fixing text selection in all inputs for Firefox (#1025) 2021-08-17 18:41:55 -06:00
Jesús Espino
83a45ae706
Fixing favicon changes on other browsers (#1017) 2021-08-17 22:50:49 +02:00
Hossein
7bc168ad84
Fix Problem (#1019) 2021-08-17 16:36:10 -04:00
Asaad Mahmood
0675c7e502
GH-965 - Updating global nav right sidebar buttons (#983)
* GH-965 - Updating global nav right sidebar buttons

* Updating test
2021-08-16 23:26:32 +05:00
Asaad Mahmood
7b5a45dc6c
GH-959 - Fixing board headers on scroll (#984) 2021-08-16 23:00:55 +05:00
Jesús Espino
969ceeb93e
Adjust image size to content column size (#1000) 2021-08-16 18:26:03 +02:00
Shahzaib
712c18efce
[GH-858] Add test cases for the multi-select component (#906)
* test(multiSelect): Add test cases for multi-select

* Remove `creatable-selector-parent` test id

* test(multiSelect): Make elements more accessible

* Update all snapshots that renders the `multiSelect`, `iconButton`, and `textOption` components

* Add the internationalized messages for the `aria-label` attributes

* cleanup(multiSelect.test.tsx): Remove the `DndProvider` from the `Wrapper` component

* Change the `ids` of `intl.formatMessage` arg

Co-authored-by: Shahzaib <shahzaib@placemarktechnologies.com>
2021-08-16 18:03:33 +02:00
Weblate (bot)
2cecf640b2
Translations update from Weblate (#986)
* Translated using Weblate (Swedish)

Currently translated at 100.0% (163 of 163 strings)

Co-authored-by: MArtin Johnson <martinjohnson@bahnhof.se>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/sv/
Translation: Focalboard/webapp

* Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (163 of 163 strings)

Co-authored-by: leandro-costa <leandro.costa@ifba.edu.br>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/pt_BR/
Translation: Focalboard/webapp

* Translated using Weblate (Occitan)

Currently translated at 100.0% (163 of 163 strings)

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

Co-authored-by: MArtin Johnson <martinjohnson@bahnhof.se>
Co-authored-by: leandro-costa <leandro.costa@ifba.edu.br>
Co-authored-by: Quentin PAGÈS <quentinantonin@free.fr>
2021-08-16 10:13:45 +02:00
Asaad Mahmood
6e1b784c78
GH-894 - Removing uppercase from label (#985) 2021-08-16 08:31:48 +02:00
Johannes Marbach
b6d32da68c
[GH-314] Export native app user settings on change (#380)
* [GH-314] Export native app user settings on change

This switches from exporting the native app user settings on window close to exporting
on settings change. This way the settings export remains independent of native application
life-cycle events.

This is a stop-gap towards enabling settings export on the native Linux app. The latter
does not have an easy way to catch window close events.

Relates to: #314

* Disable no-shadow rule to prevent false-positive

* Verify allowed localStorage keys

* Fix import order/spacing

* Treat JSON parsing errors as failed import

* Read known keys from the correct type 🤦

* Extend logging with imported keys and always include _current_ user settings

* Fixing eslint

Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-08-15 12:51:19 +02:00
Jesús Espino
f983a59973
Fix redirect problems on product switch (#972)
Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
2021-08-14 17:26:53 +02:00
Chen-I Lim
63e94e090e
Fix #977. Show uncollapse button even with global nav. (#979) 2021-08-13 15:25:45 -07:00
Hossein
27ff092e28
Fix GH-955 and GH-936 (#971)
* Fix some major bugs BOSS BOSS

* fix variable name

* Fix RGB and Hex Mismatch
2021-08-13 10:51:18 -04:00
Jesús Espino
9d4da24e6c
Cleanup the store on the initial load call (#970) 2021-08-13 15:39:57 +02:00
Scott Bishel
1f36db5579
fix for wrong filter deletion (#961)
Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-08-13 14:01:29 +02:00
Scott Bishel
0525bfcb3b
allow overflow in Gallery View (#968)
Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
2021-08-13 11:09:06 +02:00
Chen-I Lim
9403fb91c6
Fix #934. Sidebar hide-unhide as plugin. (#962) 2021-08-12 11:59:56 -07:00
Harshil Sharma
eca18c0660
Avoided double horizontal scrollbars (#954) 2021-08-12 19:09:44 +05:30
Harshil Sharma
34e772414a
Added ability for calculation menu to open wherver there is available space (#952)
Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-08-12 16:16:22 +05:30
Scott Bishel
ee77fad020
add overflow: none to prevent scrolling (#939)
Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-08-12 12:07:47 +02:00
Harshil Sharma
3a7747b7dd
Fixed missing CSS vars (#949)
* Fixed missing css vars

* Updated snapshots
2021-08-12 15:29:57 +05:30
Jesús Espino
aaa0b0dccc
Moving logo and title to the global header (#947)
* Moving logo and title to the global header

* Fixing problems with the new header

* Fixing lint problems
2021-08-12 11:40:09 +02:00
Chen-I Lim
9e70a41ac6
Fix #945. Hydrate blocks on get (#946) 2021-08-12 11:39:02 +02:00
Chen-I Lim
994ed01b49
Move version label to top right for plugin (#941) 2021-08-11 16:55:19 -07:00
Jesús Espino
a60f770832
Fix flaky test (#932) 2021-08-11 12:56:20 -04:00
Jesús Espino
362b0c601a
Fix simplified chinesse language (#929) 2021-08-11 16:58:10 +02:00
Jesús Espino
ea140ba99b
Picking the default theme from the user preferences on reload when it is a plugin (#923)
Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
2021-08-11 11:53:53 +02:00
Shahzaib
f01e7804d0
fix(dialog): Always show the close button in the Dialog component toolbar (#915)
Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-08-11 10:20:30 +02:00
Scott Bishel
51739672c3
fix css for theme name changes (#926)
Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-08-11 10:07:49 +02:00
Jesús Espino
92fdd97e16
Fixing focalboard personal server icon (#921) 2021-08-11 00:16:57 +02:00
Harshil Sharma
0d97b6e281
Table calculations (#761) 2021-08-10 14:19:00 -04:00
Asaad Mahmood
8c76d86a0c
Updating focalboard icon and text (#913)
* Updating focalboard icon and text

* Updating comment
2021-08-10 22:50:16 +05:00
Jesús Espino
8fff482daa
Replacing put with patch in other mutator methods (#899) 2021-08-10 11:55:47 +02:00
Weblate (bot)
0419e563a1
Translations update from Weblate (#910)
* Translated using Weblate (German)

Currently translated at 100.0% (176 of 176 strings)

Co-authored-by: JtheBAB <srast@bioc.uzh.ch>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/
Translation: Focalboard/webapp

* Translated using Weblate (French)

Currently translated at 94.8% (167 of 176 strings)

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

* Translated using Weblate (Turkish)

Currently translated at 100.0% (163 of 163 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (176 of 176 strings)

Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/tr/
Translation: Focalboard/webapp

* Translated using Weblate (Swedish)

Currently translated at 100.0% (176 of 176 strings)

Co-authored-by: MArtin Johnson <martinjohnson@bahnhof.se>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/sv/
Translation: Focalboard/webapp

* Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/
Translation: Focalboard/webapp

* Translated using Weblate (German)

Currently translated at 100.0% (163 of 163 strings)

Co-authored-by: JtheBAB <srast@bioc.uzh.ch>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/
Translation: Focalboard/webapp

* Translated using Weblate (Japanese)

Currently translated at 100.0% (163 of 163 strings)

Co-authored-by: kaakaa <stooner.hoe@gmail.com>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ja/
Translation: Focalboard/webapp

* Translated using Weblate (Dutch)

Currently translated at 100.0% (163 of 163 strings)

Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/nl/
Translation: Focalboard/webapp

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (163 of 163 strings)

Co-authored-by: aeomin <lin@aeomin.net>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/zh_Hans/
Translation: Focalboard/webapp

* Translated using Weblate (French)

Currently translated at 93.8% (153 of 163 strings)

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

Co-authored-by: JtheBAB <srast@bioc.uzh.ch>
Co-authored-by: C138 <cabernet138@gmail.com>
Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Co-authored-by: MArtin Johnson <martinjohnson@bahnhof.se>
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: jellium <jellium@protonmail.com>
2021-08-10 10:57:47 +02:00
Asaad Mahmood
d816af323e
MM-37087 - Updating heading fonts (#908) 2021-08-10 00:34:48 +05:00
Hossein
cdc72c31f8
Write Test for cardDetailContents (#884)
* LETS WRITE SOME TESTS WOOHOO!!!

* fix up testing

* update snapshot

* use mockDOM

* fix linting

* use querySelector

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2021-08-09 08:24:36 -04:00
Jesús Espino
1914b5a921
Making theming compatible with mattermost on plugin mode (#883)
* Making theming compatible with mattermost on plugin mode

* Fixing some variables

* Adding isFocalboardPlugin function

* Fixing some styles

* Improving styles for boards icon in the global switcher
2021-08-06 19:58:28 +02:00
Chen-I Lim
38e71d8b18 Merge branch 'main' of github.com:mattermost/focalboard 2021-08-06 10:37:43 -07:00
Chen-I Lim
7d2a58081c Update version to v0.9.0 2021-08-06 10:37:28 -07:00
Scott Bishel
383723a128
Implement Date ranges (#660)
* initial commit

* update to work around state issue

* update comments

* temp commit

* add unit tests, cleanup

* language extract, lint fix

* update stored object to be same as state object

* fixing merge issues

* update dates to use locale

* linter fixes, test cleanup

* self review

* add unit test, fixes

* fix linter

* remove dateFormat from calls

* move DateRange to components

* update translations

* spacing fix

* update tests, fix some hour inconsistencies

* remove logging

* more updates

* more cleanup

* update to disply mm/dd/yyyy when editing

* update to disply mm/dd/yyyy when editing

* input date use locale

* update css to make selection round

* update css to make begin/end round
2021-08-06 10:44:01 -06:00
Jesús Espino
c734cfb8d1
Adding support for patch blocks (#877)
* Adding support for patch blocks

* Adding some improvements

* Adding api integration test for patch

* Adding SQL store tests

* Regenerating autogenerated code

* Fix linter errors

* Remove wrong update of the swagger file

* Update server/model/block.go

Co-authored-by: Miguel de la Cruz <mgdelacroix@gmail.com>

* Fix gofmt

Co-authored-by: Miguel de la Cruz <mgdelacroix@gmail.com>
2021-08-06 14:10:24 +02:00
Scott Bishel
2eb3f59ddc
[Gh 684] Autosize fix for multi-select columns (#882)
* temporary commit

* cleanup code

* final fixes

* remove setting perItemPadding where not necessary

* Update webapp/src/octoUtils.tsx

Co-authored-by: Hossein <hahmadia@users.noreply.github.com>

* Update webapp/src/components/table/table.tsx

Co-authored-by: Hossein <hahmadia@users.noreply.github.com>

Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
2021-08-05 09:24:01 -06:00
Harshil Sharma
578b91fd2e
Fixed comments not displaying in readonly view (#820)
* Fixed comments not displaying in readonly view

* FIxed some tests

* Updated tests

Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2021-08-05 18:52:15 +05:30
Scott Bishel
beebf70cbc
update text for shared board (#880) 2021-08-04 17:22:55 -06:00
Christopher Speller
515edb9dcf
Global header support (#736)
* Adding global header support.

* Set the landing URL for the global header to /dashboard

* Redirecting directly to the current channel on open Boards

* Some improvements on global header

* Adding missed file

* Removing theme selector from the global header and fixing a style bug on the channel header icon

* Adding global header tests

* Adding missed file

* Fix global header icon

* Adding isFocalboardPlugin function

* Fixing unit tests

* Fixing problem with header menu styles

Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-08-04 16:57:56 +02:00
Jesús Espino
fb75ad2789
Show add content button on hover or focus of content block (#876)
* Show add content button on hover or focus of content block

* Updating UI to make the overlay textarea to be consitent

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
2021-08-04 16:12:58 +02:00
Jesús Espino
caedc771b4
Fix problems with no refreshed data on handlers (#872)
Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
2021-08-03 15:49:09 +02:00
Jesús Espino
81166b56e4
Keeping the visible and hidden options when you change the grouping (#873) 2021-08-02 23:08:26 +02:00
Jesús Espino
e481ba7170
Add clear button to value selectors (#823)
* Add clear button to value selectors

* Only show the clear button on not-readonly cases

* Updating the test snapshots

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2021-08-02 21:33:07 +02:00
kamre
3c41630af5
Fix usages of element's computed style in Firefox: (#822)
- don't use shorthands like `borderLeft` or `font` because they are empty strings
  - construct font string that is required for setting into canvas context from
    individual font properties if `font` property is empty string

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-08-02 21:31:17 +02:00
kamre
d53c79772e
Fix kanban board height. (#825)
Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-08-02 21:14:08 +02:00
Jesús Espino
b2206f0b7e
Match the user settings for icon prefill on card for template (#870) 2021-08-02 20:18:31 +02:00
Jesús Espino
be28b7dad5
Migrate webapp global state to redux (#737)
* Migrating workspace tree to redux

* More changes for use the redux store for boads and views

* Taking into account the templates on websocket event updates

* Fixing bug on boardTree maintenance

* Websocket client now connects once and subscribe/desubscribe on the fly

* Including usage of the new websocket client

* More work around migrating to redux

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* Fixing some things

* WIP

* WIP

* Another small fix

* Restoring filtering, sorting and grouping

* Fixing some other bugs

* Add search text reducer

* Fixing another drag and drop problem

* Improve store names and api

* Fixing small bgus

* Some small fixes

* fixing login

* Fixing register page

* Some other improvements

* Removing unneeded old files

* Removing the need of userCache

* Fixing comments and fixing content ordering

* Fixing sort

* Fixing some TODOs

* Fixing tests

* Fixing snapshot

* Fixing cypress tests

* Fix eslint

* Fixing server tests

* Updating the add cards actions

* Fixing some tiny navigation problems

* Mocking the api calls to pass the tests

* Migrating a new test to redux

* Adding the card right after the insert of the block (not wait for ws event)

* Showing the ws disconnect banner only after 5 seconds of disconnection

* Fixing share view

* Fix eslint

* Fixing problem with sort/groupby modifications

* Fixing some details on redirections and templates creation

* Fixing small bugs around undo

* Fix update properties on click outside the dialog

* Improving the column resize look and feel

* Removing the class based objects from the store (now they are all plain objects

* Fix eslint

* Fixing tests

* Removing unneeded code
2021-08-02 17:46:00 +02:00
kamre
9b5530af5e
Don't do anything when the card is dropped on itself. (#813)
Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-08-02 12:12:01 +02:00
kamre
ae29ae105c
Proper computation of total horizontal padding for svg element. (#802)
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-08-02 11:47:55 +02:00
Weblate (bot)
fc01e65fbf
Translations update from Weblate (#818)
* Translated using Weblate (German)

Currently translated at 100.0% (176 of 176 strings)

Co-authored-by: JtheBAB <srast@bioc.uzh.ch>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/
Translation: Focalboard/webapp

* Translated using Weblate (Russian)

Currently translated at 100.0% (176 of 176 strings)

Co-authored-by: Alexey Napalkov <flynbit@gmail.com>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ru/
Translation: Focalboard/webapp

* Translated using Weblate (Turkish)

Currently translated at 100.0% (176 of 176 strings)

Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/tr/
Translation: Focalboard/webapp

* Translated using Weblate (Japanese)

Currently translated at 100.0% (176 of 176 strings)

Co-authored-by: kaakaa <stooner.hoe@gmail.com>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ja/
Translation: Focalboard/webapp

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (176 of 176 strings)

Co-authored-by: aeomin <lin@aeomin.net>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/zh_Hans/
Translation: Focalboard/webapp

* Translated using Weblate (Dutch)

Currently translated at 100.0% (176 of 176 strings)

Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/nl/
Translation: Focalboard/webapp

* Translated using Weblate (Swedish)

Currently translated at 100.0% (176 of 176 strings)

Co-authored-by: Peter Krantz <peter.krantz@gmail.com>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/sv/
Translation: Focalboard/webapp

Co-authored-by: JtheBAB <srast@bioc.uzh.ch>
Co-authored-by: Alexey Napalkov <flynbit@gmail.com>
Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Co-authored-by: kaakaa <stooner.hoe@gmail.com>
Co-authored-by: aeomin <lin@aeomin.net>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: Peter Krantz <peter.krantz@gmail.com>
2021-08-02 09:24:10 +02:00
Jesús Espino
2f827ba5b4
Fix bug on save on unmount (#811)
* Fix tiny code order problem

* Fixed #809
2021-08-02 08:06:38 +02:00
Jesús Espino
6bbbecf366
Fix update properties on click outside the dialog (#807) 2021-07-30 21:07:10 +02:00
Harshil Sharma
186ba524d7
Opened markdown links in new tab (#792)
* Opened markdown links in new tab

* Used openInNewBrowser only when available

Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
2021-07-30 13:32:49 +05:30
Harshil Sharma
926c4628c6
Fixed bug causing select prooperty options to vanish on rename (#797)
* Fixed bug causing select prooperty options to vanish on rename

* Fixed bug causing select prooperty options to vanish on rename
2021-07-30 13:32:27 +05:30
Jesús Espino
c3dba863c1
Adding support for embed the webapp into the plugin (#597)
* Adding support for embed the webapp into the plugin

* Adding required dependency

* Removed unnecessary prettier command

* Installed imagemin required dependencies

* Open in a new window always

* Fix CSS Conflicts.

* Changing the app id to make it specific to focalboard

* Adding error boundary

* Fix styles on non-plugin environments

* Making the css scoped to focalboard only

* Create the focalboard root portal

* Including missed component

* Adding a missed rollback call

Co-authored-by: Christopher Speller <crspeller@gmail.com>
Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
2021-07-29 20:08:39 +02:00
Jesús Espino
8823991eb9
Fix card loading on open card (#800)
* Fix card loading on open card

* Fix MDE problem

* Fix eslint
2021-07-29 13:43:34 +02:00
Jesús Espino
6a7d3f797b
Websocket client now connects once and subscribe/desubscribe on the fly (#752)
* Websocket client now connects once and subscribe/desubscribe on the fly

* Fixing eslint error

Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
2021-07-28 18:14:18 +02:00
Harshil Sharma
f86824b5ad
Fixed issue with rearranging columns (#789)
Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
2021-07-27 20:33:56 +05:30
kamre
4fcf1cc50d
[GH-779] Consistent date time format (#791)
* Use `Utils.displayDateTime` in Comment/CreatedAt/LastModifiedAt components.
Option for month changed to 'long' for `Utils.displayDateTime`.

* Don't show current year in `displayDateTime`.

Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
2021-07-27 14:41:18 +05:30
kamre
c27ea205ba
[GH-778] Remove date format from the user settings (#790)
* Preferred date format removed from user settings.
Date format is always `MM/DD/YYYY` for editing in the input.

* Snapshots for jest tests updated.
2021-07-27 14:26:38 +05:30
kamre
60af33fe28
[GH-715] Consistent date display (#748)
* Changes in function `Utils.displayDate`:
- uses 'MMMM DD' for dates with current year
- uses 'MMMM DD, YYYY' for other years
- corresponding unit tests added

* Changes for input inside `EditableDayPicker`:
  - uses `Utils.displayDate` when day picker is not visible
  - uses preferred date format while day picker is visible
  - uses preferred date format for input placeholder

Co-authored-by: Chen-I Lim <46905241+chenilim@users.noreply.github.com>
Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2021-07-26 23:02:20 -07:00
Miguel de la Cruz
155bb89468
Adds dashboard placeholder route and component (#764)
Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
2021-07-26 17:47:28 +05:30
kamre
bc8d778236
[GH-770] Use textarea for title in the card dialog (#776)
* New widget `EditableArea` introduced:
  - textarea with automatic height
  - implementation is based on AutosizeTextarea from mattermost-webapp
  - used for title in CardDetail

* Cypress test for setting card title fixed.

Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
2021-07-26 14:04:21 +05:30
Weblate (bot)
33708e022b
Translations update from Weblate (#782)
* Translated using Weblate (German)

Currently translated at 100.0% (174 of 174 strings)

Co-authored-by: JtheBAB <srast@bioc.uzh.ch>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/
Translation: Focalboard/webapp

* Translated using Weblate (Dutch)

Currently translated at 100.0% (174 of 174 strings)

Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/nl/
Translation: Focalboard/webapp

* Translated using Weblate (Turkish)

Currently translated at 100.0% (174 of 174 strings)

Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/tr/
Translation: Focalboard/webapp

* Translated using Weblate (Occitan)

Currently translated at 100.0% (174 of 174 strings)

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

Co-authored-by: JtheBAB <srast@bioc.uzh.ch>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Co-authored-by: Quentin PAGÈS <quentinantonin@free.fr>
2021-07-26 09:47:21 +02:00
Harshil Sharma
04707a9298
Revert "fix cards not dragging sometimes (#772)" (#781)
This reverts commit 9195df65e5.
2021-07-26 12:18:32 +05:30
Hossein
9195df65e5
fix cards not dragging sometimes (#772)
Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
2021-07-26 10:42:19 +05:30
Harshil Sharma
e086888c7c
Fixed card drop to column not working (#754)
Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
2021-07-26 10:41:39 +05:30
Chen-I Lim
7a85202830
Fix #757: Ignore invalid values in filter logic (#758) 2021-07-24 07:33:06 -07:00
Asaad Mahmood
c2519d435a
Gh 744 - Improving UI for share board popup and improving buttons (#765)
* Updating z-index and sidebar button

* Updating button css

* Updating emphasis class name

* Adding button text container

* Updating snapshots
2021-07-22 19:36:09 +05:00
Asaad Mahmood
64acecb1b0
GH-535 - Updating spacing for show/hide description (#767) 2021-07-22 18:53:48 +05:00
Asaad Mahmood
4d5c445141
GH-633 - Updating active indicator for boards (#766)
* GH-663 - Updating active indicator for boards

* Passed active view ID to sidebar component

* Updating view selected state

Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
2021-07-22 18:52:45 +05:00
Asaad Mahmood
7c2874081a
Issue 678 - Updating default dark theme label (#726) 2021-07-20 20:54:03 +05:00
Harshil Sharma
037ca41b64
Added hash when loacind JS file to bust cache (#755) 2021-07-20 16:48:41 +05:30
Harshil Sharma
9b253ffee1
Fixed horizontal scroll bar appearing too high (#751) 2021-07-19 16:29:27 +05:30
Miguel de la Cruz
0bd6233fac
Refactor the websockets connection messages and lifecycle (#749)
* Refactor the websockets connection messages and lifecycle

* Modify frontend to subscribe to a workspace instead of a set of blocks

* Fixing linter errors

Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-07-19 15:04:17 +05:30
Harshil Sharma
325b664257
Fixed kanban view header not scrolling (#730) 2021-07-19 13:55:45 +05:30
Weblate (bot)
db3963989e
Translated using Weblate (German) (#750)
Currently translated at 100.0% (174 of 174 strings)

Co-authored-by: JtheBAB <srast@bioc.uzh.ch>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/
Translation: Focalboard/webapp

Co-authored-by: JtheBAB <srast@bioc.uzh.ch>
2021-07-19 09:28:26 +02:00
Chen-I Lim
77a90a473c
Fix #739: Don't show account options as plugin (#745) 2021-07-17 09:01:45 -07:00
Chen-I Lim
73225e959b Merge release-0.8.0 2021-07-16 10:30:45 -07:00
Jesús Espino
ee94e17f16
Add global templates to redux store (#731)
* Add global templates to redux store

* Removing unused import

* Remove unnecesary reducer

* Fixing eslint
2021-07-16 13:37:46 +02:00
Jesús Espino
e988812ccb
Removing the forceRefresh from the router (#732)
* Removing the forceRefresh from the router

* Fix eslint
2021-07-16 12:46:27 +02:00
kamre
b2346fcacf
Use cross-env instead of win-node-env (#656)
* File `package-lock.json` updated.

* Use `cross-env` for setting environment variables in npm scripts.

* Remove all the mentions of `win-node-env` because it is no longer needed for running npm scripts.

Co-authored-by: Chen-I Lim <46905241+chenilim@users.noreply.github.com>
2021-07-15 19:30:22 -07:00
Hossein
2ea4a85495
Description Section of Card can now Have Columns (#637)
* Grid Layout

* add margin

* add margin

* more work

* fix linting

* fix alignment

* update viewing

* fix editing

* wip

* some wip fix

* fix stuff

* fix linting

* fix type errors

* fix render of image

* fixl inting

* fix tests

* fix linting

* fix tests

* fix eslint

* remove ref

* fix colIndex

* address PR comments

Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
2021-07-15 10:38:12 -04:00
Jesús Espino
d6f760b06b
Sample using @reduxjs/toolkit (#646)
* Sample using @reduxjs/toolkit

* Some improvements related to typescript in the store

* Adding some extra data to the redux store

* Moving the workspace users into redux store

* Wrapping the language into the redux store

* Fix some wrong names

* Fixing typos

* Removing unused imports

* Removing unnecesary users context

* Fixing eslint error

* Fixing memory leak on tests

* Always using the redux store for workspace users

* Fix eslint

* Addressing PR review comments

* Fixing cypress tests

* Fixing cypress tests (second try)

* Fixing cypress tests (third try)
2021-07-14 21:22:40 +02:00
Harshil Sharma
7817958aa9
Fixed table row height (#723) 2021-07-14 11:12:25 +05:30
Jesús Espino
52062d452d
Remove showView and showBoard property drilling and migrate centerPanel to functional component (#649)
* Remove showView and showBoard property drilling and migrate centerPanel to functional component

* Make this backward compatible

* Fixing linter warnings

* Fixing call

* Fixing typescript types

* Addressing PR review comments

* Fixing cypress tests
2021-07-13 13:42:05 +02:00
Weblate (bot)
b791f288f1
Translations update from Weblate (#709)
* Translated using Weblate (Occitan)

Currently translated at 100.0% (174 of 174 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 (Dutch)

Currently translated at 100.0% (174 of 174 strings)

Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/nl/
Translation: Focalboard/webapp

* Translated using Weblate (Turkish)

Currently translated at 100.0% (174 of 174 strings)

Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/tr/
Translation: Focalboard/webapp

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (174 of 174 strings)

Co-authored-by: aeomin <lin@aeomin.net>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/zh_Hans/
Translation: Focalboard/webapp

* Translated using Weblate (German)

Currently translated at 99.4% (173 of 174 strings)

Co-authored-by: Saalbuerger <janosch@famloehr.de>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/
Translation: Focalboard/webapp

Co-authored-by: Quentin PAGÈS <quentinantonin@free.fr>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Co-authored-by: aeomin <lin@aeomin.net>
Co-authored-by: Saalbuerger <janosch@famloehr.de>
2021-07-12 10:01:59 +02:00