Commit graph

1504 commits

Author SHA1 Message Date
Rajat Dabade
09e0f045a7
Optimised Sorting of comments inside cards (#4207)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-11-28 14:39:55 +05:30
Rajat Dabade
6674402079
File attachment in the card (#4053)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-11-24 17:16:59 +05:30
Harshil Sharma
9918a0b3f8
DND support for category and boards in LHS (#3964)
* 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

* WIP

* Added category sort order migration

* Added logic to set new category on top

* Implemented api, WS listein logic remining

* finished webapp implementation

* Added category type and tests

* updated tests

* Fixed integration test

* type fix

* WIP

* implemented boards DND to other category and in same category

* removed seconds from boards name

* wip

* debugging cy test

* Enabled hiding views list while DNDing

* Removed some debug logs

* Fixed a bug preventing users from collapsing boards category

* WIP

* Debugging cypress test

* CI

* debugging cy test

* Testing a fix

* reverting test fix

* Handled personal server

* WIP

* WIP

* Adding support for building with esbuild

* Using different index.html templates for esbuild

* WIP

* WIP

* Fixed delete category and rename category

* WIP

* WIP

* Finally, its done.

* Adde suppor tot update board-category mapping in bulk

* Fixed a bug where create category option didn't show up on default category

* Fixed bug where new board was added as last board in Boards category instead of first board

* Minor cleanup

* WIP

* Added support to drab boards onto collapsed categories

* Fixed route order from specific to generic

* Fix linter

* Updated existin server tests

* fixed integration tests

* Fixed webapp test err

* Removed accidental dependencies

* Adding  new server tests

* Finished server tests

* added api to client.go

* Added API integration test

* Fixed existing webapp tests

* WIP

* WIP

* WIP

* WIP

* WIP

* Fixed missing paranthesis

* Some cleanup

* fixed server lint

* noopped down migration

* Fixed issue with DND not working great with newly added category

* Fixed a test

* Fixed a test

* Fixed a test

* Fixed console error while DNDing

* pakg lock restore

* Fixed missing react beautiful dnd in package.lock.json

* updated snapshots

* Fixed webapp test

* Review fixes

* Added API permission check

Co-authored-by: Jesús Espino <jespinog@gmail.com>
2022-11-24 15:31:32 +05:30
Rajat Dabade
300a2e573a
CSS fix for readonly user (#4223)
Fixes https://github.com/mattermost/focalboard/issues/4184
2022-11-24 13:00:57 +05:30
Rajat Dabade
77c798cc7a
Set the default select value for filterOptions (#4221)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Fixes https://github.com/mattermost/focalboard/issues/4206
2022-11-24 13:00:37 +05:30
Asaad Mahmood
9ab0291cb7
Updating board template picker ui (#4209)
* Updating board template picker ui

* Updating UI

* Updating UI

* Updating UI

* Updating modal

* Updating css

* Updating new template screen

* Updating css

* Updating css

* Updating padding
2022-11-23 21:22:28 +05:00
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