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
Aleksander Nicacio da Silva eaf926610b
feat: Ban user UI (#39678)
2 days ago
..
apps refactor: Remove global references to `Tracker` (#39308) 3 weeks ago
cachedStores fix: Missing ABAC Icons on sidebar items (#39054) 2 weeks ago
components refactor: `useGoToRoom` hook (#39540) 4 days ago
contexts refactor: Phase-out async state API (#37944) 2 months ago
definitions chore: Purge and rename removed v1 files (#37912) 3 months ago
hooks feat: Ban user UI (#39678) 2 days ago
lib feat: Ban user UI (#39678) 2 days ago
meteor refactor: Remove global references to `Meteor` (#39316) 3 weeks ago
navbar refactor: `useGoToRoom` hook (#39540) 4 days ago
portals refactor(eslint): Enable `react/no-children-prop` (#38170) 2 months ago
providers feat: Voice Call - Native Screen Sharing (#37922) 3 days ago
router chore: Add `getPreviousRouteName` to `RouterContext` (#37752) 3 months ago
sidebar refactor(ui-client): Move `useThemeMode` (#39348) 1 week ago
startup chore!: Remove MeetPage and webRTC (#36671) 3 months ago
stores fix: Remove the delay of waiting on event on WS to consider a message sent (#38067) 2 months ago
stories refactor(eslint): Enable `react/no-children-prop` (#38170) 2 months ago
uikit/hooks chore(eslint): Consistent type imports/exports (#39341) 2 weeks ago
views feat: Ban user UI (#39678) 2 days ago
README.md
importPackages.ts feat: Ban user UI (#39678) 2 days ago
main.ts chore!: remove `ecdh` (#37123) 3 months ago
serviceWorker.ts
ui.ts feat: Ban user UI (#39678) 2 days 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