Files
2bb8d01100 Mattermost Blocks (#36338)
* Mattermost Blocks

* Rethink some block props and styles

* Remove obsolete comment

* Style fixes and add examples

* Add mention, search, and image metadata support

* Several UI improvements

* Validate blocks by translating them

* Add initial e2e tests

* Fix lint

* Fix tests and lint

* Fix lint

* Improve e2e and simplify doPostAction

* server side cleanup

* Fix typo

* Fix style

* Fix some tests

* Fix more tests

* Fix cypress tests

* Fix playwhright tests

* Fix flaky system console test

* Frontend cleanup

* Add blocks editor

* Fix CI

* Limit all blocks width

* Fix test

* Enable webhook service on playwhright CI

* fix flaky test

* Fix style

* Cleanups

* Address coderabbit comments

* Address coderabbit comments

* Address CI errors

* Fix tests

* Address changes in valid actions

* UX fixes

* Fix test

* Fix danger buttons and add allow emojis in buttons

* style tweaks

use semantic color tokens for buttons and accents, update max-heights for scollables,  adjustments to containers, removed btn-sm (using default button size for mm blocks with height and padding adjustments for use within blocks. removed hover selector from utils to prevent hover state issue with primary button, refined semantic-color-warning.

* Address feedback

* Add interactive content to post previews

* Add collapse transitions

* Address autocomplete position

* Handle columns within column sets

* Fix css lint

* Fix tests

* Use feature flag

* Address feedback

* Fix lint and add missing tests

* Fix e2e tests

* Fix e2e test

* Allow interactive posts without a message

* Fix lint

* Address feedback

* Fix ci

* Fix lint

* Add limits to block translations

* Fix lint

* Address feedback

* Address feedback

* Update snapshot

* Fix collapsible not defaulting to the right value

* Add total text limit

* Sync translations with mobile

* Fix snapshot

---------

Co-authored-by: Matthew Birtch <[email protected]>
Co-authored-by: Mattermost Build <[email protected]>
2026-06-29 20:33:46 +02:00

81 lines
3.1 KiB
JavaScript

// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
/**
* @id - plugin ID
* @version - plugin version
* @url - A URL where the plugin can be downloaded
* @filename - Name of a plugin file which should be available at "e2e/cypress/tests/fixtures/[filename]"
* upon manual download from the given URL. File is not to be included in the commit.
*
* Note:
* 1. Only those with "@filename" field is required to have corresponding file at fixtures folder.
* Download the plugin file from the given "@url" and save to "e2e/cypress/tests/fixtures/[@filename]".
* 2. Plugin should typically install in test via URL, unless it is specifically required to upload
* by file.
*/
export const agendaPlugin = {
id: 'com.mattermost.agenda',
version: '0.2.2',
url: 'https://github.com/mattermost/mattermost-plugin-agenda/releases/download/v0.2.2/com.mattermost.agenda-0.2.2.tar.gz',
};
export const demoPlugin = {
id: 'com.mattermost.demo-plugin',
version: '0.11.0',
url: 'https://github.com/mattermost/mattermost-plugin-demo/releases/download/v0.11.0/mattermost-plugin-demo-v0.11.0.tar.gz',
filename: 'mattermost-plugin-demo-v0.11.0.tar.gz',
};
export const demoPluginOld = {
id: 'com.mattermost.demo-plugin',
version: '0.8.0',
url: 'https://github.com/mattermost/mattermost-plugin-demo/releases/download/v0.8.0/com.mattermost.demo-plugin-0.8.0.tar.gz',
filename: 'com.mattermost.demo-plugin-0.8.0.tar.gz',
};
export const drawPlugin = {
id: 'com.mattermost.draw-plugin',
version: '0.0.4',
url: 'https://github.com/jespino/mattermost-plugin-draw/releases/download/v0.0.4/com.mattermost.draw-plugin-0.0.4.tar.gz',
};
export const githubPlugin = {
id: 'github',
version: '2.0.1',
url: 'https://github.com/mattermost/mattermost-plugin-github/releases/download/v2.0.1/github-2.0.1.tar.gz',
};
export const githubPluginOld = {
id: 'github',
version: '1.0.0',
url: 'https://github.com/mattermost/mattermost-plugin-github/releases/download/v1.0.0/github-1.0.0.tar.gz',
};
export const gitlabPlugin = {
id: 'com.github.manland.mattermost-plugin-gitlab',
version: '1.3.0',
url: 'https://github.com/mattermost/mattermost-plugin-gitlab/releases/download/v1.3.0/com.github.manland.mattermost-plugin-gitlab-1.3.0.tar.gz',
filename: 'com.github.manland.mattermost-plugin-gitlab-1.3.0.tar.gz',
};
export const jiraPlugin = {
id: 'jira',
version: '3.0.1',
url: 'https://github.com/mattermost/mattermost-plugin-jira/releases/download/v3.0.1/jira-3.0.1.tar.gz',
};
export const matterpollPlugin = {
id: 'com.github.matterpoll.matterpoll',
version: '1.8.0',
url: 'https://github.com/matterpoll/matterpoll/releases/download/v1.8.0/com.github.matterpoll.matterpoll-1.8.0.tar.gz',
filename: 'com.github.matterpoll.matterpoll-1.8.0.tar.gz',
};
export const testPlugin = {
id: 'com.mattermost.test-plugin',
version: '0.1.0',
url: 'https://github.com/mattermost/mattermost-plugin-test/releases/download/v0.1.0/com.mattermost.test-plugin-0.1.0.tar.gz',
};