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
ergot-rp 5906dac839
fix(a11y): Added inline error to Enter E2EE password modal (#36350)
2 months ago
..
apps refactor: incrementally remove Meteor deps from the frontend (#40268) 2 months ago
cachedStores fix: Missing ABAC Icons on sidebar items (#39054) 4 months ago
components Merge remote-tracking branch 'origin/master' into develop 2 months ago
contexts refactor: Phase-out async state API (#37944) 5 months ago
definitions refactor: incrementally remove Meteor deps from the frontend (#40268) 2 months ago
hooks regression: timezone field blank for legacy aliases (#40305) 2 months ago
lib fix(a11y): Added inline error to Enter E2EE password modal (#36350) 2 months ago
meteor refactor: incrementally remove Meteor deps from the frontend (#40268) 2 months ago
navbar feat(a11y): Bring keyboard shortcuts to a global context (#40169) 2 months ago
portals refactor(eslint): Enable `react/no-children-prop` (#38170) 5 months ago
providers Merge remote-tracking branch 'origin/master' into develop 2 months ago
router feat(a11y): Add anchor-based navigation with router-level scroll support (#36292) 2 months ago
sidebar feat: Sidebar draft group (#38225) 2 months ago
startup refactor: incrementally remove Meteor deps from the frontend (#40268) 2 months ago
stores fix: Remove the delay of waiting on event on WS to consider a message sent (#38067) 6 months ago
stories refactor(eslint): Enable `react/no-children-prop` (#38170) 5 months ago
uikit/hooks chore(eslint): Consistent type imports/exports (#39341) 4 months ago
views fix(a11y): Added inline error to Enter E2EE password modal (#36350) 2 months ago
README.md
importPackages.ts refactor: incrementally remove Meteor deps from the frontend (#40268) 2 months ago
main.ts chore!: remove `ecdh` (#37123) 6 months ago
serviceWorker.ts
ui.ts feat(a11y): Bring keyboard shortcuts to a global context (#40169) 2 months 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