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
Tasso Evangelista 94bdfa0f97
refactor: Types of Meteor methods (7/N) (#28482)
3 years ago
..
UIKit/hooks Chore: Update ESlint rules of client code (#27427) 4 years ago
components chore: Remove invalid `aria-description` from list menus (#28471) 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: ddp streamer typings (#28437) 3 years ago
lib refactor: Types of Meteor methods (7/N) (#28482) 3 years ago
methods refactor: Types of Meteor methods (7/N) (#28482) 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) 4 years ago
providers chore: ddp streamer typings (#28437) 3 years ago
sidebar chore: Remove invalid `aria-description` from list menus (#28471) 3 years ago
startup refactor(client): Move banner orchestration to `BannerRegion` effects (#28414) 3 years ago
stories refactor: Types of Meteor methods (1/N) (#28420) 3 years ago
templateHelpers
views refactor: Types of Meteor methods (7/N) (#28482) 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) 4 years ago
importPackages.ts refactor(client): Move banner orchestration to `BannerRegion` effects (#28414) 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