The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/apps/meteor/client
Hugo Costa 1ed86566ee
Regression: Attachment auto size (#28332)
3 years ago
..
UIKit/hooks Chore: Update ESlint rules of client code (#27427) 3 years ago
components Regression: Attachment auto size (#28332) 3 years ago
contexts [NEW][EE] Omnichannel Priorities & SLAs (#27083) 3 years ago
definitions [NEW][EE] Omnichannel Priorities & SLAs (#27083) 3 years ago
hooks Chore: anonymous e2e test dispatch error (#28171) 3 years ago
lib Regression: Fix hasLicense failing due call stack limit reasons (#28304) 3 years ago
methods Regression: Formatted text rendered by UI Kit (#28060) 3 years ago
polyfills Chore: Refactor other kinds of message - Phase 2 (#27927) 3 years ago
portals Chore: Update ESlint rules of client code (#27427) 3 years ago
providers Regression: Attachment auto size (#28332) 3 years ago
sidebar [FIX] Search list missing key parameter (#28230) 3 years ago
startup Regression: Jump to message not working (#28163) 3 years ago
stories [BREAK] Update Meteor to 2.9 and NodeJS to 14.21.1 (#27639) 3 years ago
templateHelpers
views Regression: Attachment auto size (#28332) 3 years ago
.eslintrc.json [BREAK] Limit `underscore` usage and remove `underscore.string` (even from integration script sandboxes) (#28037) 3 years ago
README.md
head.html [FIX] CSS vars usage (#27107) 3 years ago
importPackages.ts Chore: Purge styles of the legacy `message` template (#28126) 3 years ago
main.ts [BREAK] Marketplace standalone page and app request flow (#27389) 3 years ago
templates.ts Chore: EmojiPicker Wrapper Styles (#28049) 3 years ago

README.md

How does the folder structure work in the frontend?

The folder structure should follow rocketchat's html 'semantics' like:

    main   -> room
                -> header
                    ...
                -> contextualbar
                    roominfo
                        ...
            -> sidebar
                -> Header
                    -> search
                    -> actions
                        ...
                -> list
                    ...
                -> footer
                    ...

Each folder is composed by:

File
index.jsx
ContainerComponent.jsx
contexts (optional)
providers (optional)
components (optional)
hooks (optional)
libs (optional)

We strongly suggest that you start developing your components/hooks/libs inside the folder where they will be directly used. If you ever find that you will use them in more than one place, then you should "promote" the code to an upper level, where it can be commonly accessed by all others

we have being moving code from blaze to react, but sometimes we will need render under blaze enviroment, to do that use createTemplateForComponent