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

1498 Commits

Author SHA1 Message Date
Paul Esch-Laurent
aca0107b34
fix: toString propertyValue for lowercasing (#4211)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-11-21 12:06:55 +01:00
Jesús Espino
f915a20c64
Adding the new blocks based editor (#3825)
* Working in the new content block editor

* Moving blocksEditor content block into its own component

* Initial integration with quick development flow

* More WIP

* Adding drag and drop support with server side help

* Some extra work around the styles

* Adding image support

* Adding video and attachments, and fixing edit

* Putting everything behind a feature flag

* Adding support for download attachments

* Fixing compilation error

* Fixing linter errors

* Fixing javascript tests

* Fixing a typescript error

* Moving the move block to an action with undo support

* Fixing ci

* Fixing post merge errors

* Moving to more specific content-blocks api

* Apply suggestions from code review

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

* Fixing the behavior of certain blocks

* Fixing linter error

* Fixing javascript linter errors

* Adding permission testing for the new move content block api

* Adding some unit tests

* Improving a bit the tests

* Adding more unit tests to the backend

* Fixed PR suggestion

* Adding h1, h2 and h3 tests

* Adding image tests

* Adding video tests

* Adding attachment tests

* Adding quote block tests

* Adding divider tests

* Adding checkbox tests

* Adding list item block tests

* Adding text block tests

* Reorganizing a bit the code to support deveditor eagain

* Fixing dark theme on editor view

* Fixing linter errors

* Fixing tests and removing unneeded data-testid

* Adding root input tests

* Fixing some merge problems

* Fixing text/text.test.tsx test

* Adding more unit tests to the blocks editor

* Fix linter error

* Adding blocksEditor tests

* Fixing linter errors

* Adding tests for blockContent

* Update webapp/src/components/blocksEditor/blockContent.test.tsx

Fix linter warning

* Update webapp/src/components/blocksEditor/blockContent.test.tsx

Fix linter warning

* Update webapp/src/components/blocksEditor/blockContent.test.tsx

Fix linter error

* Fixing test

* Removing unneeded TODO

Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
2022-11-15 16:59:07 +01:00
Harshil Sharma
93698c9574
Set board category if not set (#4200)
* Set board category if not set

* Uncommented a commented test, which was commented for debugging
2022-11-15 11:41:22 +01:00
Asaad Mahmood
fedcf57fb6
GH-4193 - Updating table view structure for drag (#4194) 2022-11-10 20:02:01 +05:00
Scott Bishel
a30c1692ac
update to version 7.6.0 (#4185) 2022-11-09 17:50:17 +05:30
Muhammad Redho Ayassa
e83b05b661
Fix not filling cell (#4099)
* fix(editable): make autoExpand stretch to parent width

* fix(editable): adjust snapshot against the new editable

* fill URLProperty to parent width

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-11-08 09:37:06 -07:00
Rajat Dabade
bddeeedd75
Added logic for system board category to show last (#4163)
* Added logic for system board category to show last

* NIT
2022-11-08 08:59:09 -07:00
Rajat Dabade
f5e8f4f82d
Minor CSS fix (#4120)
Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
Fixes https://github.com/mattermost/focalboard/issues/3881
2022-11-08 20:40:05 +05:30
Rajat Dabade
18d3978b82
Case-insensitive filter for text (#4153)
* Case-sensetive filter for text

* Nit

* Resolved merge conflict

* Update: added check if the value is present
2022-11-08 12:51:20 +01:00
Rajat Dabade
f0342097c9
Updated the filter condition for notContains (#4152) 2022-11-07 20:00:41 +01:00
Vivek K J
e4b4559967
Fix misaligned Product tour for share button (#4023)
Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
2022-11-03 13:27:56 -06:00
Asaad Mahmood
bb7b04c78b
Minor UI Changes (#4115)
* Minor UI Changes

* Updating menu overflow
2022-11-02 16:11:01 +05:00
Paul Esch-Laurent
df1b32cdfd
fix: don't send multiple ViewBoard telemetries (#4117) 2022-11-02 07:45:32 +05:30
Paul Esch-Laurent
7b2269d06b
fix: convert multiSelect prop value to [] if required (#4098) 2022-11-01 16:38:02 -05:00
Harshil Sharma
7e10361033
wrap long words in comments (#4101) 2022-11-01 15:33:39 -06:00
Tymoteusz Kossek
ffacc17e35
Remove margin on hover if table readonly (#4022)
Co-authored-by: Rajat-Dabade <rajat.dabade@mattermost.com>
2022-11-01 23:00:04 +05:30
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