1
0
mirror of https://github.com/mattermost/focalboard.git synced 2025-01-11 18:13:52 +02:00
Commit Graph

1911 Commits

Author SHA1 Message Date
Scott Bishel
8b6ebc3b02
Fixes for cypress tests (#2679)
* fixes for cypress tests

* update

* update

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-03-29 14:45:20 -06:00
Jesús Espino
507f597148
Fixing jest tests (#2676) 2022-03-29 14:22:51 -06:00
Jesús Espino
a99f5341e0
Fix sidebar menu position with teams sidebar visible (#2654) 2022-03-29 13:59:53 +02:00
Jesús Espino
a53ff91033
Fix hover menu behavior on ViewHeader component (#2662) 2022-03-29 13:59:28 +02:00
Jesús Espino
c58eee4d85
Fixing the sorting of cards taking into consideration the last comment date (#2663) 2022-03-29 13:59:11 +02:00
Jesús Espino
837859838c Adding max file size limit 2022-03-29 13:25:16 +02:00
Scott Bishel
f7fe5df8e8
GH-2551 - Update correct routes after welcome page (#2644)
* update correct routes after welcome page

* fix unit tests
2022-03-29 10:16:09 +02:00
Jesús Espino
c336f06f19
Upgrading to react-select 5 (#2651)
* Upgrading to react-select 5

* fixing type problems

* Fixing not-logged in redirect
2022-03-29 10:14:57 +02:00
Chen-I Lim
efb8caf88f
joinBoard API (#2660) 2022-03-29 10:14:33 +02:00
Jesús Espino
833e759b49
Fix state change after unmount (#2653) 2022-03-29 10:02:24 +02:00
Mattermod
d2e89b3bb7
Merge branch 'main' into GH-2449 2022-03-29 01:41:55 +03:00
Varghese Jose
15b1718405 Translated using Weblate (Malayalam)
Currently translated at 92.3% (277 of 300 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ml/
2022-03-28 18:56:30 +02:00
thorkemado
91d1dd7ef3 Translated using Weblate (Spanish)
Currently translated at 57.3% (172 of 300 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/es/
2022-03-28 18:56:30 +02:00
Matthew Williams
01068e2839 Translated using Weblate (English (Australia))
Currently translated at 100.0% (300 of 300 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/en_AU/
2022-03-28 18:56:30 +02:00
Alexey Napalkov
62de3162dd Translated using Weblate (Russian)
Currently translated at 100.0% (300 of 300 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ru/
2022-03-28 18:56:29 +02:00
Maksim Matveev
81e3fe7b5e Translated using Weblate (Russian)
Currently translated at 41.0% (123 of 300 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ru/
2022-03-28 18:56:29 +02:00
kaakaa
f176c3b64a Translated using Weblate (Japanese)
Currently translated at 100.0% (300 of 300 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ja/
2022-03-28 18:56:29 +02:00
Tom De Moor
ce800cf664 Translated using Weblate (Dutch)
Currently translated at 95.6% (287 of 300 strings)

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

Translated using Weblate (Dutch)

Currently translated at 95.0% (285 of 300 strings)

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

Translated using Weblate (Dutch)

Currently translated at 94.0% (282 of 300 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/nl/
2022-03-28 18:56:29 +02:00
Tóth Csaba // Online ERP Hungary Kft
ac29532eab Translated using Weblate (Hungarian)
Currently translated at 100.0% (300 of 300 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/hu/
2022-03-28 18:56:28 +02:00
Kaya Zeren
5df4b372da Translated using Weblate (Turkish)
Currently translated at 100.0% (300 of 300 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/tr/
2022-03-28 18:56:28 +02:00
Milo Ivir
6c97a01747 Translated using Weblate (Croatian)
Currently translated at 100.0% (300 of 300 strings)

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

Translated using Weblate (Croatian)

Currently translated at 100.0% (300 of 300 strings)

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

Translated using Weblate (Croatian)

Currently translated at 100.0% (300 of 300 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/hr/
2022-03-28 18:56:28 +02:00
jprusch
e82d1cb34d Translated using Weblate (German)
Currently translated at 100.0% (300 of 300 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/
2022-03-28 18:56:27 +02:00
Hosted Weblate
0b961d98ad Update translation files
Updated by "Cleanup translation files" hook in Weblate.

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

Update translation files

Updated by "Cleanup translation files" hook in Weblate.

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

Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/
2022-03-28 18:56:27 +02:00
Milo Ivir
052a19ca3a Translated using Weblate (Croatian)
Currently translated at 95.0% (285 of 300 strings)

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

Translated using Weblate (Croatian)

Currently translated at 99.3% (286 of 288 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/hr/
2022-03-28 18:56:27 +02:00
Tóth Csaba // Online ERP Hungary Kft
aada6701c1 Translated using Weblate (Hungarian)
Currently translated at 100.0% (288 of 288 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/hu/
2022-03-28 18:56:26 +02:00
master7
99ee50eccc Translated using Weblate (Polish)
Currently translated at 100.0% (288 of 288 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/pl/
2022-03-28 18:56:26 +02:00
Harshil Sharma
beaa47f63e Fixed user role dropdown CSS issue 2022-03-28 15:27:53 +05:30
Harshil Sharma
acd0ca71cd Updated share modal's title for templates 2022-03-28 14:06:41 +05:30
Harshil Sharma
5e74404077 Merge branch 'main' into private-templates 2022-03-28 14:00:49 +05:30
Harshil Sharma
fca768ca46
Added missing share board dialog title (#2574)
* wip

* Added data migration for populating categories

* wip

* Added data migration for populating categories

* Store WIP

* migration WIP

* category CRUD APIs complete

* category block API WIP

* block category update API done

* Fetcehed data into store

* Started displayting sidebar data

* sidebar WIP

* Dashboard - basic changes

* Sidebar dashboard btn and board switcher UI only

* Sidebar dashboard btn and board switcher UI only

* create category dialog WIP

* Create category webapp side done

* Integrated move card to other category

* board to block

* Disabled dashboard route for now as we'll implement it in phase 2

* WIP

* Added logic to open last board/view on per team level

* Add workspace to teams and boards migrations (#1986)

* Add workspace to teams and boards migrations

* Update json annotations on board models

* boards search dialog WIP

* Seach dialog WIP

* Implemented opening boiard from search results

* Boards switcher styliung

* Handled update category WS event

* Template support

* personal server support and styling fixes

* test fix WIP

* Fixed a bug causing boards to not be moved correctly beteen categories

* Fixed webapp tests

* fix

* Store changes (#2011)

* Permissions phase 1 - Websocket updates (#2014)

* Store changes

* Websockets changes

* Permissions phase 1 - Permissions service (#2015)

* Store changes

* Websockets changes

* Permissions service

* Api and app updates (#2016)

* Store changes

* Websockets changes

* Permissions service

* New API and App changes

* Delete and Patch boards and blocks endpoints

* Used correct variable

* Webapp changes WIP

* Open correct team URL

* Fixed get block API

* Used React context for workspace users

* WIP

* On load navigation sorted out

* WIP

* Nav fix

* categories WS broadcast

* Used real search API

* Fixed unfurl ppreview

* set active team in sidebar

* IMplemented navigation on changing team in sidebar

* Misc fixes

* close rows inside transaction (#2045)

* update syntax for mysql (#2044)

* Upadted mutator for new patchBlock API

* Updated patchBlock API to use new URL

* Listeining to correct event in plugin mode

* Implemented WS messages for category operations:

* Fix duplicated build tags on Makefile

* Sidebar enhancements

* Add missing prefix to SQLite migration and fix flaky tests

* Sidebar boards menu enhancement

* Fix board page interactions (#2144)

* Fix patch board card properties error

* Fix board interactions

* Fix insert blocks interactions

* Fix app tests (#2104)

* Add json1 tag to vscode launch (#2157)

* Fix add, delete and update boards and add board patch generation (#2146)

* Fix update boards and add board patch generation

* Make add board and add template work, as well as deleting a board

* Update the state on board deletion

* Delete unused variable

* Fix bad parenthesis

* Fix board creation inside plugin, options were coming null due websocket message serialization

* update property type mutators to use boards API (#2168)

* Add permissions modal (#2196)

* Initial integration

* Permissions modal, websocket updates and API tests implemented

* Avoid updating/removing user if there is only one admin left

* Fix duplicates on board search

* Adds integration test

* Addressing PR review comments

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

* Merge

* I'm able to compile now

* Some fixes around tests execution

* Fixing migrations

* Fixing migrations order

* WIP

* Fixing some other compilation problems on tests

* Some typescript tests fixed

* Fixing javascript tests

* Fixing compilation

* Fixing some problems to create boards

* Load the templates on initial load

* Improvements over initial team templates import

* Adding new fields in the database

* Working on adding duplicate board api

* Removing RootID concept entirely

* Improving a bit the subscriptions

* Fixing store tests for notificationHints

* Fixing more tests

* fixing tests

* Fixing tests

* Fixing tests

* Fixing some small bugs related to templates

* Fixing registration link generation/regeneration

* Fixing cypress tests

* Adding store tests for duplicateBoard and duplicateBlock

* Addressing some TODO comments

* Making the export api simpler

* Add redirect component for old workspace urls

* Removing Dashboard code

* Delete only the built-in templates on update

* fixing tests

* Adding users autocompletion

* Updating snapshots

* Fixing bad merge

* fix panic when creating new card in notifysubscriptions (#2352)

* fix lint errors (#2353)

* fix lint errors

* fix panic when creating new card in notifysubscriptions (#2352)

* fix lint errors

* fix unit test

* Revert "fix unit test"

This reverts commit 0ad78aed65.

Co-authored-by: Doug Lauder <wiggin77@warpmail.net>

* fix sql syntax error for SearchUsersByTeam (#2357)

* Fix mentions delivery (#2358)

* fix sql syntax error for SearchUsersByTeam

* fix mentions delivery

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>

* update api for octoClient calls, pass correct variables to mutator (#2359)

* Fixing tests after merge

* Fix sidebar context menu UI issue (#2399)

* Fix notification diff for text blocks (#2386)

* fix notification diff for text blocks; fix various linter errors.

* fix URLs to cards

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>

* Permissions branch: Fix card links (#2391)

* fix notification diff for text blocks; fix various linter errors.

* fix URLs to cards

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>

* Fixing sqlite tests

* Fixing server tests

* Update migrations to create global templates. (#2397)

* fix duplicate templates

* revert migrate.go

* update UI for empty templates

* implement updating built-in templates as global (teamId = 0)

* handle error if board not found

* update unit test

* fix more tests

* Update blocks_test.go

Fix merge issue

* fix migration sql error (#2414)

* Fixing frontend tests

* Set target team ID when using a global template (#2419)

* Fix some server tests

* Fixing onboarding creation

* Permissions branch: Fix unit tests and CI errors (part 1) (#2425)

* Fixing some small memory leaks (#2400)

* Fixing some small memory leaks

* fixing tests

* passing the tags to all test targets

* Increasing the timeout of the tests

* Fix some type checkings

* Permissions branch: Fixes all the linter errors (#2429)

* fix linter errors

* Reestructuring the router and splitting in more subcomponents (#2403)

* Reestructuring the router and splitting in more subcomponents

* Removing console.log calls

* Removing unneeded selector

* Addressing PR comment

* Fix redirection to one team when you load directly the boards home path

* Using properly the lastTeamID to redirect the user if needed

* don't allow last admin change/deleted (#2416)

* don't allow last admin change/deleted

* update for i18-extract

* fixed en.json

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>

* Splitting BoardPage component into simpler/smaller components (#2435)

* Splitting BoardPage component into simpler/smaller components

* Removing unneeded import

* Replace go migrate with morph permissions (#2424)

* merge origin/replace-go-migrate-with-morph

* run go mod tidy on mattermost-plugin and increase test timeout

* fix merge issue temprorarily

* remove some debug changes

* fixing the linter

* Allow always team 0 (global) templates fetch (#2472)

* Fix problem with viewId 0 in the URL (#2473)

* Migrate from binddata to goembed (#2471)

* Adding join logic to the board switcher (#2434)

* Adding join logic to the board switcher

* Using already existing client function and removing the joinBoard one

* Adding support for autojoin based on url

* Fixing frontend tests

* fix webapp compile error, missing enableSharedBoards (#2501)

* Fixing duplication on postgres

* Adding back views to the sidebar (#2494)

* Fix #2507. Update Swagger comments (#2508)

* Fix the flash of the template selector on board/team switch (#2490)

* Fix the flash of the template selector on board/team switch

* More fixes specially around error handling

* Fixing the bot badge (#2487)

* simplifying a bit the team store sync between channels and focalboard (#2481)

* Fix menu tests (#2528)

* fix failing menu tests

* fix lint error

* Added keyboard shortcut for boards switcher (#2407)

* Added keyboard shortcut for boards switcher

* Fixed a type error

* Added some inline comments

* Fixed lint

* Fixed bug with scroll jumping when the card is opened: (#2477)

- avoid remounting of `ScrollingComponent` for each render of `Kanban` component
  - property `autoFocus` set to false for `CalculationOptions` because it triggers `blur` even for the button in Jest tests and closes the menu
  - snapshots for tests with `CalculationOptions` updated

* Adding the frontend support for permissions and applying it to a big part of the interface. (#2536)

* Initial work on permissions gates

* Applying permissions gates in more places

* Adding more checks to the interface

* Adding more permissions gates and keeping the store up to date

* fixing some tests

* Fixing some more tests

* Fixing another test

* Fixing all tests and adding some more

* Adding no-permission snapshot tests

* Addressing PR review comments

* Fixing invert behavior

* Permissions branch:  No sqlstore calls after app shutdown (#2530)

* fix webapp compile error, missing enableSharedBoards

* refactor app init wip

* - ensure all block change notifications are finished before shutting down app
- fix unit tests for mysql (insert_at only has 1 second resolution!)

* adjust logging

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>

* Fixed migrations to allow upgrading from previous version (#2535)

* Added mechanism to check if schema migration is needed

* WIP

* WIP

* WIP

* WIP

* Fixed migration

* Fixed for SQLite

* minor cleaniup

* Deleted old schema migration table after running migrations

* Removed a debug log

* Fixed a bug where the code always tried to delete a table which may or may not exist

* Show properly the user avatar in the ShareBoard component (#2542)

* Fixing the last CI problems from the permissions-branch (#2541)

* Fix history ordering

* Giving some times to avoid possible race conditions

* Empty

* Reverting accidental change in the config.json

* Optimizing table view (#2540)

* Optimizing table view

* Reducing the amount of rendering for tables

* Some other performance improvements

* Improve the activeView updates

* Some extra simplifications

* Another small improvement

* Fixing tests

* Fixing linter errors

* Reducing a bit the amount of dependency with big objects in the store

* Small simplification

* Removing Commenter role from the user role selector (#2561)

* Shareboard cleanup (#2550)

* Initial work on permissions gates

* Applying permissions gates in more places

* Adding more checks to the interface

* Adding more permissions gates and keeping the store up to date

* fixing some tests

* Fixing some more tests

* Fixing another test

* Fixing all tests and adding some more

* Adding no-permission snapshot tests

* Addressing PR review comments

* cleanup some shareboard settings

* remove unused property, fix for user items being displayed for non admin

* revert change, allow users to show

Co-authored-by: Jesús Espino <jespinog@gmail.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>

* Fixing comments and cards with the new optimizations in the store (#2560)

* Fixing property creation (#2563)

* Fix user selection in table view (#2565)

* Fixing focus new row in table view (#2567)

* Permissions branch: Fix sqlite table lock (CI) (#2568)

* fix sqlite table lock

* remove test db on teardown

* revert .gitignore

* fix goimport on migration code

* fix typo

* more linter fixes

* clean up tmp db for sqlstore tests

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>

* Fixing snapshots

* Added missing share board dialog title

* Migrating center panel to functional component (#2562)

* Migrating center panel to functional component

* Fixing some tests

* Fixing another test

* Fixing linter errors

* Fixing types errors

* Fixing linter error

* Fixing cypress tests

* Fixing the last cypress test

* Simpliying a bit the code

* Making property insertion more robust

* Updating checkbox test

* Updated snapshots

Co-authored-by: Miguel de la Cruz <miguel@mcrx.me>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
Co-authored-by: Chen-I Lim <46905241+chenilim@users.noreply.github.com>
Co-authored-by: Jesús Espino <jespinog@gmail.com>
Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Ibrahim Serdar Acikgoz <serdaracikgoz86@gmail.com>
Co-authored-by: kamre <eremchenko@gmail.com>
2022-03-28 14:00:06 +05:30
Harshil Sharma
3679e04d44 Removed the extra getDefaultTemplate API as its not needed 2022-03-28 13:41:31 +05:30
Harshil Sharma
98ca5b5691 Merge branch 'main' into private-templates 2022-03-28 13:07:23 +05:30
Harshil Sharma
d0d18f207f
Fixed bug where match didn't receive current router's route (#2598)
* Fixed bug where match didn't receive current router's route

* Lint fiX

* Simplified the FBRoute

Co-authored-by: Jesús Espino <jespinog@gmail.com>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2022-03-28 10:22:25 +05:30
Mattermod
6fdee7a38b
Merge branch 'main' into MM-40430-redirect-login 2022-03-26 01:27:44 +02:00
Jesús Espino
5df336cf46
Upgrading most of the webapp dependencies. (#2642)
* Most of the frontend libraries upgraded

* Upgrading the dependencies in mattermost-plugin

* Fixing some tiny poblems

* All jest tests passing

* Some other small upgrades and tests are passing

* Fixing compass-icons

* Fixing eslint

* Fixing unit test

* Fixing unit test
2022-03-25 17:07:49 -06:00
Scott Bishel
33557093b0
fixes for shared boards (#2581)
* fixes for shared boards

* fixes from code review

* update for personal server

* fixes for cypress tests

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-03-25 10:46:58 -06:00
Harshil Sharma
8ce17a93d0
Dismiss tour config (#2626)
* Added feature flag to disable tour

* Fixed tests
2022-03-25 09:25:07 +01:00
Harshil Sharma
822ea04083 Merge branch 'main' into private-templates 2022-03-25 12:12:48 +05:30
Harshil Sharma
f26a854d3c Updated share board modal to support templates 2022-03-25 11:54:27 +05:30
Mattermod
72548a53e9
Merge branch 'main' into MM-40430-redirect-login 2022-03-24 19:25:46 +02:00
Scott Bishel
70ab1afecd
fix cypress tests (#2628)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-03-24 11:24:18 -06:00
Jesús Espino
1a5299044f
Fixing ShareBoard users ordering (#2602) 2022-03-24 18:12:31 +01:00
Harshil Sharma
bcdde138a9 Merge branch 'main' into private-templates 2022-03-24 07:30:09 +05:30
asimsedhain
c54228e13c fix: gallary card and calendar title overflowing 2022-03-23 18:55:42 -05:00
Scott Bishel
97a92cb8db update login and register page to not display if already logged in 2022-03-23 14:48:45 -06:00
Doug Lauder
218d901b0d
Sqlite in-memory database for unit tests (#2599)
* unit tests use in-memory DB for sqlite
2022-03-23 14:14:07 -04:00
Harshil Sharma
d1b7e601c5 Added server changes to support private templates 2022-03-23 16:21:48 +05:30
Jesús Espino
22a92068b5
Reducing the amount of context needed to change card properties (#2579)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-03-23 09:51:15 +01:00
Jesús Espino
e22ce0c7e0
Fixing sorting on non-titled cards (#2582) 2022-03-23 09:50:21 +01:00
Jesús Espino
28b0dc8c08
Fixing table header ordering in table view (#2564) 2022-03-23 09:47:05 +01:00
Jesús Espino
aa540e73ce
Permissions feature branch (#2578)
* wip

* Added data migration for populating categories

* wip

* Added data migration for populating categories

* Store WIP

* migration WIP

* category CRUD APIs complete

* category block API WIP

* block category update API done

* Fetcehed data into store

* Started displayting sidebar data

* sidebar WIP

* Dashboard - basic changes

* Sidebar dashboard btn and board switcher UI only

* Sidebar dashboard btn and board switcher UI only

* create category dialog WIP

* Create category webapp side done

* Integrated move card to other category

* board to block

* Disabled dashboard route for now as we'll implement it in phase 2

* WIP

* Added logic to open last board/view on per team level

* Add workspace to teams and boards migrations (#1986)

* Add workspace to teams and boards migrations

* Update json annotations on board models

* boards search dialog WIP

* Seach dialog WIP

* Implemented opening boiard from search results

* Boards switcher styliung

* Handled update category WS event

* Template support

* personal server support and styling fixes

* test fix WIP

* Fixed a bug causing boards to not be moved correctly beteen categories

* Fixed webapp tests

* fix

* Store changes (#2011)

* Permissions phase 1 - Websocket updates (#2014)

* Store changes

* Websockets changes

* Permissions phase 1 - Permissions service (#2015)

* Store changes

* Websockets changes

* Permissions service

* Api and app updates (#2016)

* Store changes

* Websockets changes

* Permissions service

* New API and App changes

* Delete and Patch boards and blocks endpoints

* Used correct variable

* Webapp changes WIP

* Open correct team URL

* Fixed get block API

* Used React context for workspace users

* WIP

* On load navigation sorted out

* WIP

* Nav fix

* categories WS broadcast

* Used real search API

* Fixed unfurl ppreview

* set active team in sidebar

* IMplemented navigation on changing team in sidebar

* Misc fixes

* close rows inside transaction (#2045)

* update syntax for mysql (#2044)

* Upadted mutator for new patchBlock API

* Updated patchBlock API to use new URL

* Listeining to correct event in plugin mode

* Implemented WS messages for category operations:

* Fix duplicated build tags on Makefile

* Sidebar enhancements

* Add missing prefix to SQLite migration and fix flaky tests

* Sidebar boards menu enhancement

* Fix board page interactions (#2144)

* Fix patch board card properties error

* Fix board interactions

* Fix insert blocks interactions

* Fix app tests (#2104)

* Add json1 tag to vscode launch (#2157)

* Fix add, delete and update boards and add board patch generation (#2146)

* Fix update boards and add board patch generation

* Make add board and add template work, as well as deleting a board

* Update the state on board deletion

* Delete unused variable

* Fix bad parenthesis

* Fix board creation inside plugin, options were coming null due websocket message serialization

* update property type mutators to use boards API (#2168)

* Add permissions modal (#2196)

* Initial integration

* Permissions modal, websocket updates and API tests implemented

* Avoid updating/removing user if there is only one admin left

* Fix duplicates on board search

* Adds integration test

* Addressing PR review comments

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

* Merge

* I'm able to compile now

* Some fixes around tests execution

* Fixing migrations

* Fixing migrations order

* WIP

* Fixing some other compilation problems on tests

* Some typescript tests fixed

* Fixing javascript tests

* Fixing compilation

* Fixing some problems to create boards

* Load the templates on initial load

* Improvements over initial team templates import

* Adding new fields in the database

* Working on adding duplicate board api

* Removing RootID concept entirely

* Improving a bit the subscriptions

* Fixing store tests for notificationHints

* Fixing more tests

* fixing tests

* Fixing tests

* Fixing tests

* Fixing some small bugs related to templates

* Fixing registration link generation/regeneration

* Fixing cypress tests

* Adding store tests for duplicateBoard and duplicateBlock

* Addressing some TODO comments

* Making the export api simpler

* Add redirect component for old workspace urls

* Removing Dashboard code

* Delete only the built-in templates on update

* fixing tests

* Adding users autocompletion

* Updating snapshots

* Fixing bad merge

* fix panic when creating new card in notifysubscriptions (#2352)

* fix lint errors (#2353)

* fix lint errors

* fix panic when creating new card in notifysubscriptions (#2352)

* fix lint errors

* fix unit test

* Revert "fix unit test"

This reverts commit 0ad78aed65.

Co-authored-by: Doug Lauder <wiggin77@warpmail.net>

* fix sql syntax error for SearchUsersByTeam (#2357)

* Fix mentions delivery (#2358)

* fix sql syntax error for SearchUsersByTeam

* fix mentions delivery

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>

* update api for octoClient calls, pass correct variables to mutator (#2359)

* Fixing tests after merge

* Fix sidebar context menu UI issue (#2399)

* Fix notification diff for text blocks (#2386)

* fix notification diff for text blocks; fix various linter errors.

* fix URLs to cards

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>

* Permissions branch: Fix card links (#2391)

* fix notification diff for text blocks; fix various linter errors.

* fix URLs to cards

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>

* Fixing sqlite tests

* Fixing server tests

* Update migrations to create global templates. (#2397)

* fix duplicate templates

* revert migrate.go

* update UI for empty templates

* implement updating built-in templates as global (teamId = 0)

* handle error if board not found

* update unit test

* fix more tests

* Update blocks_test.go

Fix merge issue

* fix migration sql error (#2414)

* Fixing frontend tests

* Set target team ID when using a global template (#2419)

* Fix some server tests

* Fixing onboarding creation

* Permissions branch: Fix unit tests and CI errors (part 1) (#2425)

* Fixing some small memory leaks (#2400)

* Fixing some small memory leaks

* fixing tests

* passing the tags to all test targets

* Increasing the timeout of the tests

* Fix some type checkings

* Permissions branch: Fixes all the linter errors (#2429)

* fix linter errors

* Reestructuring the router and splitting in more subcomponents (#2403)

* Reestructuring the router and splitting in more subcomponents

* Removing console.log calls

* Removing unneeded selector

* Addressing PR comment

* Fix redirection to one team when you load directly the boards home path

* Using properly the lastTeamID to redirect the user if needed

* don't allow last admin change/deleted (#2416)

* don't allow last admin change/deleted

* update for i18-extract

* fixed en.json

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>

* Splitting BoardPage component into simpler/smaller components (#2435)

* Splitting BoardPage component into simpler/smaller components

* Removing unneeded import

* Replace go migrate with morph permissions (#2424)

* merge origin/replace-go-migrate-with-morph

* run go mod tidy on mattermost-plugin and increase test timeout

* fix merge issue temprorarily

* remove some debug changes

* fixing the linter

* Allow always team 0 (global) templates fetch (#2472)

* Fix problem with viewId 0 in the URL (#2473)

* Migrate from binddata to goembed (#2471)

* Adding join logic to the board switcher (#2434)

* Adding join logic to the board switcher

* Using already existing client function and removing the joinBoard one

* Adding support for autojoin based on url

* Fixing frontend tests

* fix webapp compile error, missing enableSharedBoards (#2501)

* Fixing duplication on postgres

* Adding back views to the sidebar (#2494)

* Fix #2507. Update Swagger comments (#2508)

* Fix the flash of the template selector on board/team switch (#2490)

* Fix the flash of the template selector on board/team switch

* More fixes specially around error handling

* Fixing the bot badge (#2487)

* simplifying a bit the team store sync between channels and focalboard (#2481)

* Fix menu tests (#2528)

* fix failing menu tests

* fix lint error

* Added keyboard shortcut for boards switcher (#2407)

* Added keyboard shortcut for boards switcher

* Fixed a type error

* Added some inline comments

* Fixed lint

* Fixed bug with scroll jumping when the card is opened: (#2477)

- avoid remounting of `ScrollingComponent` for each render of `Kanban` component
  - property `autoFocus` set to false for `CalculationOptions` because it triggers `blur` even for the button in Jest tests and closes the menu
  - snapshots for tests with `CalculationOptions` updated

* Adding the frontend support for permissions and applying it to a big part of the interface. (#2536)

* Initial work on permissions gates

* Applying permissions gates in more places

* Adding more checks to the interface

* Adding more permissions gates and keeping the store up to date

* fixing some tests

* Fixing some more tests

* Fixing another test

* Fixing all tests and adding some more

* Adding no-permission snapshot tests

* Addressing PR review comments

* Fixing invert behavior

* Permissions branch:  No sqlstore calls after app shutdown (#2530)

* fix webapp compile error, missing enableSharedBoards

* refactor app init wip

* - ensure all block change notifications are finished before shutting down app
- fix unit tests for mysql (insert_at only has 1 second resolution!)

* adjust logging

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>

* Fixed migrations to allow upgrading from previous version (#2535)

* Added mechanism to check if schema migration is needed

* WIP

* WIP

* WIP

* WIP

* Fixed migration

* Fixed for SQLite

* minor cleaniup

* Deleted old schema migration table after running migrations

* Removed a debug log

* Fixed a bug where the code always tried to delete a table which may or may not exist

* Show properly the user avatar in the ShareBoard component (#2542)

* Fixing the last CI problems from the permissions-branch (#2541)

* Fix history ordering

* Giving some times to avoid possible race conditions

* Empty

* Reverting accidental change in the config.json

* Optimizing table view (#2540)

* Optimizing table view

* Reducing the amount of rendering for tables

* Some other performance improvements

* Improve the activeView updates

* Some extra simplifications

* Another small improvement

* Fixing tests

* Fixing linter errors

* Reducing a bit the amount of dependency with big objects in the store

* Small simplification

* Removing Commenter role from the user role selector (#2561)

* Shareboard cleanup (#2550)

* Initial work on permissions gates

* Applying permissions gates in more places

* Adding more checks to the interface

* Adding more permissions gates and keeping the store up to date

* fixing some tests

* Fixing some more tests

* Fixing another test

* Fixing all tests and adding some more

* Adding no-permission snapshot tests

* Addressing PR review comments

* cleanup some shareboard settings

* remove unused property, fix for user items being displayed for non admin

* revert change, allow users to show

Co-authored-by: Jesús Espino <jespinog@gmail.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>

* Fixing comments and cards with the new optimizations in the store (#2560)

* Fixing property creation (#2563)

* Fix user selection in table view (#2565)

* Fixing focus new row in table view (#2567)

* Permissions branch: Fix sqlite table lock (CI) (#2568)

* fix sqlite table lock

* remove test db on teardown

* revert .gitignore

* fix goimport on migration code

* fix typo

* more linter fixes

* clean up tmp db for sqlstore tests

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>

* Fixing snapshots

* Migrating center panel to functional component (#2562)

* Migrating center panel to functional component

* Fixing some tests

* Fixing another test

* Fixing linter errors

* Fixing types errors

* Fixing linter error

* Fixing cypress tests

* Fixing the last cypress test

* Simpliying a bit the code

* Making property insertion more robust

* Updating checkbox test

Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
Co-authored-by: Miguel de la Cruz <miguel@mcrx.me>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
Co-authored-by: Chen-I Lim <46905241+chenilim@users.noreply.github.com>
Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Harshil Sharma <18575143+harshilsharma63@users.noreply.github.com>
Co-authored-by: Ibrahim Serdar Acikgoz <serdaracikgoz86@gmail.com>
Co-authored-by: kamre <eremchenko@gmail.com>
2022-03-22 08:24:34 -06:00
kamre
c317ece642
Fixed bug with scroll jumping when the card is opened: (#2477)
- avoid remounting of `ScrollingComponent` for each render of `Kanban` component
  - property `autoFocus` set to false for `CalculationOptions` because it triggers `blur` even for the button in Jest tests and closes the menu
  - snapshots for tests with `CalculationOptions` updated
2022-03-15 16:45:04 +05:30
Weblate (bot)
4a5dd4cb57
Translations update from Mattermost Weblate (#2537)
* 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 (Russian)

Currently translated at 44.0% (127 of 288 strings)

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

* Translated using Weblate (French)

Currently translated at 77.7% (224 of 288 strings)

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

Translated using Weblate (French)

Currently translated at 77.0% (222 of 288 strings)

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

Translated using Weblate (French)

Currently translated at 76.7% (221 of 288 strings)

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

Translated using Weblate (French)

Currently translated at 66.3% (191 of 288 strings)

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

Translated using Weblate (French)

Currently translated at 65.6% (189 of 288 strings)

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

* Translated using Weblate (Turkish)

Currently translated at 100.0% (288 of 288 strings)

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

* Translated using Weblate (German)

Currently translated at 100.0% (288 of 288 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 100.0% (288 of 288 strings)

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

* Translated using Weblate (Dutch)

Currently translated at 100.0% (288 of 288 strings)

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

* Translated using Weblate (English (Australia))

Currently translated at 100.0% (288 of 288 strings)

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

Co-authored-by: Maksim Matveev <m.matveev@hotmail.com>
Co-authored-by: Benoit Podwinski <me@benoitpodwinski.com>
Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Co-authored-by: jprusch <rs@schaeferbarthold.de>
Co-authored-by: kaakaa <stooner.hoe@gmail.com>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: Matthew Williams <Matthew.Williams@outlook.com.au>
2022-03-14 14:20:50 -07:00
Doug Lauder
84a3f8f1fb
modify error page redirects (#2518) 2022-03-11 14:47:04 -07:00
Harshil Sharma
a53e947489
Dismiss tour from overlay (#2525)
* Shows "(Deleted User)" instead of UUID when user not found (#2354) (#2465)

* Shows "(Deleted User)" instead of long, unreadable UUID in case the user is not found

In case a user is not found, at present unreadable and long UUIDs are shown which kill the look and feel of the application. This patch replaces the UUID with a more explanatory string.

* Update server/services/store/mattermostauthlayer/mattermostauthlayer.go

Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
(cherry picked from commit 68819185a4)

Co-authored-by: Akshay Vasudeva Rao <51395864+akkivasu@users.noreply.github.com>

* Update CHANGELOG.md for v0.15

Added one more merged PR to the list

* Added ability to dismiss tour from overlay

* GH-2212 - Update global link on board (#2492) (#2495)

(cherry picked from commit 49df41f9b2)

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>

* GH-2387 - Fixing link in comments (#2480) (#2498)

(cherry picked from commit 5e2cf0b386)

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>

* Addead feature to start product tour on using the welcome template (#2468)

* Fixed a bug where images of the welcome board were not copied over. (#2453)

* Fixed a buig where images of welcome board were not copied over

* Lint fixes

* Fixed test

* Fixed test

* Fixed intended behavio

* lint fixes

* Fixed tests

* Fixed tests

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Akshay Vasudeva Rao <51395864+akkivasu@users.noreply.github.com>
Co-authored-by: Winson Wu <93531870+wuwinson@users.noreply.github.com>
Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-03-11 14:46:32 -07:00
Scott Bishel
5b309e8e25
updated/synced prior PR (#2509)
* updated/synced prior PR

* add title back for cypress tests

* update unit test for cypress fix

* move to function

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-03-10 14:39:13 -07:00
Asaad Mahmood
50ded69852
Gh-2437 - Updating share board modal (#2511)
* Gh-2437 - Updating share board modal

* Updating test

* Updating card dialog and test

* Updating comment list
2022-03-10 13:39:55 -07:00
Asaad Mahmood
923437cc57
GH-2447 - Updating label overflow (#2479)
* GH-2447 - Updating label overflow

* Updating labels css
2022-03-10 20:29:44 +05:00
Scott Bishel
61f1a3cc65
don't display temlate page if readonly and access revoked (#2499) 2022-03-10 07:51:06 -07:00
Stylianos Rigas
6f987044e3 Resolve conflicts 2022-03-10 15:48:01 +02:00
Asaad Mahmood
b85f1ff0d2
GH-2456 - Updating url property (#2478) 2022-03-10 10:30:00 +01:00
Asaad Mahmood
bec39e8a64
GH-2483 - Updating buttons above board title (#2485)
* GH-2483 - Updating buttons above board title

* Updating css

* Updating tests
2022-03-10 12:21:30 +05:00
Jesús Espino
4cb3a0fae4
Fix problem with viewId 0 in the URL (#2474) 2022-03-09 11:21:01 -07:00
Scott Bishel
20fe19a50d
set min-height on empty date to allow click (#2466) 2022-03-09 08:44:30 -07:00
Asaad Mahmood
f9cef8e4a0
GH-2496 - Updating board title truncation issue (#2497) 2022-03-09 19:51:37 +05:00
Weblate (bot)
fa1e034f89
Translations update from Mattermost Weblate (#2482)
* Translated using Weblate (German)

Currently translated at 100.0% (287 of 287 strings)

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

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (287 of 287 strings)

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

Translated using Weblate (Hungarian)

Currently translated at 99.3% (285 of 287 strings)

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

* Translated using Weblate (Dutch)

Currently translated at 100.0% (287 of 287 strings)

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

* Translated using Weblate (Turkish)

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

Currently translated at 100.0% (287 of 287 strings)

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

* Translated using Weblate (Croatian)

Currently translated at 99.3% (285 of 287 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 100.0% (287 of 287 strings)

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

* Translated using Weblate (Russian)

Currently translated at 45.2% (130 of 287 strings)

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

* Translated using Weblate (English (Australia))

Currently translated at 100.0% (287 of 287 strings)

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

Co-authored-by: JtheBAB <srast@bioc.uzh.ch>
Co-authored-by: Tóth Csaba // Online ERP Hungary Kft <csaba.toth@online-erp.hu>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Co-authored-by: Varghese Jose <varghese.jose@tutanota.com>
Co-authored-by: Milo Ivir <mail@milotype.de>
Co-authored-by: kaakaa <stooner.hoe@gmail.com>
Co-authored-by: Maksim Matveev <m.matveev@hotmail.com>
Co-authored-by: Matthew Williams <Matthew.Williams@outlook.com.au>
2022-03-09 12:37:18 +01:00
Matthew Williams
8e3601124c Translated using Weblate (English (Australia))
Currently translated at 100.0% (287 of 287 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/en_AU/
2022-03-08 20:00:37 +01:00
Maksim Matveev
c4e4530b06 Translated using Weblate (Russian)
Currently translated at 44.2% (127 of 287 strings)

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

Translated using Weblate (Russian)

Currently translated at 44.9% (129 of 287 strings)

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

Translated using Weblate (Russian)

Currently translated at 45.2% (130 of 287 strings)

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

Translated using Weblate (Russian)

Currently translated at 45.2% (130 of 287 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ru/
2022-03-08 20:00:37 +01:00
kaakaa
6fd08ba672 Translated using Weblate (Japanese)
Currently translated at 100.0% (287 of 287 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ja/
2022-03-08 20:00:37 +01:00
Milo Ivir
e89a32841e Translated using Weblate (Croatian)
Currently translated at 99.3% (285 of 287 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/hr/
2022-03-08 20:00:37 +01:00
Varghese Jose
7af22e123f Translated using Weblate (Malayalam)
Currently translated at 100.0% (287 of 287 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ml/
2022-03-08 20:00:37 +01:00
Hosted Weblate
88e4dfab52 Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/
2022-03-08 20:00:37 +01:00
Kaya Zeren
e7034ea924 Translated using Weblate (Turkish)
Currently translated at 100.0% (287 of 287 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/tr/
2022-03-08 20:00:37 +01:00
Tom De Moor
dc502b5ef2 Translated using Weblate (Dutch)
Currently translated at 100.0% (287 of 287 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/nl/
2022-03-08 20:00:37 +01:00
Tóth Csaba // Online ERP Hungary Kft
3be82a5569 Translated using Weblate (Hungarian)
Currently translated at 100.0% (287 of 287 strings)

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

Translated using Weblate (Hungarian)

Currently translated at 99.3% (285 of 287 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/hu/
2022-03-08 20:00:37 +01:00
JtheBAB
653f087ff2 Translated using Weblate (German)
Currently translated at 100.0% (287 of 287 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/
2022-03-08 20:00:37 +01:00
Asaad Mahmood
5e2cf0b386
GH-2387 - Fixing link in comments (#2480) 2022-03-09 00:00:33 +05:00
Asaad Mahmood
380320179c
GH-2330 - Responsive UI update on template picker (#2486)
* GH-2330 - Responsive UI update on template picker

* Updating css
2022-03-08 23:53:09 +05:00
Asaad Mahmood
49df41f9b2
GH-2212 - Update global link on board (#2492) 2022-03-08 22:46:44 +05:00
Harshil Sharma
bca12fd4ce
Addead feature to start product tour on using the welcome template (#2468) 2022-03-08 17:32:59 +05:30
Spiros Economakis
254faa868a
Chore/translations unlock (#2454)
* Translated using Weblate (German)

Currently translated at 100.0% (262 of 262 strings)

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

* Translated using Weblate (Turkish)

Currently translated at 100.0% (282 of 282 strings)

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

Translated using Weblate (Turkish)

Currently translated at 100.0% (283 of 283 strings)

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

Translated using Weblate (Turkish)

Currently translated at 100.0% (262 of 262 strings)

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

* Translated using Weblate (Italian)

Currently translated at 100.0% (262 of 262 strings)

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

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (282 of 282 strings)

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

Translated using Weblate (Hungarian)

Currently translated at 100.0% (283 of 283 strings)

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

Translated using Weblate (Hungarian)

Currently translated at 96.4% (273 of 283 strings)

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

Translated using Weblate (Hungarian)

Currently translated at 100.0% (262 of 262 strings)

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

* Translated using Weblate (Polish)

Currently translated at 100.0% (262 of 262 strings)

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

* Translated using Weblate (Indonesian)

Currently translated at 67.1% (176 of 262 strings)

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

* Translated using Weblate (Malayalam)

Currently translated at 100.0% (262 of 262 strings)

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

* Translated using Weblate (English (Australia))

Currently translated at 99.2% (280 of 282 strings)

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

Translated using Weblate (English (Australia))

Currently translated at 100.0% (262 of 262 strings)

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

* Translated using Weblate (Dutch)

Currently translated at 100.0% (283 of 283 strings)

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

Translated using Weblate (Dutch)

Currently translated at 93.2% (264 of 283 strings)

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

Translated using Weblate (Dutch)

Currently translated at 100.0% (262 of 262 strings)

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

* Translated using Weblate (Croatian)

Currently translated at 100.0% (283 of 283 strings)

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

Translated using Weblate (Croatian)

Currently translated at 92.2% (261 of 283 strings)

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

Translated using Weblate (Croatian)

Currently translated at 100.0% (262 of 262 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 100.0% (283 of 283 strings)

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

Translated using Weblate (Japanese)

Currently translated at 100.0% (262 of 262 strings)

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

* Translated using Weblate (German)

Currently translated at 100.0% (283 of 283 strings)

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

* Update translation files

Updated by "Cleanup translation files" hook in Weblate.

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

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% (282 of 282 strings)

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

* Translated using Weblate (Malayalam)

Currently translated at 94.6% (267 of 282 strings)

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

* Fix merge conflicts

Co-authored-by: jprusch <rs@schaeferbarthold.de>
Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Co-authored-by: SerHack <atombt@protonmail.com>
Co-authored-by: Tóth Csaba // Online ERP Hungary Kft <csaba.toth@online-erp.hu>
Co-authored-by: master7 <marcin.karkosz@rajska.info>
Co-authored-by: Zxce3 <memetpea25@gmail.com>
Co-authored-by: Varghese Jose <varghese.jose@tutanota.com>
Co-authored-by: Matthew Williams <Matthew.Williams@outlook.com.au>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: Milo Ivir <mail@milotype.de>
Co-authored-by: kaakaa <stooner.hoe@gmail.com>
Co-authored-by: JtheBAB <srast@bioc.uzh.ch>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
2022-03-03 09:40:27 -07:00
Scott Bishel
b41fd7b4e8
update to v0.16.0 (#2438) 2022-03-02 15:08:40 -07:00
Scott Bishel
50020ce8b1
Update Share Button (#2432)
* update shareboard button to always display

* lint fixes

* fix/update unit tests

* update shareboard button to always display

* lint fixes

* fix/update unit tests

* Updating UI for share dialog

* Updating test

* update tests

* update to include view

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
2022-03-02 14:16:54 -07:00
Harshil Sharma
8ccf772241
Fixed tippy version to resolve an issue with tooltip arrows in Mattermost (#2417) 2022-03-02 14:00:33 -07:00
Asaad Mahmood
859e57f061
GH-2405 - Updating comment box alignment (#2423) 2022-03-02 13:58:31 -07:00
Doug Lauder
ec91f1c71b
Error page (#2321)
* generic error page

* redirect from errorboundary

* clean compile

* wip redirect from error boundry

* error page displaying

* ensure i18n strings are preserved

* Updating error page UI

* Update webapp/i18n/en.json

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>

* Update webapp/i18n/en.json

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>

* Update webapp/src/errors.ts

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

* typo

* remove background image

* fix linter error

* fix cypress errors

* translation error page title

* fix package lock

* fix package.lock again

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
Co-authored-by: Justine Geffen <justinegeffen@users.noreply.github.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-03-02 13:46:12 -07:00
Weblate (bot)
152c60400d
Translations update from Mattermost Weblate (#2411)
* Translated using Weblate (German)

Currently translated at 100.0% (262 of 262 strings)

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

* Translated using Weblate (Turkish)

Currently translated at 100.0% (283 of 283 strings)

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

Translated using Weblate (Turkish)

Currently translated at 100.0% (262 of 262 strings)

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

* Translated using Weblate (Italian)

Currently translated at 100.0% (262 of 262 strings)

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

* Translated using Weblate (Hungarian)

Currently translated at 96.4% (273 of 283 strings)

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

Translated using Weblate (Hungarian)

Currently translated at 100.0% (262 of 262 strings)

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

* Translated using Weblate (Polish)

Currently translated at 100.0% (262 of 262 strings)

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

* Translated using Weblate (Indonesian)

Currently translated at 67.1% (176 of 262 strings)

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

* Translated using Weblate (Malayalam)

Currently translated at 100.0% (262 of 262 strings)

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

* Translated using Weblate (English (Australia))

Currently translated at 100.0% (262 of 262 strings)

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

* Translated using Weblate (Dutch)

Currently translated at 100.0% (262 of 262 strings)

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

* Translated using Weblate (Croatian)

Currently translated at 92.2% (261 of 283 strings)

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

Translated using Weblate (Croatian)

Currently translated at 100.0% (262 of 262 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 100.0% (262 of 262 strings)

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

Co-authored-by: jprusch <rs@schaeferbarthold.de>
Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Co-authored-by: SerHack <atombt@protonmail.com>
Co-authored-by: Tóth Csaba // Online ERP Hungary Kft <csaba.toth@online-erp.hu>
Co-authored-by: master7 <marcin.karkosz@rajska.info>
Co-authored-by: Zxce3 <memetpea25@gmail.com>
Co-authored-by: Varghese Jose <varghese.jose@tutanota.com>
Co-authored-by: Matthew Williams <Matthew.Williams@outlook.com.au>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: Milo Ivir <mail@milotype.de>
Co-authored-by: kaakaa <stooner.hoe@gmail.com>
2022-03-02 09:06:25 -08:00
Chen-I Lim
a77f53fd94
Fix for #2430. Bypass Welcome screen for Personal Desktop. (#2431)
* Partial fix for #2430

* Fix #2430. Bypass welcome screen for Personal Desktop

* Skip welcome page only for Personal Desktop

* Removed API changes. Webapp changes were sufficient

Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
2022-03-02 07:46:46 -07:00
Asaad Mahmood
f39ff07c81
GH-2243.- Vertically centering dialogs in Boards (#2280) 2022-03-02 18:22:36 +05:00
Asaad Mahmood
8129b9ca43
Fixing template picker delete alignment (#2428) 2022-03-01 17:57:25 -07:00
Vishal
689a30f792
[GH-1304] Add Toggle to hide empty groups for TableView (#2367)
* GH-1304 Add Toggle to hide empty groups for TableView

* [GH-1304] Add separate menu options to toggle Groups

* [GH-1304] Update test cases

* GH-1304 Resolve merge conflicts

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-03-01 13:41:10 -08:00
Harshil Sharma
ab3bf6312c
Merge Onboarding feature branch into main (#2406)
* Persistent user config (#2133)

* Added user config API

* Add unit tests

* lint fix

* Fixed webapp tests

* Fixed webapp tests

* Updated props in store after updating

* Minor fixes

* Removed redundent data from audit logs

* Onboarding Tour (#2287)

* Created private board

* Roughly displayed tour

* Synced with Dhama's changes

* WIP

* Trying to add GIF

* Added 3 tour steps

* WIP

* WIP

* WIP

* checked in missed file

* Synced with feature branch

* WIp

* Adde skip tour option

* Fixed image loading for on-prem

* Made tour work on presonal server:

* Adde missed file

* Adding telemetry

* Adding telemetry

* Added tour tip telemetry

* Fixed pulsating dot styling for personal server

* reverted personal config

* Added reset tour button

* Displayed share tour tip of feature is enabled

* Lint fixes

* Fixed webapp tests

* Fixed webapp tests

* Completed webapp tests

* Completed webapp tests

* Webapp lint fixes

* Added server tests

* Testing cypress skip tour fix

* Fixed Cypress tests

* Added share board tour step

* Added share board tour step

* webapp lint fixes

* Updated logic to pick welcome board

* Updated tests:

* lint fixes

* Updating UI changes

* Fixed a bug causing card tour to re-appear

* FIxed minor issue

* FIxed bug where card tour didn't start in clickingh on card

* Fixed tests

* Make update user props use string instead of interface

* Fixed a value type

* Updating gif size

* Updating resolution breakpoint

* Updating tutorial tip

* Updating view selector

* Refactored tour components

* Misc fixes

* minor refactoring

* GH-2258: allow date range to overflow (#2268)

* allow date range to overflow

* Fixed issue with date overflowing into neighbouring column

Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>

* Update readme with accurate Linux standalone app build instructions (#2351)

* Bump follow-redirects from 1.14.7 to 1.14.8 in /experiments/webext (#2339)

Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Switch component style fixed: selector specificity increased by adding additional class. (#2179)

* Adding sever side undelete endpoint (#2222)

* Adding sever side undelete endpoint

* Removing long lines golangci-lint errors

* Fixing linter errors

* Fixing a test problem

* Fixing tests

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>

* Removing transactions from sqlite backend (#2361)

* Removing transactions from sqlite backend

* Skipping tests in sqlite because the lack of transactions

* Generating the mocks

* Fixing golangci-lint

* Fixing problem opening the tour tooltip on card open

* Fixing texts missmatch

* Adding the Product Tour entry in the user settings menu

* Fixing some tests

* Fixing tests

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: kamre <eremchenko@gmail.com>
Co-authored-by: Jesús Espino <jespinog@gmail.com>

* Restored package json

* Restored package json

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: kamre <eremchenko@gmail.com>
Co-authored-by: Jesús Espino <jespinog@gmail.com>
2022-02-28 12:28:16 +01:00
Jesús Espino
8d94422d5f
Adding sever side undelete endpoint (#2222)
* Adding sever side undelete endpoint

* Removing long lines golangci-lint errors

* Fixing linter errors

* Fixing a test problem

* Fixing tests

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-02-22 18:42:49 +01:00
kamre
c388a8df4a
Switch component style fixed: selector specificity increased by adding additional class. (#2179) 2022-02-21 15:59:20 +01:00
Scott Bishel
d385511066
GH-2258: allow date range to overflow (#2268)
* allow date range to overflow

* Fixed issue with date overflowing into neighbouring column

Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-02-17 16:53:31 -07:00
kamre
46f4185d30
Don't use property value for key construction. (#2317)
* Don't use property value for key construction.

* Use value from props as current value in `DateRange` component:
 - this allows to update it properly in the dialog when the value on the server is updated
 - current value is stored in `PropertyValueElement` similar to other property value components
 - fixed stale closure in `Modal` component
 - unit tests for `DateRange` updated (wrapper with current value created)
2022-02-15 09:24:31 -07:00
Hosted Weblate
716551bc7c Merge remote-tracking branch 'origin/main' into main 2022-02-15 09:15:43 +01:00
kamre
263e660604
Change wrapping of components in React.memo so that components have proper names in React Dev Tools. (#2332) 2022-02-14 13:55:13 -07:00
Divya Yeruva
02b50275ee
fixed label and text alignment under hidden columns (#1309)
* fixed label and text alignment under hidden columns

* alignment fix

Co-authored-by: divyay <divyareddy.y109@gmail.com>
2022-02-14 12:37:10 +05:00
Scott Bishel
73420bcf2a
calculation column order to be based on view (#2262) 2022-02-09 08:31:58 -07:00
Jesús Espino
10686f6b23
Fixing style problems on hover editable board templates (#2221)
* Fixing style problems on hover editable board templates

* Making template version relevant to detect if the template is builtin or not

* Fixing snapshots

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-02-09 15:36:27 +01:00
Harrison Healey
0d65c9eac9
Merge pull request #2263 from mattermost/MM-41342_revert-team-sidebar
MM-41342 Revert fixes related to using team sidebar in products
2022-02-09 09:34:45 -05:00
Milo Ivir
6a15e42e78 Translated using Weblate (Croatian)
Currently translated at 100.0% (256 of 256 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/hr/
2022-02-09 13:25:33 +01:00
Scott Bishel
092cf23972
Growth share board modal (#2286)
* Skeleton dialog

* Updating share board modal

* first changes

* Separate button

* Separate button

* Skeleton dialog

* Updating share board modal

* first changes

* Separate button

* Separate button

* add code to make it work, add telemetry, check config

* update icons

* add classes for personal server

* some cleanup

* increase padding

* add unit tests

* add unit tests

* more cleanup

* i18n extract and fix styles

* remove old shareBoardComponent

* remove old sharedBoardComponent

* lint fixes

* update additional snapshot tests

* remove more code

* more test cleanup

Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
2022-02-09 17:55:28 +05:30
Jesús Espino
761e268bf6
Preview the first view of the template (#2295) 2022-02-08 14:44:15 -07:00
Asaad Mahmood
6389d542b2
GH-2249 - Updating template selector screen (#2279)
* GH-2249 - Updating template selector screen

* Updating snapshots
2022-02-08 10:08:59 -07:00
Doug Lauder
95cf9fedbb
null check when selecting templates (#2259) 2022-02-07 18:16:41 -05:00
Weblate (bot)
c329db71e5
Translations update from Mattermost Weblate (#2278)
* Translated using Weblate (Ukrainian)

Currently translated at 3.1% (8 of 255 strings)

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

Added translation using Weblate (Ukrainian)

* Translated using Weblate (Slovenian)

Currently translated at 3.9% (10 of 255 strings)

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

* Translated using Weblate (Chinese (Traditional))

Currently translated at 75.6% (193 of 255 strings)

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

* 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% (256 of 256 strings)

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

* Translated using Weblate (Dutch)

Currently translated at 100.0% (256 of 256 strings)

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

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (256 of 256 strings)

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

* Translated using Weblate (Korean)

Currently translated at 100.0% (256 of 256 strings)

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

* Update translation files

Updated by "Cleanup translation files" hook in Weblate.

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

Update translation files

Updated by "Cleanup translation files" hook in Weblate.

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

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 (Turkish)

Currently translated at 100.0% (256 of 256 strings)

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

* Translated using Weblate (Polish)

Currently translated at 100.0% (256 of 256 strings)

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

* Translated using Weblate (English (Australia))

Currently translated at 100.0% (256 of 256 strings)

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

* Translated using Weblate (Italian)

Currently translated at 100.0% (256 of 256 strings)

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

* Translated using Weblate (Arabic)

Currently translated at 25.3% (65 of 256 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 100.0% (256 of 256 strings)

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

Co-authored-by: Serhiy Zhuk <0vatman0@gmail.com>
Co-authored-by: Animesh Pathak <kurosakiichigo.songoku@gmail.com>
Co-authored-by: wuuker <ukewea@gmail.com>
Co-authored-by: jprusch <rs@schaeferbarthold.de>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: Tóth Csaba // Online ERP Hungary Kft <csaba.toth@online-erp.hu>
Co-authored-by: Ji-Hyeon Gim <potatogim@potatogim.net>
Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Co-authored-by: master7 <marcin.karkosz@rajska.info>
Co-authored-by: Matthew Williams <Matthew.Williams@outlook.com.au>
Co-authored-by: SerHack <atombt@protonmail.com>
Co-authored-by: mamounjamous <mamounjamous@gmail.com>
Co-authored-by: kaakaa <stooner.hoe@gmail.com>
2022-02-07 12:34:42 -08:00
Scott Bishel
9c473a6a7a
Growth Spike - implement imports to help redirect (#2194)
* implement imports to help redirect

* fix constants
2022-02-07 10:33:54 -07:00
Doug Lauder
a57196c93f
Don't show Follow button on card template (#2260)
* don't show Follow button on templates

* only show Follow button for plugin

* force jest into plugin modde
2022-02-07 08:41:07 -07:00
Doug Lauder
870c56e6b3
Copy images when duplicating card/board (#2253)
* copy image for card/board dup

* revert store changes

* revert store changes
2022-02-04 15:12:28 -07:00
Harshil Sharma
475c96301c
Fied a bug where user Cannot edit description block if only a space (#2255) 2022-02-04 15:10:50 -07:00
Doug Lauder
9138c73f52
fix export archive file ext (#2254) 2022-02-04 17:03:50 -05:00
Harrison Healey
9e3e6be1c6 Revert "Fixed a bug causing double scroll bars to appear (#2217)"
This reverts commit 55879bdf11.
2022-02-04 13:45:52 -05:00
Scott Bishel
50d62db683
Update to version 0.15.0 (#2231)
* update to version 0.15.0

* update month

* update snapshots

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-02-04 11:21:33 -07:00
Harshil Sharma
55879bdf11
Fixed a bug causing double scroll bars to appear (#2217) 2022-02-02 13:48:46 -07:00
Chen-I Lim
b15dc028b1
Fix #2117. Remove Beta and Alpha language labels (#2118)
* Fix #2117. Remove Beta and Alpha language labels

* Update Jest snapshots
2022-02-02 12:23:32 -08:00
Scott Bishel
3bb58b4916
fix cypress test for changed templates (#2230)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-02-02 11:52:38 -07:00
Doug Lauder
a47baf7f23
Multi version archive import (#2220)
* Fixed panic in PropDef.GetValue for `person` property types.
- the GetUserByID API can return a nil user and nil error

* return userid

* support old archive format

* move template init to app layer

* move app init

* init app

* revert

* ignore GetDefaultTemplate blocks call in store mock

* ignore GetDefaultTemplate blocks call in store mock2

* ignore InsertBlockss call in store mock3

* ignore RemoveDefaultTemplates call in store mock4

* ignore WriteFile call in files mock5

* ignore WriteFile call in files mock6

* ignore WriteFile call in files mock7

* ignore WriteFile call in files mock8

* fix unit tests

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-02-02 11:25:06 -07:00
Harshil Sharma
21ba0e00ce
Fixes bug where images don't show up in templates and boards created from templates (#2224)
* Base fix for bug causing images to not appear in templates created from boards

* Added some docs

* Fixed lint error

* Update server/app/blocks.go

Co-authored-by: Doug Lauder <wiggin77@warpmail.net>

* used a better method name

Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
2022-02-02 10:12:59 -07:00
Scott Bishel
5030b1e582
Update dependencies for webapp and mattermost-plugin/webapp (#2213)
* update for trim-newlines

* update for glob-parent

* update for fstream
2022-02-02 06:36:49 -07:00
Jesús Espino
dcf7600ca4
Adding the new template selector interface (#2172)
* Addinig initial version of a working template selector

* Some improvements

* Small improvements in the code

* More polishing

* Code reorganization

* Fixing tests

* Fixing linter errors

* Allowing to edit/delete templates

* Removing no longer needed code reducing race conditions

* Fixing some tests

* Adding some unit tests

* Adding more tests

* Splitting a bit more the board template selector for simplification

* Moving the delete dialog to the board template selector item

* Fixing some tests

* Fixing tests

* Exctracting i18n strings

* Trying to fix part of the cypress tests

* Fixing cypress tests

* Updating template selector UI

* Updating UI

* Updating padding

* Fixing css linter errors

* Fixing css error introduced in the previous commit

* Updating snapshots and fixing tests

* Fixing cypress tests again

* Adressing review comments

* Fixing tests

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
2022-02-02 09:38:57 +01:00
Doug Lauder
65c783c270
Import/export moved to server + image support + streaming (#2201) 2022-02-01 19:01:29 -05:00
Mattermod
5186372107
Merge branch 'main' into gh-2147-url-property-improvement 2022-02-01 17:25:34 +02:00
Michel Engelen
9349f47e03
Merge pull request #2203 from jespino/changing-css-variable
Changing active-border to active-border-rgb in the css variables
2022-02-01 09:17:26 +01:00
Scott Bishel
1df9e4ba14
update dependencies (#2207) 2022-01-31 15:29:19 -07:00
Weblate (bot)
555ba1c5c4
Translated using Weblate (Catalan) (#2204)
Currently translated at 56.8% (145 of 255 strings)

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

Co-authored-by: Marc Celeiro <marc@marcceleiro.com>
2022-01-31 12:09:11 -08:00
dependabot[bot]
7754bc6edf
Bump marked from 3.0.6 to 4.0.12 in /webapp and /mattermost-plugin/webapp (#2182)
* Bump marked from 3.0.6 to 4.0.10 in /mattermost-plugin/webapp

Bumps [marked](https://github.com/markedjs/marked) from 3.0.6 to 4.0.10.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](https://github.com/markedjs/marked/compare/v3.0.6...v4.0.10)

---
updated-dependencies:
- dependency-name: marked
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* upgrade marked to 4.0.12

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2022-01-31 10:37:32 -07:00
Scott Bishel
7e0fb26875
implement registry for channel intro button (#2181) 2022-01-31 10:15:50 -07:00
Jesús Espino
98dde43556 Changing active-border to active-border-rgb in the css variables 2022-01-31 11:33:45 +01:00
Scott Bishel
8239bb70ad
update documents and import issues (#2141) 2022-01-26 21:35:28 +01:00
Asaad Mahmood
4662b03501
Adding gif support for boards (#2126)
* Adding gif support for boards

* Updating api
2022-01-26 18:45:44 +05:00
Kaya Zeren
08b1b27dd9 Translated using Weblate (Turkish)
Currently translated at 100.0% (255 of 255 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/tr/
2022-01-25 22:30:10 +01:00
Maksim Matveev
ae29eb4c90 Translated using Weblate (Russian)
Currently translated at 55.2% (141 of 255 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ru/
2022-01-25 22:30:10 +01:00
martin debnar
bd40c38e3b Translated using Weblate (Slovak)
Currently translated at 100.0% (255 of 255 strings)

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

Added translation using Weblate (Slovak)
2022-01-25 22:30:10 +01:00
aeomin
963bef43fd Translated using Weblate (Chinese (Simplified))
Currently translated at 69.0% (176 of 255 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/zh_Hans/
2022-01-25 22:30:10 +01:00
快乐的老鼠宝宝
997f22f1ca Translated using Weblate (Chinese (Simplified))
Currently translated at 69.0% (176 of 255 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/zh_Hans/
2022-01-25 22:30:10 +01:00
kaakaa
6056c6eca0 Translated using Weblate (Japanese)
Currently translated at 100.0% (255 of 255 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ja/
2022-01-25 22:30:10 +01:00
Doug Lauder
1e053dc36d
Disable max-lines ESLint rule (#2161)
* Disable max-lines ESlint rule

There are several webapp files that exceed the default ESLint max-lines rule.  This commit disables the rule to avoid polluting the VSCode problems view with these warnings.

* fix tab versus space
2022-01-25 08:01:31 -05:00
kamre
f4bf7db996 Cypress test for new URL property behaviour added:
- using `cypress-real-events` for real hover
 - label for view header menu changed to 'View header menu'
 - label for view menu added
 - snapshots for unit tests updated
2022-01-25 14:57:59 +03:00
kamre
400738db76 Unit tests new URL property behaviour added. 2022-01-25 14:57:59 +03:00
kamre
83fd5899c5 Unit tests fixed (snapshots updated). 2022-01-25 14:57:59 +03:00
kamre
f8995351c9 Minor style fix for calendar card. 2022-01-25 14:57:59 +03:00
kamre
76401862cc Fixed clicking on the card in the calendar view. 2022-01-25 14:57:59 +03:00
kamre
58b418025d Fix background-color of URL property on the calendar cards. 2022-01-25 14:57:59 +03:00
kamre
6b278cd8cf Hide copy button for URLProperty in the table. 2022-01-25 14:57:59 +03:00
kamre
992ea70807 Buttons for edit and copy of URLProperty added:
- Compass icon is used for `EditIcon`
 - some CSS tweaks for proper hover effects
2022-01-25 14:57:59 +03:00
kamre
6034f76167 Initial implementation for URLProperty improvements:
- show preview with link and button for editing
 - minor fixes for CSS
2022-01-25 14:57:59 +03:00
kamre
2c16446efd
Remove link to deleted css file. (#2152) 2022-01-24 12:54:42 -05:00
Scott Bishel
922e9ecd1a
GH-2130: Remove subscriptions feature flag (#2132)
* remove subscriptions feature flag

* lint fix
2022-01-19 07:27:26 -07:00
Ji-Hyeon Gim
73c88e6d27 Translated using Weblate (Korean)
Currently translated at 97.2% (248 of 255 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ko/
2022-01-18 22:02:48 +01:00
Chen-I Lim
b0993773c7 Translated using Weblate (Portuguese (Brazil))
Currently translated at 57.2% (146 of 255 strings)

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

Translated using Weblate (Chinese (Simplified))

Currently translated at 60.0% (153 of 255 strings)

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

Translated using Weblate (French)

Currently translated at 67.4% (172 of 255 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/fr/
2022-01-18 22:02:48 +01:00
Maksim Matveev
58b960d7cc Translated using Weblate (Russian)
Currently translated at 55.2% (141 of 255 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ru/
2022-01-18 22:02:48 +01:00
Tilto_
c08c64b031 Translated using Weblate (Korean)
Currently translated at 32.9% (84 of 255 strings)

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

Added translation using Weblate (Korean)
2022-01-18 22:02:48 +01:00
Chen-I Lim
a92534d783
Fix #2136. Show release month+year for version. (#2137) 2022-01-18 12:07:14 -08:00
Jesús Espino
02dfb6eceb
Moving the history instance creation after the plugin initialization (to honor the SiteURL config) (#2109)
* Moving the history instance creation after the plugin initialization (to honor the SiteURL config)

* Fixing welcome page images urls generation

* Fixing share board url generation

* Fixing more subpath problems

* Adding some tests with subpath

* Adding subpath test to welcome page

* fix linter error
2022-01-17 20:21:25 +01:00
kamre
342c8df39d
[GH-1754] Feature: card badges (#2025)
* First shot implementation of badges for the card.

* Showing and hiding card badges in board/gallery views via header menu action added.

* Counting of checkboxes in markdown supported.

* Use Intl.formatMessage for badge titles.

* Unit tests for `CardBadges` component added. Some other unit tests fixed.

* Unit test for 'Show card badges' action in the view header menu added.

* Cypress test for card badges added:
 - card with comments, description and checkboxes added for testing
 - card badges are shown and hidden via view menu
 - new Cypress command `uiAddNewCard` added
 - label property added to `MenuWrapper` and used in `ViewHeaderActionsMenu`

* Unit tests fixed after change of the label for view menu.

* Fix stylelint issues.

* Class name for `CardBadges` component fixed.

* Show and hide for card badges moved to `Properties` menu:
 - field `cardBadgesVisible` removed from `BoardViewFields`
 - new constant `badgesColumnId` introduced and used as an element in `visiblePropertyIds`
 - card badges added to calendar view
 - added `role` and `aria-label` for menu component `SwitchOption`
 - unit and Cypress tests updated

* Fix Cypress test: use `blur` after typing text.

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-01-13 09:26:27 -07:00
Asaad Mahmood
bfddc335bc
GH-2101 - Fixing card property and value bugs (#2103) 2022-01-12 09:35:02 -07:00
Harshil Sharma
d86d5005f6
Fixed a bug where mentions don't show up in descripotions (#2099) 2022-01-12 18:41:33 +05:30
Weblate (bot)
22aa8e591d
Translations update from Mattermost Weblate (#2081)
* Translated using Weblate (Croatian)

Currently translated at 100.0% (255 of 255 strings)

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

Translated using Weblate (Croatian)

Currently translated at 100.0% (255 of 255 strings)

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

* Translated using Weblate (Arabic)

Currently translated at 22.7% (58 of 255 strings)

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

Added translation using Weblate (Arabic (Najdi))

Co-authored-by: Milo Ivir <mail@milotype.de>
Co-authored-by: img src=xevil.com <attacker7771@gmail.com>
2022-01-12 17:29:15 +05:30
Asaad Mahmood
de3f7f6103
GH-1948 - Updating overflow on input fields (#2088) 2022-01-11 12:48:29 -07:00
Asaad Mahmood
ac5d408859
GH-1960 - Fixing link color on card (Personal Server) (#2087)
* Fixing link color on card (Personal Server)

* Updating UI

* Updating css
2022-01-11 12:00:01 -07:00
Scott Bishel
9290194529
updated fix for comments display backwards (#2085) 2022-01-11 07:47:12 -07:00
Chen-I Lim
36f66e7ea5
Gh 2077 mac app update (#2078)
* Fix #2077. Mac app sometimes stops updating.

* Cleanup logging
2022-01-10 11:34:51 -08:00
Scott Bishel
33407e7dd9
fix comments being set backwards (#2076) 2022-01-10 09:46:47 -07:00
Harshil Sharma
155bf75718
Fixed bug of stale closure in markdown editor (#2058) 2022-01-07 12:29:57 -07:00
Tim Lange
e1d5e77e0e
Added better kanban edge scroll detection whilst dragging (#1913)
* added better kanban edge scroll detection whilst dragging

* update jest snapshots

* try to fix cypress on CI

* replace force clicks on cypress test

* make eslint happy

* fix unrelated failed tests and reorganize Cypress commands

* added test for drag direction from right to left

* make eslint happy

* cypress kanban drag test now checks other direction

* fix test and update eslit for cypress

Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-01-07 11:58:28 -07:00
Scott Bishel
f0602a6eb6
Update version to 0.14.0 (#2057)
* update version to 0.13.0

* update to v0.14.0
2022-01-06 12:26:35 -07:00
Scott Bishel
c82ae98776
Fix for dependbot alerts (#2050)
* ran npm audit fix for dependbot alerts

* update go dependencies for dependbot alerts

* Revert "update go dependencies for dependbot alerts"

This reverts commit 7f7e2129ce.
2022-01-05 16:04:25 -07:00
Julien Fabre
dfbc36c404
Add unit tests for cardFilter (#2021)
* chore: add unit tests for cardFilter

* fix: eslint

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-01-05 16:01:45 -07:00
Scott Bishel
cf43caf634
set to first date if null (#2008)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-01-05 14:24:51 -07:00
Scott Bishel
9ed0922e8c
GH-2007 Use VisiblePropertyIds for view property order (#2010)
* update for views to use viewPropertyIds for order

* build fixes

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-01-05 14:24:22 -07:00
Chen-I Lim
6e747d5731
Fix #2038. Remove beta label (#2039) 2022-01-04 11:02:59 -08:00
Chen-I Lim
c6e9d670da
Fix #1999, fix #2002: Alt italics regex without lookbehind (#2035) 2022-01-03 21:07:47 -08:00
Chen-I Lim
5c69c2de57
Fix #1745. Delete socket only if it exists (#2034)
* Fix #1745. Delete socket only if it exists

* Update jest snapshots to fix last year date text
2022-01-03 10:42:28 -08:00
Tom De Moor
b583bae668 Translated using Weblate (Dutch)
Currently translated at 100.0% (255 of 255 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/nl/
2021-12-27 13:52:56 -06:00
Darmen Erkin
975b27d9e2 Translated using Weblate (Kazakh)
Currently translated at 100.0% (255 of 255 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/kk/
2021-12-27 13:52:56 -06:00
JoomlaEstonia
aae9528adc Translated using Weblate (Estonian)
Currently translated at 68.6% (175 of 255 strings)

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

Added translation using Weblate (Estonian)
2021-12-27 13:52:56 -06:00
Maksim Matveev
b149428da7 Translated using Weblate (Russian)
Currently translated at 55.2% (141 of 255 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ru/
2021-12-27 13:52:56 -06:00
Asaad Mahmood
76e13723b9
GH-479 - Updating comment order and adding images (#1985)
* GH-479 - Updating comment order and images

* Updating default image url

* Updating test

* Updating image function

* Updating tests
2021-12-23 10:59:18 +05:00
Kaya Zeren
cef37be94b Translated using Weblate (Turkish)
Currently translated at 100.0% (255 of 255 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/tr/
2021-12-22 09:25:30 -06:00
Darmen Erkin
3406a4c9cf Translated using Weblate (Kazakh)
Currently translated at 100.0% (255 of 255 strings)

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

Translated using Weblate (Kazakh)

Currently translated at 19.6% (50 of 255 strings)

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

Added translation using Weblate (Kazakh)
2021-12-22 09:25:30 -06:00
Matthew Williams
209d896e04 Translated using Weblate (English (Australia))
Currently translated at 100.0% (255 of 255 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/en_AU/
2021-12-22 09:25:30 -06:00
Varghese Jose
cc1108e560 Translated using Weblate (Malayalam)
Currently translated at 100.0% (255 of 255 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ml/
2021-12-22 09:25:30 -06:00
SerHack
549b7e22d5 Translated using Weblate (Italian)
Currently translated at 100.0% (255 of 255 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/it/
2021-12-22 09:25:30 -06:00
JtheBAB
b38b2ba8e9 Translated using Weblate (German)
Currently translated at 100.0% (255 of 255 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/
2021-12-22 09:25:30 -06:00
Scott Bishel
98ac0e0966
fix linter error (#2006) 2021-12-21 10:23:58 -07:00
Steven Tang
bf22a6faf9
GH-1883] Fix error page button to follow base URL (#1885) 2021-12-17 17:44:49 +01:00
Chen-I Lim
387c7acc55
Fix #1992. Remove borders around code block lines. (#1993)
* Fix #1992. Remove borders around code block lines.

* Update webapp/src/components/markdownEditorInput/markdownEditorInput.scss

Co-authored-by: Doug Lauder <wiggin77@warpmail.net>

Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
2021-12-15 15:04:11 -08:00
Chen-I Lim
a8b7a6a556
Fix #1928. Use draft-js-live-markdown-plugin. (#1942)
* Fix #1928. Use draft-js-live-markdown-plugin.

* Ported markdown plugin to TS and checked in directly

* Fix type

* Fix types
2021-12-15 13:23:30 -08:00
kamre
7cb25b9e17
[GH-1826] Cypress test for group by different property (#1966)
* Cypress command for resetting boards added.

* Cypress test for group board by different property added:
 - using @testing-library/cypress
 - minor fixes for `PropertyMenu` and `Dialog` components
 - bug in `ViewHeaderGroupByMenu` fixed: use `groupByProperty` passed in props instead of one from active view

* Jest snapshots updated.

* Use only case-sensitive strings for names in Cypress test.

* Cypress commands for adding new board and new group added.

* Jest snapshot for new test updated.

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-12-15 09:57:58 -07:00
Jesús Espino
9837f13abc
Splitting table component in smaller manageable chunks (#1967)
* Splitting table component in smaller manageable chunks

* Updating snapshots
2021-12-15 10:12:38 +01:00
Jenya
53b6b723f1
[GH-1542] Limit card title to 5 lines (#1548)
* limited card text to 5 lines

* Update kanbanCard.tsx

* Moved attributes to new lines

* Adding exception for vendor prefix in the styles

* Updating snapshots

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-12-14 19:37:59 +01:00
Asaad Mahmood
23a444290b
Gh 1980 - Updating date picker dates on hover (#1981)
* Updating date UI

* Updating ogi’s issue

* Updating css

* Updating date range css
2021-12-14 09:01:51 -07:00
Asaad Mahmood
5f3f65ed37
GH-1907 - Updating person popover (#1959)
* Updating assginee popover

* Updating css

* Removing console log

* Updating border property

* Updating avatar

* Updating tests
2021-12-14 20:06:14 +05:00
Scott Bishel
4656089cb1
GH-1872 - Updating octo-icon font weight (#1978)
* GH-1872 - Updating octo-icon font weight

* update unit tests

* update cypress tests

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
2021-12-13 12:27:14 -07:00
Tóth Csaba // Online ERP Hungary Kft
eb34610fe5 Translated using Weblate (Hungarian)
Currently translated at 100.0% (255 of 255 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/hu/
2021-12-13 11:57:13 -06:00
master7
9dd3b2b095 Translated using Weblate (Polish)
Currently translated at 100.0% (255 of 255 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/pl/
2021-12-13 11:57:13 -06:00
kaakaa
f597c93081 Translated using Weblate (Japanese)
Currently translated at 100.0% (255 of 255 strings)

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

Translated using Weblate (Japanese)

Currently translated at 100.0% (253 of 253 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ja/
2021-12-13 11:57:13 -06:00
Tom De Moor
42542fe211 Translated using Weblate (Dutch)
Currently translated at 100.0% (255 of 255 strings)

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

Translated using Weblate (Dutch)

Currently translated at 100.0% (253 of 253 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/nl/
2021-12-13 11:57:13 -06:00
Doug Lauder
75bd409ba0
Notifications phase 1 (#1851)
Backend support for subscribing/unsubscribing to blocks, typically cards and boards. Notifies subscribers when changes are made to cards they are subscribed to.
2021-12-10 10:46:37 -05:00
Scott Bishel
3450eb6d4f
Gh 1841 batch patches (#1935)
* Updating table row css (#1787)

* package patchBlocks as batches, move updateBlocks to transactional

* fix lint errors

* fix from review

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-12-10 07:17:00 -07:00
Nishant Mittal
87daacceca
fix: clear search on view change (#1856) 2021-12-10 08:08:02 -05:00
Nishant Mittal
a931289e02
[GH-1815]: Add e2e tests for empty board (#1956) 2021-12-10 09:31:41 +05:30
kamre
e518c391aa
[GH-1946] Fix losing focus for the card title in the dialog (#1952) 2021-12-09 12:14:29 -05:00
Harshil Sharma
42eb5ad6be
Fixed a bug preventing new template being created from a card (#1951)
* Fixed a bug preventing new template being created from a card

* Fixed a test
2021-12-09 16:35:35 +05:30
Saturnino Abril
a1e1e2dfd0
Merge pull request #1940 from nishantwrp/mm-t4285
[GH-1825]: Add e2e tests for adding a group color
2021-12-09 09:00:38 +08:00
Hossein
dc36afcfba
GH-1878: Display Bot Badge in Auto Complete (#1906) 2021-12-08 10:04:19 -05:00
Hossein
c8d4c98f8c
Fix Issues (#1923) 2021-12-08 09:07:28 -05:00
Nishant Mittal
cb1851e8f4 Revert unnecessary changes 2021-12-08 03:04:24 +05:30
Nishant Mittal
07fba07043 [GH-1825]: Add e2e tests for adding a group color 2021-12-08 03:03:45 +05:30
Jesús Espino
6876f11a36
Making markdown editor text selectable (#1896) 2021-12-07 12:51:23 -07:00
Miguel de la Cruz
9bb38c5cb4
Prevents the application from crashing if there is a null content order (#1937) 2021-12-07 12:41:01 -07:00
Milo Ivir
8651d64c78 Translated using Weblate (Croatian)
Currently translated at 100.0% (253 of 253 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/hr/
2021-12-06 14:07:00 -05:00
kaakaa
98cffaabea Translated using Weblate (Japanese)
Currently translated at 94.4% (239 of 253 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ja/
2021-12-06 14:07:00 -05:00
Kaya Zeren
4ff3c0a7fb Translated using Weblate (Turkish)
Currently translated at 100.0% (253 of 253 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/tr/
2021-12-06 14:07:00 -05:00
Asaad Mahmood
408d26a157
GH-1880 - Updating styling for mention popup (theme compatible) (#1925)
* GH-1880 - Updating styling for mention popup

* Updating styles

* Updating css
2021-12-06 19:13:38 +05:00
Saturnino Abril
68ad063c26
Merge pull request #1849 from venarius/e2e/MM-T4284
[GH-1823] Added E2E test for MM-T4284
2021-12-02 11:59:23 +08:00
Chen-I Lim
ed2c916afa
Update to v0.12 (#1904) 2021-12-01 14:55:47 -08:00
Scott Bishel
334d45969d
GH-1987 fix initial date property (#1898)
* Updating table row css (#1787)

* recreate dayCellContent when dateDisplayProperty changes

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
2021-12-01 08:46:38 -07:00
Jesús Espino
2f08c67827
Adding explict logout logic (#1895)
* Adding explict logout logic

* Fixing golangci-lint errors
2021-12-01 10:21:31 +01:00
Scott Bishel
f450555439
GH-1864 Add + sign to add new event. (#1892)
* Updating table row css (#1787)

* add + to date anchor

* rename classes, update tests

* Updating css for button

* Updating css

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-11-30 10:57:34 -07:00
Matthew Williams
3df4341729 Translated using Weblate (English (Australia))
Currently translated at 100.0% (253 of 253 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/en_AU/
2021-11-30 00:02:59 -05:00
MArtin Johnson
44438a0e4d Translated using Weblate (Swedish)
Currently translated at 98.4% (249 of 253 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/sv/
2021-11-30 00:02:59 -05:00
Varghese Jose
59cab00aa7 Translated using Weblate (Malayalam)
Currently translated at 100.0% (253 of 253 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ml/
2021-11-30 00:02:59 -05:00
Tóth Csaba // Online ERP Hungary Kft
0d0e58bf2c Translated using Weblate (Hungarian)
Currently translated at 100.0% (253 of 253 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/hu/
2021-11-30 00:02:59 -05:00
gruceqq
0fbbd6fe1d Translated using Weblate (Polish)
Currently translated at 100.0% (253 of 253 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/pl/
2021-11-30 00:02:59 -05:00
SerHack
fe3a888e10 Translated using Weblate (Italian)
Currently translated at 100.0% (253 of 253 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/it/
2021-11-30 00:02:59 -05:00
JtheBAB
4efef5885e Translated using Weblate (German)
Currently translated at 100.0% (253 of 253 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/
2021-11-30 00:02:59 -05:00
Ziggiz
424842dc14 Translated using Weblate (Norwegian Bokmål)
Currently translated at 9.4% (24 of 253 strings)

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

Added translation using Weblate (Norwegian Bokmål)
2021-11-30 00:02:59 -05:00
Tom De Moor
0abc367fa9 Translated using Weblate (Dutch)
Currently translated at 99.6% (252 of 253 strings)

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

Translated using Weblate (Dutch)

Currently translated at 90.7% (225 of 248 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/nl/
2021-11-30 00:02:59 -05:00
Asaad Mahmood
7db59f5d03
GH-1051 - Aligning card title with emojis (#1876) 2021-11-29 14:32:46 +05:30
Jesús Espino
72978fd54b
Properly generating patch diffs from two blocks (#1861)
* Properly generating patch diffs

* Ading unit tests

* Remove unneeded function

* Fixing tests
2021-11-26 18:56:27 +01:00
Asaad Mahmood
9529ad8747
GH-1284 - Fixing alignment of properties on cards (#1875)
* GH-1284 - Fixing alignment of properties on cards

* Updating test
2021-11-26 09:27:35 -07:00
Scott Bishel
2d505ce359
CalendarView Remove Feature flag (#1865)
* Updating table row css (#1787)

* remove calendarView Feature flag

* remove unused imports

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
2021-11-26 08:51:01 -07:00
Hossein
4f9702ac12
GH-1835: Show Autocomplete Textbox when At Mentioning Users in Comments or Content Section (#1836) 2021-11-25 15:10:39 -05:00
Asaad Mahmood
fba5653049
1873 - Calendar UI update (#1874) 2021-11-25 20:30:30 +05:00
Asaad Mahmood
083d89953c
GH-1837 - Updating link css (#1862) 2021-11-25 15:50:42 +05:00
Scott Bishel
797d6bc04a
Implementation of Calendar MVP (#1741)
* initial commit

* turn on featureflag

* additional fixes

* update for using FullCalendar

* update to allow both calendars

* fix dnd, remove log messages

* fix lint, unit tests

* dates should use themselves for timezone offset

* fix for tests

* remove react-big-calendar

* remove react-big-calendar

* fix for handling feature flags changing

* clean up

* remove unit test

* update tests

* fix tests

* lint fixes

* add creating event, fixes

* linter fixes

* clean up

* add unit tests

* fixes

* update snapshots

* update test

* update snapshot

* disable test for now, timezone changes labels

* remove test to get to build

* remove snapshot

* feedback updates

* use getConfig instead

* linter fix

* more linter

* revert changes

* some fixes for issues

* fix for displaying new calendar

* fix for displaying new calendar

* add properties to cards

* add properties to cards

* read only implementation

* i18-extract

* implement unit tests

* implement unit tests

* fix test

* remove log statements

* remove feature flag from config

* updated icons

* Updating icons for calendar mvp

* Revert "Updating icons for calendar mvp"

This reverts commit e16e715e8a.

* Revert "updated icons"

This reverts commit 120b7b0b96.

* update for code reviews

* fix linter

* more feedback updates

* fix some styling

* fix lint errors

* Updating css

* Updating calendar css

* update for lint errors

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
2021-11-24 14:00:20 -07:00
venarius
1c2a165003 satisfy eslint 2021-11-24 13:24:14 +01:00
venarius
354716be34 cypress group tests are now ts 2021-11-24 12:43:04 +01:00
venarius
bec6122af0 Added E2E test for MM-T4284 2021-11-24 12:20:03 +01:00
Julien Fabre
941a47aead
chore[GH-#836]: Add unit tests for shareBoardComponent (#1810) 2021-11-23 16:36:54 +05:30
Harshil Sharma
470be213ec
Fixed a bug causing duplicate date related menues to appear in kanban calculations (#1834) 2021-11-23 16:09:04 +05:30
Harshil Sharma
5730fb4bfe
Fixed issue with desktop app causing white screen (#1853)
* Fixed issue with desktop app causing white screen

* Handled for personal server mode
2021-11-23 16:05:45 +05:30
Chen-I Lim
91dc9def9b
Update version to 0.11.0 (#1859) 2021-11-22 16:15:03 -08:00
Tim Borodin
26e8625cf3
[GH-1539] Implement searching for the individual words in workspaces (#1590) 2021-11-22 14:00:26 -05:00
Deleted User
a46f09501e Translated using Weblate (Spanish)
Currently translated at 69.7% (173 of 248 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/es/
2021-11-22 12:29:31 -05:00
Milo Ivir
c0a9873c6d Translated using Weblate (Croatian)
Currently translated at 100.0% (248 of 248 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/hr/
2021-11-22 12:29:31 -05:00
Tóth Csaba // Online ERP Hungary Kft
ece1a2d31b Translated using Weblate (Hungarian)
Currently translated at 100.0% (248 of 248 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/hu/
2021-11-22 12:29:31 -05:00
master7
51d6ea5f7d Translated using Weblate (Polish)
Currently translated at 100.0% (248 of 248 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/pl/
2021-11-22 12:29:31 -05:00
gruceqq
78d6bb0005 Translated using Weblate (Polish)
Currently translated at 100.0% (248 of 248 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/pl/
2021-11-22 12:29:31 -05:00
MArtin Johnson
e407a4f169 Translated using Weblate (Swedish)
Currently translated at 95.9% (238 of 248 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/sv/
2021-11-22 12:29:31 -05:00
SiderealArt
7ebdc6ea8a Translated using Weblate (Chinese (Traditional))
Currently translated at 66.5% (165 of 248 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/zh_Hant/
2021-11-22 12:29:31 -05:00
jprusch
4db8a3c554 Translated using Weblate (German)
Currently translated at 100.0% (248 of 248 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/
2021-11-22 12:29:31 -05:00
Julien Fabre
238e1d5f0a
[GH-830]: Add unit tests for dialog (#1637)
* chore[GH-#830]: Add unit tests for dialog

* fix: snapshot

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-11-22 09:18:17 -07:00
kamre
a498149a76
[GH-42] Cypress tests for login actions (#1679)
* Testing API added to server:
 - registered only if `enableTestingAPI` is set to `true` in the config file
 - has only one route `test/reset`
 - reset clears the tables in db for blocks, users, sessions
 - functions `DeleteAllBlocks` and `DeleteAllUsers` added to `Store` interface
 - new functions implemented for `SQLStore`

* Cypress tests (initial version) for login actions added:

  - redirect to login page,
  - register user,
  - test for loading home page deleted,
  - allow js in `tsconfig.json` for cypress tests.

* Cypress tests for login actions:

  - check that main page with workspace is visible after registration,
  - initial version of test for login of register user.

* Cypress tests for login actions:

  - function for checking that workspace is available added,
  - functions for login and logout added,
  - test for password change added,
  - session parameters added to server config for cypress testing.

* Switch Cypress tests to typescript.

* Use ids for inputs instead of placeholder text.

* Use cypress request for login without loading login page.

* Cypress custom command for login added.

* Cypress tests fixed:
 - new cypress commands for server reset, register/login user
 - single test for "create and delete board/card"
 - fixes for `BoardPage` component useEffect callbacks
 - npm script `runserver-test` doesn't use single user mode

* Deletion of all blocks changed:
 - also deletes blocks from history
 - public function renamed to DeleteAllBlocksPermanently
 - code for mocks and public methods generated

* Server tests for files fixed on windows.

* Cypress tests for the registration of second user via invite link added.

* Added `baseUrl` in main `tsconfig.json` (required by cypress configuration).

* Cypress test fixed. Comments as well as log messages added.

* Log a message if testing API is enabled.

* Single cypress test for register/login actions.

* Revert changes to server.

* More convenient cypress commands:
  - all API calls made as separate commands
  - declarations for commands moved to separate global.d.ts file
  - utility functions moved after test actions in 'Login actions' test
2021-11-22 16:59:01 +01:00
Asaad Mahmood
70cfdce5e6
GH-1519 - Fixing color on template picker (#1829) 2021-11-16 07:43:19 -05:00
SerHack
696329b85e Translated using Weblate (Italian)
Currently translated at 100.0% (248 of 248 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/it/
2021-11-15 17:41:51 -05:00
Matthew Williams
377ed1dc9b Translated using Weblate (English (Australia))
Currently translated at 100.0% (248 of 248 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/en_AU/
2021-11-15 17:41:51 -05:00
Varghese Jose
abd7dc51cd Translated using Weblate (Malayalam)
Currently translated at 100.0% (248 of 248 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ml/
2021-11-15 17:41:51 -05:00
Tóth Csaba // Online ERP Hungary Kft
2fd028e91d Translated using Weblate (Hungarian)
Currently translated at 99.5% (247 of 248 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/hu/
2021-11-15 17:41:51 -05:00
Kaya Zeren
dccefd3607 Translated using Weblate (Turkish)
Currently translated at 100.0% (248 of 248 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/tr/
2021-11-15 17:41:51 -05:00
Tom De Moor
742c9a7b53 Translated using Weblate (Dutch)
Currently translated at 90.3% (224 of 248 strings)

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

Translated using Weblate (Dutch)

Currently translated at 89.5% (222 of 248 strings)

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

Added translation using Weblate (English (Australia))
2021-11-15 17:41:51 -05:00
Hosted Weblate
0ff92ad922 Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/
2021-11-15 17:41:51 -05:00
Milo Ivir
bfcd781b2d Translated using Weblate (Croatian)
Currently translated at 100.0% (240 of 240 strings)

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

Translated using Weblate (German)

Currently translated at 100.0% (240 of 240 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/
2021-11-15 17:41:51 -05:00
Tóth Csaba // Online ERP Hungary Kft
cf24ecf916 Translated using Weblate (Hungarian)
Currently translated at 100.0% (240 of 240 strings)

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

Translated using Weblate (Hungarian)

Currently translated at 100.0% (239 of 239 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/hu/
2021-11-15 17:41:51 -05:00
SerHack
77d8a7f3ca Translated using Weblate (Italian)
Currently translated at 100.0% (240 of 240 strings)

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

Translated using Weblate (Italian)

Currently translated at 100.0% (239 of 239 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/it/
2021-11-15 17:41:51 -05:00
jprusch
543500324b Translated using Weblate (German)
Currently translated at 100.0% (239 of 239 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/
2021-11-15 17:41:51 -05:00
Varghese Jose
ea2caa96af Translated using Weblate (Malayalam)
Currently translated at 100.0% (240 of 240 strings)

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

Translated using Weblate (Malayalam)

Currently translated at 85.3% (204 of 239 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ml/
2021-11-15 17:41:51 -05:00
Julien Fabre
66a12d190b
[GH-856]: Add unit tests for kanbanColumnHeader (#1703)
* chore[GH-#856]: Add unit tests for kanbanColumnHeader

* fix: update snapshot

* fix: snapshot and logplayground
2021-11-15 15:53:10 +05:30
Moncy Gopalan
e9e86d8457
Fix the issue where clicking on the + button at the top of a board group wouldn't open the newly-added card (#1708)
Co-authored-by: Moncy Gopalan <ilusivespectre@gmail.com>
2021-11-15 14:56:51 +05:30
Miguel de la Cruz
d2bcb9ad66
Shows the version change banner only on plugin update and tries to reconnect when the interface is refreshed (#1807) 2021-11-13 12:03:53 +01:00
Prakhar Porwal
27ce296b54
[GH-1655] Card Delete : added Confirmation Dialog (#1684)
* Made confirmationDialogBox from existing dialog component

* Used ConfirmationDialogBox to raise warning before deletion of card property

* fixes as ci checks did not pass

* fixes to pass ci tests

* Flash Message now visible (changed its z-index)

* Confirmation Dialog shows the property name.

* fixes for eslint test failure

* fixes for eslint test fail

* fixes for eslint test failure

* fix for eslint test failure

* fixed a wrong subtext string

* fixed eslint issues in scss

* i18n en.json for localisation updated

* `en.json;`-wrong file generated by `npm run i18n-extract ` command removed

* On Property Type or Name Change raises warning

* On Property Type or Name Change raises Confirmation dialog

Confirmation dialog box generalized for use

* The affected num of cards calculation added.

* If prop value not filled change after confirmation

* fixes after ci eslint failure

* fixes after ci eslint failure

* In cardDetailProperty test considered dialog box confirmation

* Added test for confirmationDialogBox

* npm run fix and fixed test failure

* snapshot files updated : `npm run updatesnapshot`

* ran i18n-extract script

* Added memo to Confirm dialog component

* reverted the addition of React.memo() as the feature breaks

* added confirmation for card  delete

* default export of Confirmation Dialog Component

* improved cardDialog test considering dialog box opening

* Added memo and useCallback for cnfrm dialog component

* eslint formating

* eslint formatting

* added confirm dialog for kanban and dialog card .

* updated snapshot . cardDetailProperty test failing

* updated snapshot

* Merge branch 'prop-update-warning-1140' into card-delete-warning-1655

* eslint formatting

* Merge branch 'prop-update-warning-1140' into card-delete-warning-1655

* removed unwanted comments

* imported library for failing test

* Updating card modal scss

* Addressed @sbishel comments

* fixed duplicate width in css

* updated comment in kanbanCard

* fixed failing snapshot test

* updated kanbanCard unit test

* npm run fix

* removed useState hook for confirmDialogProps

* removed useState hook from cardDialog and kanbanCard for confirmDialogProps.

* npm run fix

* removed duplicate declaration

Co-authored-by: Prakhar <>
Co-authored-by: prakharporwal <prakharporwal99@gmail.com>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
2021-11-11 15:03:28 -07:00
Jesús Espino
beee6f53e7
Fixing Adding content bug (#1799) 2021-11-11 14:59:15 -07:00
Scott Bishel
60f0f5d5c4
Update icons (#1796)
* Updating table row css (#1787)

* updated icons

* update snapshots

* fixes for standard icon removal

* revert config.json changes

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
2021-11-11 14:57:05 -07:00
Jesús Espino
537e015c72
Only allow routes without workspace prefix if you are in non-plugin mode (#1786) 2021-11-10 18:18:02 +01:00
Miguel de la Cruz
3ede6df028
Show a refresh banner on plugin update (#1720)
* Reload plugin on plugin update

* Add a banner that shows when updating the plugin and asks the user to reload

* Fix linter
2021-11-10 16:33:56 +01:00
Scott Bishel
1160477849
Updating table row css (#1787) (#1793)
Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
2021-11-10 07:34:21 -07:00
Hossein
c13371c648
Fix GH-1690: Default card template on a board template adds a card to the template, not the board (#1748) 2021-11-09 17:11:22 -05:00
Julien Fabre
cfbec9d90b
[GH-840]: add unit tests for workspace (#1781)
* chore[GH-#840]: add unit tests for workspace

* fix: test and snapshot

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

* i18n: update en.json

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

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

* fix type script error

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

* update snapshots

* fix snapshot
2021-11-09 13:26:45 -07:00
Hossein
ad0e3a1248
Fix GH-1724 (#1771) 2021-11-09 14:27:09 +01:00
Rakshit Arora
63ff9a7de5
Vertically Center Aligned createdBy, createdAt, lastModifiedBy and lastModifiedAt Properties (#1580)
* Vertically Center Aligned Dates.

* Vertically Centered lastModifiedAt & lastModifiedBy Properties

* Centered createdAt & createdBy Properties

* Added newlines in sass files

* Fixed createdBy alignment

* fix linting

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Hossein Ahmadian-Yazdi <hyazdi1997@gmail.com>
2021-11-09 08:23:09 -05:00
kaakaa
7ab1b81f8a Translated using Weblate (Japanese)
Currently translated at 100.0% (239 of 239 strings)

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

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

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

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

Translated using Weblate (Polish)

Currently translated at 100.0% (201 of 201 strings)

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

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

Translated using Weblate (German)

Currently translated at 100.0% (205 of 205 strings)

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

Translated using Weblate (German)

Currently translated at 100.0% (201 of 201 strings)

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

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

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

Translated using Weblate (Italian)

Currently translated at 100.0% (239 of 239 strings)

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

Translated using Weblate (Catalan)

Currently translated at 70.2% (144 of 205 strings)

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

Translated using Weblate (Italian)

Currently translated at 100.0% (205 of 205 strings)

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

Translated using Weblate (Italian)

Currently translated at 100.0% (205 of 205 strings)

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

Translated using Weblate (Italian)

Currently translated at 100.0% (201 of 201 strings)

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

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

Translated using Weblate (Turkish)

Currently translated at 100.0% (205 of 205 strings)

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

Translated using Weblate (Turkish)

Currently translated at 100.0% (201 of 201 strings)

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

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

Translated using Weblate (Malayalam)

Currently translated at 67.3% (161 of 239 strings)

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

Translated using Weblate (Malayalam)

Currently translated at 71.1% (143 of 201 strings)

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

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

Translated using Weblate (Hungarian)

Currently translated at 100.0% (205 of 205 strings)

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

Translated using Weblate (Hungarian)

Currently translated at 100.0% (201 of 201 strings)

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

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

Translated using Weblate (Swedish)

Currently translated at 100.0% (201 of 201 strings)

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

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

Translated using Weblate (Occitan)

Currently translated at 96.5% (194 of 201 strings)

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

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

Translated using Weblate (Dutch)

Currently translated at 86.6% (207 of 239 strings)

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

Translated using Weblate (Dutch)

Currently translated at 98.5% (198 of 201 strings)

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

* Fix linter

* Fix server linter

* Fix integration tests

* Update endpoint docs

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

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

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-11-05 11:54:27 +01:00
Scott Bishel
581ae7b97a
fix failing test (#1757) 2021-11-04 19:33:08 +01:00
Scott Bishel
381085f655
Fixes issue with dates and daylight savings (#1752)
* dates should use themselves for timezone offset

* remove log lines

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

* fix liniting errors

* don't modiy options

* fix liniting error

* Fix failing test

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

* fix: eslint error for screen

* fix: none

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

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

* Webapp Linter Fixes - Cleanup moment global-require

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

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

* update snapshots and fix lint errors

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-11-03 10:03:18 -06:00
Miguel de la Cruz
cadbaf5724
Check nulls on board and active view when tracking telemetry events (#1738)
* Check nulls on board and active view when tracking telemetry events

* Update effect to trigger a track event when the board or the view change
2021-11-03 16:22:22 +01:00
Grzegorz Tańczyk
ef22efd917
[GH-1278] Confirm delete when deleting board (#1339)
* Delete board confirmation modal (#1278)

* dialog should fill the screen on small resolution

* Updating delete board confirm UI

* Pass onClose callback to Dialog props

* lint

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

* lint

* remove set timeout

* Update button.scss

* update snpashot

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

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

* Fixed sidebar menu buttons having no cursor

* logo title cursor

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

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

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

* update for unit tests

* update unit tests, go.mod

* update go.sum

* fix lint errors

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

* hide sidebar by default < 768

* update to use function

* remove unused snapshot

* unhide sidebar on expansion

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

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

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

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

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

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

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

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

Translated using Weblate (Italian)

Currently translated at 100.0% (196 of 196 strings)

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

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

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

Translated using Weblate (Japanese)

Currently translated at 98.9% (194 of 196 strings)

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

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

Translated using Weblate (Malayalam)

Currently translated at 58.6% (115 of 196 strings)

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

Translated using Weblate (Malayalam)

Currently translated at 22.4% (44 of 196 strings)

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

Translated using Weblate (Malayalam)

Currently translated at 8.6% (17 of 196 strings)

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

Translated using Weblate (Malayalam)

Currently translated at 5.1% (10 of 196 strings)

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

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

* ran i18n-extract script

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

* Updated tests

* Minor fixes
2021-11-01 11:56:02 +05:30
Julien Fabre
b40bd0f2f9
chore[GH-#828]: Add unit tests for centerPanel (#1695) 2021-11-01 11:05:26 +05:30
Julien Tant
2063a4ec47
webapp: make 'no options' message more explicit + translatable (#1706) 2021-11-01 11:00:16 +05:30
Julien Fabre
1b1d2b78a5
chore[GH-#857]: Add unit tests for kanbanHiddenColumnItem (#1699) 2021-11-01 10:57:49 +05:30
Julien Fabre
7fa4c55473
chore[GH-#855]: Add unit test for kanbanColumn (#1704) 2021-11-01 10:55:56 +05:30
Chen-I Lim
380bd92725
Update telemetry (#1673) 2021-10-27 09:30:42 -07:00
kamre
c5a4dd80f7
[GH-705] Auto-name new property (#1408)
* Open menu with property name and type when new property is added.

* Adding new property asks for the type and sets initial name.

* Component for property types menu items introduced.

* Close property menu when enter is pressed in the input.

* Unit test for `CardDetailProperties` fixed:
 - jest snapshot updated
 - switched from mocking `fetch` to mocking `mutator`

* Unit tests for `CardDetailProperties` updated:
 - use the recommended way to get elements and trigger user events
 - test for properties menu when adding new property added

* Unit tests for `CardDetailProperties` added:
 - delete existing property
 - add new property

* Don't use debouncing for property type selection.

* Fix unit test for deleting property.

* Width of button `+ Add a property` is fixed.

* Jest snapshot updated after merge with `main`
2021-10-27 09:04:15 +02:00
Prakhar Porwal
30669e6d43
[GH-838]Created unit tests for /webapp/src/components/viewMenu.tsx (#1648)
* Created snapshot unit tests

* added one more view (table view) to unit test

Co-authored-by: Prakhar <>
2021-10-26 20:02:14 +02:00
Nishant Mittal
8b66243ca2
[GH-839] Unit tests for viewTitle.tsx (#1662)
* test: unit tests for viewTitle.tsx

* readonly: false
2021-10-26 16:58:53 +05:30
Julien Fabre
37a0b274b7
chore[GH-#834]: Add unit tests for modal (#1644) 2021-10-26 16:34:44 +05:30
Julien Fabre
3f726f9e64
chore[GH-#833]: Add unit tests for markdownEditor (#1643) 2021-10-26 16:33:39 +05:30
Kaya Zeren
14cb523f8f Translated using Weblate (Turkish)
Currently translated at 100.0% (196 of 196 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/tr/
2021-10-25 11:35:23 -05:00
Tom De Moor
6604d54c1b Translated using Weblate (Dutch)
Currently translated at 95.9% (188 of 196 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/nl/
2021-10-25 11:35:23 -05:00
master7
a5a12ba931 Translated using Weblate (Polish)
Currently translated at 100.0% (196 of 196 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/pl/
2021-10-25 11:35:23 -05:00
Tóth Csaba // Online ERP Hungary Kft
934e84c3a4 Translated using Weblate (Hungarian)
Currently translated at 100.0% (196 of 196 strings)

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

Translated using Weblate (Hungarian)

Currently translated at 92.3% (181 of 196 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/hu/
2021-10-25 11:35:23 -05:00
Berke Kalkan
6f3de195b3 Translated using Weblate (Turkish)
Currently translated at 93.8% (184 of 196 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/tr/
2021-10-25 11:35:23 -05:00
Quentin PAGÈS
c0a3edcb0d Translated using Weblate (Occitan)
Currently translated at 97.9% (192 of 196 strings)

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

Translated using Weblate (Occitan)

Currently translated at 93.3% (183 of 196 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/oc/
2021-10-25 11:35:23 -05:00
JtheBAB
97612949dc Translated using Weblate (German)
Currently translated at 100.0% (196 of 196 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/
2021-10-25 11:35:23 -05:00
Hosted Weblate
b476bcbecf Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/
2021-10-25 11:35:23 -05:00
master7
6281690fa7 Translated using Weblate (Polish)
Currently translated at 100.0% (184 of 184 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/pl/
2021-10-25 11:35:23 -05:00
Anne-Laure Gaillard
2c6c195678 Translated using Weblate (French)
Currently translated at 93.4% (172 of 184 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/fr/
2021-10-25 11:35:23 -05:00
kaakaa
6dc68f6bf4 Translated using Weblate (Japanese)
Currently translated at 100.0% (184 of 184 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ja/
2021-10-25 11:35:23 -05:00
Iuri Mendes
a666750a60 Translated using Weblate (Portuguese (Brazil))
Currently translated at 79.3% (146 of 184 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/pt_BR/
2021-10-25 11:35:23 -05:00
Hossein
fee83b49a6
Write Unit Test for emptyCenterPanel.tsx and welcomePage.tsx (#1621)
* write test for welcomePage

* Add test for emptyCenterPanel

* Addresse Jesus Comments

* Address Jesus Comments
2021-10-25 11:44:46 -04:00
Marc Velasco
169326e714
removed TODO comments flagged by eslint (#1623) 2021-10-25 11:36:59 -04:00
Nishant Mittal
e33fa1d593
fix: minor fixes to addContentMenuItem.test.tsx and cardDialog.test.tsx (#1651) 2021-10-25 16:38:25 +02:00
Julien Fabre
eac489231a
chore[GH-#831]: Add unit tests for emptyCenterPanel (#1652) 2021-10-25 13:11:14 +05:30
Chen-I Lim
ae552e260c
Update to v0.10 (#1633) 2021-10-22 13:59:05 -07:00
Hossein
eed1f86c15
Unfurl Focalboard Link (#1081) 2021-10-22 12:13:31 -04:00
Harshil Sharma
2415c9f28b
Ensure workspace ID is available in path (#1594)
* WIP: Testing a fix

* Moved to workspace ID path if workspace ID is available

* Remived debug logs

* added personal server check

* Removed an awesome class name

* Use replace instead of push
2021-10-22 14:37:46 +05:30
Julien Fabre
0e6fab45eb
chore[GH-#829]: Add unit tests for contentBlock (#1609)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-10-21 13:42:39 -04:00
Scott Bishel
d0083f6ed0
GH-1489: Add Telemetry for Shared Boards (#1610)
* add telemetry for shared boards

* move where setting view out of Routes

* add for configuration setting

* fix spacing

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-10-21 11:17:31 -06:00
Miguel de la Cruz
d22fe7fbc0
Modify undo manager to return a value and use it on undo (#1616)
* Modify undo manager to return a value and use it on undo

* Storing the last redo value internally to correctly run undo

* Fix types

* Improve test ensuring redo didn't add original block

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-10-21 18:50:19 +02:00
Hossein
9f74287802
fix main (#1619) 2021-10-21 10:29:06 -04:00
Miguel de la Cruz
afc37ca3af
Add non-reliable websockets support (#1497)
* Add non-reliable websockets support

* Remove unused properties

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2021-10-21 15:44:27 +02:00
Julien Fabre
17b2d07daf
[GH-852]: Add tests for galleryCard (#1587)
* chore[GH-#852]: Add tests for GalleryCard

* fix: error octoClient not mocked

* fix: review snapshot for image
2021-10-21 14:09:45 +02:00
Hossein
95b230acea
fix main (#1604) 2021-10-20 10:21:10 -04:00
Naresh Chavan
4465a85c3e
Update iconButton.tsx (#1512) 2021-10-20 08:21:24 -04:00
Julien Fabre
e5e7501efb
[GH-827] Add tests for cardDialog (#1592) 2021-10-19 22:39:53 -04:00
Nishant Mittal
96c346ed0f
[GH-1003] Deleted option doesn't go away immediately in select property (#1569) 2021-10-19 15:36:16 -04:00
Johannes Marbach
14634fd4e8
[GH-1080] Use current locale for date range (#1575)
This uses the currently configured locale to compute the value of date
range table aggregations. Previously, it would fall back to the browser
locale (or English) and ignore the locale configured in Focalboard
itself.

Relates to: #1080

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-10-18 15:17:08 -04:00
Julien Fabre
85ffb63b91
chore[GH-#851]: Add unit tests for Gallery (#1577)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-10-18 14:53:36 -04:00
Weblate (bot)
0488170beb
Translations update from Weblate (#1588)
* Translated using Weblate (Spanish)

Currently translated at 85.6% (155 of 181 strings)

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

* Translated using Weblate (Greek)

Currently translated at 26.5% (48 of 181 strings)

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

* Translated using Weblate (Dutch)

Currently translated at 99.4% (183 of 184 strings)

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

Added translation using Weblate (Hungarian)

* Translated using Weblate (German)

Currently translated at 100.0% (184 of 184 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 100.0% (184 of 184 strings)

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

* Translated using Weblate (Occitan)

Currently translated at 99.4% (183 of 184 strings)

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

Translated using Weblate (Occitan)

Currently translated at 98.3% (181 of 184 strings)

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

* Translated using Weblate (Turkish)

Currently translated at 100.0% (184 of 184 strings)

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

* Translated using Weblate (Spanish)

Currently translated at 92.9% (171 of 184 strings)

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

* Translated using Weblate (Hungarian)

Currently translated at 94.0% (173 of 184 strings)

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

* Translated using Weblate (Chinese (Simplified))

Currently translated at 83.1% (153 of 184 strings)

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

* Translated using Weblate (French)

Currently translated at 93.4% (172 of 184 strings)

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

* Translated using Weblate (Polish)

Currently translated at 100.0% (184 of 184 strings)

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

* Translated using Weblate (Swedish)

Currently translated at 100.0% (184 of 184 strings)

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

Co-authored-by: Diego Alvarez <dialvarezs@gmail.com>
Co-authored-by: Golfo Vasiliou <faysvas@yahoo.com>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: JtheBAB <srast@bioc.uzh.ch>
Co-authored-by: kaakaa <stooner.hoe@gmail.com>
Co-authored-by: Quentin PAGÈS <quentinantonin@free.fr>
Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Co-authored-by: Sofia Carballo <sofia.carballo@live.com>
Co-authored-by: Tóth Csaba // Online ERP Hungary Kft <csaba.toth@online-erp.hu>
Co-authored-by: aeomin <lin@aeomin.net>
Co-authored-by: Nathanaël <contact@nathanaelhoun.fr>
Co-authored-by: master7 <marcin.karkosz@rajska.info>
Co-authored-by: MArtin Johnson <martinjohnson@bahnhof.se>
2021-10-18 11:13:15 -05:00
Adithya Krishna
034c4828b1
Fixed Auto Expand Issue (#1554)
Signed-off-by: Adithya Krishna <aadithya794@gmail.com>
2021-10-18 17:34:51 +05:30
Nakul Chauhan
a8390747d3
Fixed overflowing checkbox (#1585) 2021-10-18 01:45:36 -04:00
Rafael Baldasso Audibert
1c5d4aeeb2
Some webapp linter fixes (#1405)
* fix: Fix eslint warning when using `window as any`

* fix: FIx some eslint errors

Closes #1359

* fix: Add some mora extra types

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-10-16 18:36:03 +02:00
Nishant Mittal
ffbd22afb8
[GH-1315] Fix card automatically scrolls to bottom (#1573)
* fix: card automatically scrolls to bottom

* fix: update jest snapshots
2021-10-16 07:48:12 -04:00
kamre
b5a194b62c
CardDetailProvider wraps the content part of the GalleryCard. (#1556)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-10-15 15:34:30 -06:00
Johannes Marbach
5204e2d080
[GH-1368] Add empty / not empty table aggregations (#1557)
This adds new aggregations for counting empty / not empty cards as well
as computing the respective percentage.

Fixes: #1368
2021-10-15 15:25:38 -06:00
DeeJayBro
40b9e3341f
Fix Share Dialog text overflow in german language (#1559) 2021-10-15 15:17:12 -06:00
Johannes Marbach
f771878fa8
[GH-411] Use relative date/time for comments (#1574)
This replaces the absolute date for comments on cards with a relative
date/time format and moves the absolute value into a tooltip.

Fixes: #411
2021-10-15 15:15:32 -06:00
Doug Lauder
d49a802c3c
fix card URLs with no viewid (#1571)
* fix card URLs with no viewid

* revert ServerRoot change
2021-10-15 14:23:35 -04:00
Nishant Mittal
845b40be84
[GH-999] Automatically search wihout pressing enter (#1506)
* feat: automatically search without pressing enter

* fix: don't create a new function on every render

* fix: cleanup debounced function when search is unmounted
2021-10-15 11:35:12 -04:00
prakharporwal
977bc1dafa
[GH-512] Feature #512 made confirmation dialog box. (#1546)
* Made confirmationDialogBox from existing dialog component

* Used ConfirmationDialogBox to raise warning before deletion of card property

* fixes as ci checks did not pass

* fixes to pass ci tests

* Flash Message now visible (changed its z-index)

* Confirmation Dialog shows the property name.

* fixes for eslint test failure

* fixes for eslint test fail

* fixes for eslint test failure

* fix for eslint test failure

* fixed a wrong subtext string

* fixed eslint issues in scss

* i18n en.json for localisation updated

* `en.json;`-wrong file generated by `npm run i18n-extract ` command removed

Co-authored-by: Prakhar <>
2021-10-14 11:42:36 -07:00
Adithya Krishna
dfbf9bc72a
Fixed Icon Picker Closing Bug (#1553)
Signed-off-by: Adithya Krishna <aadithya794@gmail.com>
2021-10-14 16:53:06 +05:30
DeeJayBro
cad6884fda
[GH-1487] fix csv export fail (#1533)
* fix csv export fail
2021-10-13 11:59:29 -04:00
DeeJayBro
f38db2bce9
fix height of hidden add icon element (#1537) 2021-10-13 11:49:29 -04:00
kamre
64fdeef893
Unit test for ContentElement fixed. (#1547) 2021-10-13 11:06:57 -04:00
Julien Fabre
45904613ec
[GH-850] Add unit tests to textElement (#1520)
* chore[GH-#850]: Add unit tests to textElement

* fix: add test on elements array
2021-10-13 16:34:36 +05:30
kamre
07cbc522fd
[GH-1467] Automatically create new checkbox when enter is pressed (#1505)
* Initial implementation for creation of new checkbox when enter is pressed.

* Card detail context added:
  - used for adding new content element
  - tracks id of new block that was added
  - used in checkbox element to set focus

* Deleting of last added empty checkbox supported.

* Rename addNewElement/addNewBlock to addElement/addBlock.

* New component CardDetailProvider for card detail context introduced.

* Delete only automatically added checkboxes.

* Fix existing unit tests: add `CardDetailProvider` when needed.

* Unit tests for `CheckboxElement` updated:
  - use mocked mutator
  - test for focus of last added checkbox added
  - test for adding new checkbox on pressing enter added
  - test for deleting automatically added checkbox on pressing esc/enter added
2021-10-13 16:33:12 +05:30
Julien Fabre
e02a03290d
[GH-847] Add unit tests for contentElement (#1501)
* chore[GH-#847]: add unit tests for contentElement

* fix: checkbox not need...

* fix: checkbox not need...
2021-10-13 16:26:38 +05:30
Sahil Silare
c6f86bdce1
BugFix: Comment textarea changes height when in focus (#1465)
* feat: Changed min-height

* feat: Added margin at bottom of avatar

* change: Removed min-height from editor preview scss.
2021-10-13 16:19:15 +05:30
Harshil Sharma
c4ee743a10
Board calculations (#1464)
* Added menu options to choose calculation

* Made calculation option component generic for use in kanban and table

* Added property type based calculation option menu

* WIP

* Prepared submenu

* Populated submenu

* WIP

* WIP

* Base implementation complete

* Done

* minor cleanup

* Updating UI for board calculations

# Conflicts:
#	webapp/src/components/kanban/calculation/calculation.tsx

* Updating UI for board

* Highlighted currently selected option

* Fixed existsing tests

* Fixed existsing tests

* Added tests

* Added tests

* Fixed some plugin CSS issues

* Fixed a unintentional snapshot update

* Fixed a test

* Fixed a test

* Fixed a test

* Fixed dashboard tests

* Fixed some review comments

* Updated snapshots for change in Button classname

* Fixed test after syncing with main

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
2021-10-13 13:26:14 +05:30
Julien Fabre
0434e7d6b6
chore: Add test units for contentRegistry (#1521) 2021-10-12 17:03:54 -06:00
Jenya
adfa8dd347
Added markdown styles from mattermost-webapp (#1500)
* added markdown styles from mattermost-webapp

* removed semicolon to satisfy eslint demands

* Update _markdown.scss
2021-10-12 13:22:04 -04:00
Bhavin Ag
d8a4d197ed
[GH-832] Add unit test for flashMessage component (#1522)
* test: add unit test for flashMessage component

* Address concerns

Co-authored-by: Hossein Ahmadian-Yazdi <hyazdi1997@gmail.com>
2021-10-12 13:14:10 -04:00
Puerco
264de5c3e7
Translated using Weblate (Polish) (#1530)
Currently translated at 100.0% (181 of 181 strings)

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

Co-authored-by: master7 <marcin.karkosz@rajska.info>
2021-10-12 11:43:10 -05:00
Johannes Marbach
6ec084f93d
[GH-1080] Add table functions for dates (#1508)
This adds earliest, latest and range column aggregations for general
date as well as created/updated date properties.

Fixes: #1080
2021-10-12 17:01:38 +05:30
Hossein
c9aeeb38bf
GH-1333: Implement Screen 3 and 4 of v6.0 navigation and FTUE (#1341) 2021-10-11 14:16:59 -04:00
Weblate (bot)
319dcbfb5d
Translations update from Weblate (#1514)
* Translated using Weblate (Polish)

Currently translated at 1.1% (2 of 181 strings)

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

Added translation using Weblate (Polish)

* Translated using Weblate (Indonesian)

Currently translated at 74.5% (135 of 181 strings)

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

* Translated using Weblate (Indonesian)

Currently translated at 100.0% (181 of 181 strings)

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

Translated using Weblate (Indonesian)

Currently translated at 74.5% (135 of 181 strings)

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

* Translated using Weblate (Turkish)

Currently translated at 100.0% (181 of 181 strings)

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

* Translated using Weblate (French)

Currently translated at 93.9% (170 of 181 strings)

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

Translated using Weblate (French)

Currently translated at 92.8% (168 of 181 strings)

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

Co-authored-by: master7 <marcin.karkosz@rajska.info>
Co-authored-by: Muhammad Zul Marij Rizqi Fathullah <muhammadzulmarijrizqifathullah@gmail.com>
Co-authored-by: Syauqy Nurul Aziz <syauqyaziz@gmail.com>
Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Co-authored-by: Anne-Laure Gaillard <alaure.gaillard@gmail.com>
2021-10-11 18:18:50 +02:00
Julien Fabre
3faa053bc6
chore[GH-#845]: add tests unit for comment (#1493) 2021-10-11 08:49:47 -06:00
Julien Fabre
598c404779
chore[GH-#848]: add unit test for dividerElement (#1503) 2021-10-11 08:45:47 -06:00
Julien Fabre
9ca5cd6a87
chore[GH-#849]: Add unit test for imageElement (#1502) 2021-10-08 19:38:14 -04:00
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