Files
mostlymatter/webapp
Harrison Healey 14fd5c8168 Remove some usage of changeCss and some unused CSS (#25049)
* Inline .more-modal__gm-icon background

* Remove superceded .user-popover__role background

* Inline .svg-text-color fill

* Inline .multi-select__note background

* Remove superceded .status--group background rule

* Split rules

* Remove unused .modal-tabs rule and CSS

* Inline .system-notice border-color rule

* Inline .image-loaded border-color

* Remove superceded .dropdown-menu button border-color

* Removed unused .member-list__popover rules and CSS

* Inline .alert-transparent border-color

* Inline .access-history-modal .table border-color

* Inline .post-list__arrows fill

* Inline .card-icon__container color

* Inline .post-image__download svg border-color and stroke

* Split rules

* Remove unused .channel-header__links rules and CSS

* Remove unused .usage__icon rule and CSS

* Remove unused .more-modal__header rule

* Remove unused .icon--body rule

* Inline .post-menu border-color

* Remove unused .post-waiting rule and CSS

* Inline .post__body color

* Split rules

* Inline .nav-tab color

* Inline .input-group-addon color

* Inline .app_content color rule

* Remove unused .post-create-body rule and CSS

* Inline .msg-typing color

* Inline .dropdown-menu color

* Inline .popover color

* Remove superceded .suggestion-list__main color

* Remove .tip-overlay rule and unused _tutorial.scss

* Inline .form-control disabled and readonly color

* Inline fieldset[disabled] color

* Inline .post__link color

* Remove unused #archive-link-home rule and CSS

* Remove unused .video-thumbnail__error rule and CSS

* Inline #post-create color

* Remove unused .mentions--top rules

* Inline .system-notice box-shadow and remove unneeded .shadow--2 rules

* Split rules

* Inline .shortcut-key background rule

* Remove superceded .post__body hr background rule

* Inline .loading__content .round background-color

* Inline .tutorial__circles .circle background-color

* Inline .channel-header .heading color

* Update missed snapshots

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-10-25 16:53:46 -04:00
..
2023-08-10 15:23:54 -03:00
2023-03-22 17:22:27 -04:00

Mattermost Web App

This folder contains the client code for the Mattermost web app. It's broken up into multiple packages each of which either contains an area of the app (such as playbooks) or shared logic used across other packages (such as the packages located in the platform directory). For anyone who's used to working in the mattermost/mattermost-webapp repo, most of that is now located in channels.

npm Workspaces

To interact with a workspace using npm, such as to add a dependency or run a script, use the --workspace (or --workspaces) flag. This can be done when using built-in npm commands such as npm add or when running scripts. Those commands should be run from this directory.

# Add a dependency to a single package
npm add react --workspace=playbooks

# Build multiple packages
npm run build --workspace=platform/client --workspace=platform/components

# Test all workspaces
npm test --workspaces

# Clean all workspaces that have a clean script defined
npm run clean --workspaces --if-present

To install dependencies for a workspace, simply run npm install from this folder as you would do normally. Most packages' dependencies will be included in the root node_modules, and all packages' dependencies will appear in the package-lock.json. A node_modules will only be created inside a package if one of its dependencies conflicts with that of another package.