Commit graph

18 commits

Author SHA1 Message Date
Pablo Velez Vidal
e2b06f5f55 MM48320 - refactor create channel with board from webapp to pluggable 2023-01-10 16:57:23 +01:00
Harrison Healey
3479e02657
MM-46725 Add build-product target to compile the Boards product (#4016) 2022-10-13 16:56:59 -04:00
Harrison Healey
2c1a7b1943 MM-46274 Temporarily roll back dependency versions to match web app 2022-08-17 16:22:35 -04:00
Harrison Healey
d462d9a5d7 MM-46274 Add ability to run Boards as a product in development 2022-08-17 16:13:35 -04:00
Rajat Dabade
f310ccf254
Tour for 7.2 (#3619)
* Tour for 7.2 done till manage boards

* Done with 7.2 tour point

* Update snapshot and linter fix

* Merge conflits fixed

* Linter fixed

* Linter fixes

* Snapshot updated and testcase fixed

* Linter issue fix and added padding in between text and nav-btn

* Linter fixes
2022-08-10 08:10:32 -06:00
Jesús Espino
46fdbf9048
Initial Boards+Channels implementation (#3110)
* Initial Boards+Channels implementation

* Adding draft code to list the boards in a channel

* Adding the hability to link/unlink channels (fake channel for now)

* Simplify slight the migrations

* WIP

* More changes to improve the implementation

* Adding partial implementation of linking channel from board

* Allow linking in both directions

* Removing unused file

* More work on channel binding

* some refactoring

* Improving code quality and interface

* More improvements

* Changing the API to search channels

* Adding a limit of 10 channels in search

* Add confirmation on linking public channels

* Improve a bit the styling of the confirmation modal

* Showing the current linked channel

* Adding link board confirmation to channel interface

* Fixing tests and linter errors

* Fixing backend tests

* Adding permissions tests

* Fixing linter errors

* Fixing small things

* Fixing some typescript errors

* Adding new boardSelectorItem tests

* Improving a bit tests

* Adding jest unit tests

* Remove duplicated implementation (from merge, I guess)

* Adding missed files

* Addressing some of the PR review comments

* Removing unneeded new wrapIntl implementation

* Moving NotSupportedError to the store package to be share between all the store implementations or layers

* Fixing one of the pendings ToDo

* Creating a constructor for the NotSupportedError

* Fixing linter error
2022-07-07 16:46:53 +02:00
Scott Bishel
de576ec5ff
update webapp dependencies (#3317) 2022-07-06 10:42:50 -06:00
Paul Esch-Laurent
c704729561
main Cherrypick: Hidden card view via direct URL & unfurl (#3071) (#3126)
* Hidden card view via direct URL & unfurl (#3071)

* wip: directly view a hidden (limited) card

* wip: use `limited` from Card

* feat(plugin): render hidden message when unfurling

* feat: `limited` direct card view + tests

* style: apply eslint

* fix: `large` <Button>

* test: update snapshot

* fix: wrap raw SVG in TSX component for styling

* feat: open pricing modal instead of /pricing URL

* fix: close card modal when opening pricing modal

* test: update snapshots

* chore: update i18n strings

* chore(Makefile): tests & dependencies in plugin

* test(plugin): add BoardsUnfurl snapshot tests

* test(cypress): 'Log in' -> 'Login'

* chore: i18n extract

* fix: use globstar matching in `i18n-extract`

* fix: `i18n-extract`, the sequel

* fix: / -> /error button `Login` to `Log in`

* style: fix linting

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

* fix: add `limited` to `Card`

* test: fix tests

* test: fix BoardsUnfurl

* chore: `npm run i18n-extract``

* Reducing the props used in the svgs to the minimum needed

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
Co-authored-by: Jesús Espino <jespinog@gmail.com>
2022-06-21 11:22:47 -06: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
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
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
Hossein
eed1f86c15
Unfurl Focalboard Link (#1081) 2021-10-22 12:13:31 -04:00
Jesús Espino
17991b9161
Live Watch make target for improve the development experience (#1389)
* Live Watch make target for improve the development experience

* Fixing the pluginctl enable/disable code

* Addressing PR review comments
2021-10-04 10:06:54 +02:00
Jesús Espino
13ef01a862
Fix share boards on plugin mode (#898)
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2021-08-10 11:46:09 +02:00
Christopher Speller
515edb9dcf
Global header support (#736)
* Adding global header support.

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

* Redirecting directly to the current channel on open Boards

* Some improvements on global header

* Adding missed file

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

* Adding global header tests

* Adding missed file

* Fix global header icon

* Adding isFocalboardPlugin function

* Fixing unit tests

* Fixing problem with header menu styles

Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-08-04 16:57:56 +02:00
Jesús Espino
c3dba863c1
Adding support for embed the webapp into the plugin (#597)
* Adding support for embed the webapp into the plugin

* Adding required dependency

* Removed unnecessary prettier command

* Installed imagemin required dependencies

* Open in a new window always

* Fix CSS Conflicts.

* Changing the app id to make it specific to focalboard

* Adding error boundary

* Fix styles on non-plugin environments

* Making the css scoped to focalboard only

* Create the focalboard root portal

* Including missed component

* Adding a missed rollback call

Co-authored-by: Christopher Speller <crspeller@gmail.com>
Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
2021-07-29 20:08:39 +02:00
Jesús Espino
f43e4028db
npm dependency upgrade (#470)
* npm dependency upgrade

* Remove unneeded optionaDependency
2021-05-25 13:22:28 +02:00
Jesús Espino
f1b8d88d6b
Changing mattermost-auth method to work based on shared database access (#335)
* Improving mattermost auth implementation

* Making mattermost-auth based on shared database access

* Reverting unneeded changes in the config.json file

* Fixing tiny problems

* Removing the need of using the mattermost session token

* Fixing some bugs and allowing to not-bind the server to any port

* Small fix to correctly get the templates

* Adding the mattermost-plugin code inside focalboard repo

* Adding a not working code part of the cluster websocket communication

* Updating the mattermost version

* Adding the cluster messages for the websockets

* Updating to the new node version

* Making it compatible with S3

* Addressing some tiny problems

* Fixing server tests

* Adds support for MySQL migrations and initialization

Co-authored-by: Miguel de la Cruz <miguel@mcrx.me>
2021-05-24 19:06:11 +02:00