Mattermost is an open source platform for secure collaboration across the entire software development lifecycle..
Go to file
Harrison Healey 4d37aad678
MM-53524/MM-53525 Clean up post textbox measurement (#23973)
* Don't always render post textbox preview in background

* Remove most usage of custom-textarea--emoji-picker

This class is only needed by the pre-AdvancedTextEditor usage of the
Textbox. It otherwise conflicted with the code that controls the
AdvancedTextEditor's right padding

* Change right padding for post textbox to use CSS class

* Remove AutosizeTextarea.recalculatePadding

This was only needed because we started setting the padding of the
textarea programatically at some point. Originally, we could rely on
the reference textarea having the same styling because it had the same
CSS class as the actual textarea.

* Change reference textarea to a div

Using an actual textarea to measure the size of the text doesn't allow
us to measure the width of the text because textareas don't stretch to
fit text. Using a div with the same styling as the textarea works though

* Remove redundant measuring div from AutosizeTextarea

* Update snapshots for AutosizeTextarea

* Fix padding being counted twice when measuring width

* Change AutosizeTextarea to use a ResizeObserver to be more responsive

* Fix right padding on post preview

* Disable transitions when AutosizeTextarea first measures

* Fix measurement of trailing newlines

* Revert "Disable transitions when AutosizeTextarea first measures"

This reverts commit a036fdbfd64e49af9a2eaa3d3e06a5af453b1a5c.

* Revert "Change AutosizeTextarea to use a ResizeObserver to be more responsive"

This reverts commit c8fa4a19bde087a0fe80e3639aed2f3ae2eae04a.

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-09-13 18:05:43 -04:00
.github Constrain when we emit webhooks for retried tests (#24484) 2023-09-11 09:58:01 -03:00
api MM-53764 - Fix: Improve limits on Opengraph Data Cache (#24177) 2023-08-17 18:23:39 -04:00
e2e-tests MM-54404 : E2E tests for the Gif picker (#24486) 2023-09-13 11:58:35 +05:30
server [MM-54456] Fix potential read after write issue when loading license (#24524) 2023-09-13 14:47:12 -06:00
tools Bump Go version to v1.20 (#24439) 2023-09-07 13:06:18 +03:00
webapp MM-53524/MM-53525 Clean up post textbox measurement (#23973) 2023-09-13 18:05:43 -04:00
.editorconfig Move .editorconfig to repo root (#24398) 2023-08-30 16:29:07 -04:00
.gitignore [MM-53840] Add migration workflow (#24211) 2023-08-16 10:09:11 +03:00
.gitlab-ci.yml Bump Go version to v1.20 (#24439) 2023-09-07 13:06:18 +03:00
.gitpod.yml Add .gitpod.yml to use mattermost-gitpod-config repo for Gitpod configuration (#19984) 2022-04-14 11:02:50 -04:00
.nvmrc MM-53989 Upgrade to Node 18 and NPM 9 (#24283) 2023-08-28 14:37:05 -04:00
CHANGELOG.md Changelog link (#8805) 2018-05-30 10:23:25 -04:00
CODEOWNERS Add CODEOWNERS for migrations (#23020) 2023-04-19 20:01:50 +05:30
CONTRIBUTING.md Remove outdated information from contributing file (#10749) 2019-05-01 23:46:00 +02:00
LICENSE.txt update LICENSE.txt (#22659) 2023-03-27 10:54:06 -03:00
NOTICE.txt Update NOTICE.txt (#24119) 2023-08-11 01:57:32 +03:00
README.md Update README.md: Try cloud instead of use (#24242) 2023-08-10 11:22:01 -07:00
SECURITY.md MM-41988 Updated links to legacy domain about.mm.com (#19552) 2022-03-16 19:47:57 +08:00

Mattermost

Mattermost is an open source platform for secure collaboration across the entire software development lifecycle. This repo is the primary source for core development on the Mattermost platform; it's written in Go and React and runs as a single Linux binary with MySQL or PostgreSQL. A new compiled version is released under an MIT license every month on the 16th.

Deploy Mattermost on-premises, or try it for free in the cloud.

mattermost-hero

Learn more about the following use cases with Mattermost:

Other useful resources:

Table of contents

Install Mattermost

Other install guides:

Native mobile and desktop apps

In addition to the web interface, you can also download Mattermost clients for Android, iOS, Windows PC, macOS, and Linux.

Google Play App Store Windows PC Mac OSX Linux

Get security bulletins

Receive notifications of critical security updates. The sophistication of online attackers is perpetually increasing. If you're deploying Mattermost it's highly recommended you subscribe to the Mattermost Security Bulletin mailing list for updates on critical security releases.

Subscribe here

Get involved

Learn more

License

See the LICENSE file for license rights and limitations.

Get the latest news

Contributing

Please see CONTRIBUTING.md. Join the Mattermost Contributors server to join community discussions about contributions, development, and more.