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)
1 year ago
..
NavBarV2 regression: New Navigation tweaks (#32813) 1 year 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) 1 year 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) 1 year ago
lib fix: Blocked login when dismissed 2FA modal (#32482) 1 year 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) 1 year ago
omnichannel refactor(client): Remove usage of `React.FC` type (#32760) 1 year ago
polyfills refactor(uikit): uikit interactions (#30534) 2 years ago
portals fix: Blocked login when dismissed 2FA modal (#32482) 1 year ago
providers chore(ui-contexts): `useGoToRoom` (#32817) 1 year ago
sidebar fix: remove hide option on omnichannel conversations (#32691) 1 year ago
sidebarv2 regression: New Navigation tweaks (#32813) 1 year ago
startup feat(E2EE): Async E2EE keys exchange (#32197) 2 years ago
stories refactor(client): Remove usage of `React.FC` type (#32760) 1 year ago
uikit/hooks feat(uikit): Move `@rocket.chat/ui-kit` package to the main monorepo (#31138) 2 years ago
views regression: New Navigation tweaks (#32813) 1 year ago
voip chore: move all webclient code out of the COSS folders (#32273) 2 years ago
README.md First move to monorepo 4 years ago
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