1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-12-21 13:38:56 +02:00
Commit Graph

1884 Commits

Author SHA1 Message Date
redhoyasa
1da0abd718 disable menu dropdown for readonly mode (#2932) 2022-11-07 22:05:18 +07:00
redhoyasa
820cae6725 make view list disabled for readonly mode 2022-10-31 14:52:47 +07:00
Scott Bishel
3df9b42941
Fix double encoding (#4079)
* decode/encode urls in markdown to preven double encoding

* revert manifest change

* update title to htmlEncode, added tests

* remove encoding title

* Update webapp/src/utils.test.ts

Co-authored-by: Paul Esch-Laurent <herppfel@gmail.com>

Co-authored-by: Paul Esch-Laurent <herppfel@gmail.com>
2022-10-27 14:04:09 -06:00
Harshil Sharma
e086941fe9
Removed leftover debug logs (#4088) 2022-10-27 07:16:24 +02:00
Scott Bishel
cf90ce4e52
fix code for portuguese to match codes in i18n.tsx (#4091) 2022-10-27 10:39:01 +05:30
kamre
7be9085b1b
[GH-1007] Fix popup menus visibility (#4069)
* Always show popup menu when it is opened:
- add additional class name `menuOpened` and ensure that menu is visible
- new component `CardActionsMenuIcon` introduced and used for kanban/gallery/calendar card actions menu
- increase `z-index` for `ContentBlock` when menu is opened to avoid overlaps

* Jest snapshots updated: additional classes added to existing elements.

* Jest snapshot for mattermost-plugin test updated.

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-10-26 13:38:09 -06:00
Jesús Espino
218e24b005
Disable patches on unmount on readOnly mode (#4089) 2022-10-26 13:57:03 -05:00
Harshil Sharma
8d17dd820e
Boards as persisted category (#3877)
* WIP

* WIP

* Removed unused webapp util

* Added server tests

* Lint fix

* Updating existing tests

* Updating existing tests

* Updating existing tests

* Fixing existing tests

* Fixing existing tests

* Fixing existing tests

* Added category type and tests

* updated tests

* Fixed integration test

* type fix

* removed seconds from boards name

* wip

* debugging cy test

* Fixed a bug preventing users from collapsing boards category

* Debugging cypress test

* CI

* debugging cy test

* Testing a fix

* reverting test fix

* Handled personal server

* Fixed a case for personal server

* fixed a test
2022-10-26 16:38:03 +05:30
Scott Bishel
ba792191cd
GH 3830 - fix person/multi-person overflow (#4063) 2022-10-26 12:55:50 +05:30
Scott Bishel
e3ae682eea
Display board statistics (#4025)
* initial commit for displaying board statistics

* lint fixes

* i18n-extract, remove log entries, cleanup

* more lint fixes

* add check for standalone mode

* update tests due to change to NotImplemented

* lint fix

* revert removing empty comment lines

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-10-25 14:28:00 -06:00
Harrison Healey
17f79974c0
MM-47873 Replace react-router import with react-router-dom (#4076) 2022-10-24 13:05:47 -04:00
WhiteHsu
3e494e0b0a
Fix Bug #533 - Filter menu does not disappear when clicked for a second time (Board > Filter) (#4050)
Co-authored-by: White Hsu <white@glints.com>
2022-10-24 12:03:36 -05:00
Adithya Krishna
33d7469002
Updated Margin for GuestBadge (#4058)
Signed-off-by: Adithya Krishna <adikrish@redhat.com>

Signed-off-by: Adithya Krishna <adikrish@redhat.com>
2022-10-24 10:22:10 -06:00
Pablo Andrés Vélez Vidal
2676b19d99
MM-46392 - load boards memberships on rhs component mount (#4055)
* MM-46392 - load boards memberships on rhs component mount

* prevent blink between zero state and list state

* fix failing snapshots

* add pr feedback; change testing component state change approach using act; wrap async request in promiseAll instead of isolated awaits
2022-10-21 18:09:31 +02:00
Scott Bishel
667abb3a55
Personal Server - remove same function on disconnect as added on reconnect. (#4006)
* only dispatch initialLoad if me is defined, prevents recalling in loop

* update to add/remove same function on reconnect
2022-10-20 11:02:11 +02:00
Scott Bishel
6ea67987e6
GH-4007 Fix for welcome screen flashing (#4042)
* fix for welcome screen flashing

* fix lint
2022-10-20 11:00:12 +02:00
Scott Bishel
8ca5fbd37c
GH-4047 Handle all potential displayValue types (#4048)
* handle all potential displayValue types

* add logging the error
2022-10-20 10:50:40 +02:00
Paul Esch-Laurent
42ddbbdd69
Update URL to docs page for migrating and reference .boardarchive (#4043)
* chore: update docs URL for import/export/migrate

* chore: reference `.boardarchive` in import scripts & READMEs
2022-10-19 13:33:06 -06:00
Harshil Sharma
38eaf5344e
Stopped reacting to initial text changes and not being a controlled component (#4039) 2022-10-19 09:24:13 -06:00
Varun Tiwari
4b07ea52f7
[GH-3947]: Close confirmation dialog box on delete (#4031) 2022-10-18 19:26:14 +05:30
Varun Tiwari
ed3197ca62
[GH-3947]: Added confirmation dialog when deleting a card in calendar/galley view (#3996)
Co-authored-by: Paul Esch-Laurent <paul.esch-laurent@mattermost.com>
Co-authored-by: Rajat Dabade <rajat.dabade@mattermost.com>
2022-10-14 11:52:06 +05:30
Scott Bishel
610dea35e2
Gh 3974 guest autocomplete (#4010) 2022-10-13 15:53:38 -05:00
Kangho Lee
57fcdd93b3
Add export board archive in the side bar context menu (#3977)
* add export board archieve menu for sidemenu

* modify sidebarBoarditem snapshot

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-10-12 18:13:02 -06:00
Vivek K J
100b457911
Use different icons for random and Pick Icon (Closes: #3899) (#3924) 2022-10-11 10:19:25 -05:00
Scott Bishel
b9d0fd7fe0
fix bad code (#3972) 2022-10-07 09:30:35 -06:00
Shikhar
a40f978bc2
fixed typo in modal (#3952)
* fixed typo in modal

* updated snapshots
2022-10-07 08:06:21 -06:00
Scott Bishel
590540e887
add setting admin role when add member (#3961)
* add setting admin role when add member

* change variable name
2022-10-07 07:07:00 -06:00
Vivek K J
c476940781
Fix position of flash message popup see #3898 (#3923)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-10-06 18:12:39 -06:00
Miguel de la Cruz
2f90840ae8
Fix useHasPermission minimumRole cascade check (#3949) 2022-10-06 09:57:33 -06:00
Julien Fabre
50cce761ef
fix[GH-3918]: add color on person class (#3931) 2022-10-05 16:51:15 -06:00
Jesús Espino
9e861a62a6
Adding confirmation modal when setting the board to public with Editor or Commenter role (#3913)
* Adding confirmation modal when setting the board to public with Editor or Commenter role

* Applying suggested text changes

* 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/components/shareBoard/teamPermissionsRow.tsx

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

* update text to match

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
Co-authored-by: Justine Geffen <justinegeffen@users.noreply.github.com>
2022-10-05 12:57:32 -06:00
Vivek K J
1511691d26
Fix misaligned 'viewer' role on share board/template dialog (#3926)
* Fix misalligned 'viewer' role on share board/template dialog

* Update snapshots
2022-10-05 08:49:42 -06:00
Kangho Lee
9e2043fd76
fix javascript error when curren group is delete (#3900)
* fix javascript error when curren group is delete

* fix test error
2022-10-05 10:57:50 +05:30
Miguel de la Cruz
a69b0a44dc
Pins the roles submenu to the user permission row (#3925)
* Pins the roles submenu to the user permission row

* Fix snapshots
2022-10-05 10:22:24 +05:30
Chirag Ghosh
76b864efe2
fix: Person autocomplete in table; (#3927) 2022-10-04 12:59:13 -06:00
Scott Bishel
5bf4039350
GH-3916 fix property change (#3920) 2022-10-04 13:51:46 -05:00
Julien Fabre
f0619a084e
[GH-1950] : Fix border-collapse user agent stylesheet (#3905) 2022-10-04 22:29:57 +05:30
Harshil Sharma
42855dfc53
Fixed incorrect params to create/update categroy component (#3910) 2022-10-04 13:09:27 +02:00
Paul Esch-Laurent
b430e7b7a3
Update modal copy with "excludes guests" changes (#3917)
* feat: update modal copy to account for guests

* chore: `npm run i18n-extract`
2022-10-03 18:19:48 -06:00
Scott Bishel
cff39e7140
update to release 7.5.0 (#3890) 2022-10-03 11:55:20 -06:00
Scott Bishel
3c8f6324e4
Gh 3884 Fix Multiperson property (#3888)
* retrieve all team members for specific lists

* retrieve all team members for specific lists

* final fixes

* update to use enum

* unit test fixes

* lint fixes

* fix integration test

* fixup integration test

* fix issues with making board private

* update to make webapp and server enums match

* fix to add member in correct role

* remove unnecessary property, check Open/Private board

* cleanup confirm for non admin

* some final cleanup

* move default to webapp

* only allow greater roles in drop down, change property name to minimumRole

* update multiperson property to confirm and select same as person property

* implement hashing of keys to cause Select to reprocess initial load

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-10-03 10:11:19 -06:00
Julien Fabre
be8854b177
fix[GH-3764]: webpack extension (#3906) 2022-10-03 15:27:13 +05:30
Scott Bishel
61952f23ad
Gh 3882 - Fixes layout for ConfirmAddUserForNotification (#3887)
* retrieve all team members for specific lists

* retrieve all team members for specific lists

* final fixes

* update to use enum

* unit test fixes

* lint fixes

* fix integration test

* fixup integration test

* fix issues with making board private

* update to make webapp and server enums match

* fix to add member in correct role

* remove unnecessary property, check Open/Private board

* cleanup confirm for non admin

* some final cleanup

* move default to webapp

* only allow greater roles in drop down, change property name to minimumRole

* update z-index label, incorrect one used

* revert margin change

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-09-30 09:13:44 -06:00
Scott Bishel
8f4951dd4a
Fix members (#3875)
* retrieve all team members for specific lists

* retrieve all team members for specific lists

* final fixes

* update to use enum

* unit test fixes

* lint fixes

* fix integration test

* fixup integration test

* fix issues with making board private

* update to make webapp and server enums match

* fix to add member in correct role

* remove unnecessary property, check Open/Private board

* cleanup confirm for non admin

* some final cleanup

* move default to webapp

* only allow greater roles in drop down, change property name to minimumRole

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-09-30 08:26:41 -06:00
Scott Bishel
68c00cf560
reset current view, if empty, prevents using activeview with wrong board (#3880) 2022-09-30 14:27:24 +02:00
Jesús Espino
959a5ce8ff
Showing unknown channel and on share board modals if channel is no longer accessible (#3790)
* Showing unknown channel and on share board modals if channel is no longer accessible

* uncomment tests, write snapshots

* update snapshot

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-09-29 09:56:37 -06:00
Yusuke Nemoto
9b3be29af5
fix a placeholder message when sharing template (#3868) 2022-09-27 16:06:04 -06:00
info4pdv
a522f7f92d Translated using Weblate (French)
Currently translated at 90.5% (364 of 402 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/fr/
2022-09-23 16:42:23 +03:00
kaakaa
3906eebcaa Translated using Weblate (Japanese)
Currently translated at 100.0% (402 of 402 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ja/
2022-09-23 16:42:23 +03:00
Selyan Slimane Amiri
4a96eabaa9 Added translation using Weblate (Kabyle) 2022-09-23 16:42:23 +03:00