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
Martin Schoeler a080c805ba
regression: revert thread messages endpoint usage (#40913)
1 day ago
..
apps refactor: replace useEffectEvent with useStableCallback in various hooks and components (#40824) 4 days ago
cachedStores fix: `abacAttributes` reactivity (#40499) 1 month ago
components chore(storybook): Upgrade Storybook (#40871) 1 day ago
contexts feat(apps): Migrate app management code from @rocket.chat/apps-engine to @rocket.chat/apps internal package (#40343) 1 month ago
definitions refactor: incrementally remove Meteor deps from the frontend (#40268) 1 month ago
hooks refactor: Odd React hooks (#40865) 4 days ago
lib fix: `description` being used as alternative text for images (#40839) 2 days ago
meteor regression: redirect to login when stored token is expired (#40870) 3 days ago
navbar refactor: Odd React hooks (#40865) 4 days ago
portals refactor: replace ReactElement type annotations with ReactNode in components (#40816) 5 days ago
providers refactor: Odd React hooks (#40865) 4 days ago
router refactor(client): centralize __meteor_runtime_config__ access (#40487) 1 month ago
sidebar chore(storybook): Upgrade Storybook (#40871) 1 day ago
startup regression: redirect to login when stored token is expired (#40870) 3 days ago
stores fix: Remove the delay of waiting on event on WS to consider a message sent (#38067) 5 months ago
stories chore(storybook): Upgrade Storybook (#40871) 1 day ago
uikit/hooks refactor: replace useEffectEvent with useStableCallback in various hooks and components (#40824) 4 days ago
views regression: revert thread messages endpoint usage (#40913) 1 day ago
README.md
importPackages.ts refactor(client): remove legacy streamerCentral, migrate user-presence to sdk.onAnyStreamEvent (#40542) 4 weeks ago
main.ts chore(@rocket.chat/ddp-client): introduce experimental Meteor independent DDP client (re-add) (#40430) 1 month 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