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
csuadev e9fae8e4db
fix: remove hide option on omnichannel conversations (#32691)
2 years ago
..
NavBarV2 regression: New Navigation tweaks (#32813) 2 years ago
apps chore: move all webclient code out of the COSS folders (#32273) 2 years ago
components fix: Blocked login when dismissed 2FA modal (#32482) 2 years ago
contexts chore: move all webclient code out of the COSS folders (#32273) 2 years ago
definitions feat: Improve Retention Policy Warning and Callout messages (#32579) 2 years ago
hooks fix: Client crashing on firefox private window (#32807) 2 years ago
lib fix: Blocked login when dismissed 2FA modal (#32482) 2 years ago
meteorOverrides Revert "fix!: api login should not suggest which credential is wrong" (#32156) 2 years ago
methods fix: Moderators with `Bypass Time limits` permission cannot edit messages (#32376) 2 years ago
navbar refactor(client): Remove usage of `React.FC` type (#32760) 2 years ago
omnichannel refactor(client): Remove usage of `React.FC` type (#32760) 2 years ago
polyfills
portals fix: Blocked login when dismissed 2FA modal (#32482) 2 years ago
providers chore(ui-contexts): `useGoToRoom` (#32817) 2 years ago
sidebar fix: remove hide option on omnichannel conversations (#32691) 2 years ago
sidebarv2 regression: New Navigation tweaks (#32813) 2 years ago
startup feat(E2EE): Async E2EE keys exchange (#32197) 2 years ago
stories refactor(client): Remove usage of `React.FC` type (#32760) 2 years ago
uikit/hooks
views regression: New Navigation tweaks (#32813) 2 years ago
voip chore: move all webclient code out of the COSS folders (#32273) 2 years ago
README.md
ecdh.ts chore: move all webclient code out of the COSS folders (#32273) 2 years ago
importPackages.ts chore: move all webclient code out of the COSS folders (#32273) 2 years ago
main.ts regression(E2EEncryption): Service Worker not installing on first load (#32674) 2 years ago
serviceWorker.ts regression(E2EEncryption): Service Worker not installing on first load (#32674) 2 years ago
ui.ts feat: E2EE room setup header (#32446) 2 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