-
Notifications
You must be signed in to change notification settings - Fork 1
Frontend Routes
Dillon Rice edited this page Apr 27, 2020
·
12 revisions
Our components are organized as follows
-
Root
-
App
-
Search Bar
(header) -
Menu
-
StaticNav
- link to
Mentions & Reactions
, link toChannelIndex
, link toPeople
- link to
ChannelList
DirectMessages
-
- Main chat component
- Right side
Panel
-
-
The following routes, defined in App
, will render components to the right of the left Menu
-
/
Splash
-
/login
SessionForm
-
/signup
SessionForm
-
/:user_id/:conversation_id
- path to channel/direct message/group message
TitleHeader
DayDivider
-
Message
-
MessageHeader
including user avatar, author display name, time the message was sent
-
TextInput
-
/:user_id/:conversation_id/details/top
- Open right side
Panel
-
/:user_id/:conversation_id/details/playlist
- Channel
Playlist
in right side panel
- Channel
-
/:user_id/:conversation_id/details/info
- Display user/channel
Info
in right side panel (DM - shows opposite user info, Channel shows Topic/description)
- Display user/channel
-
/:user_id/:conversation_id/details/members
- shows the
Members
of the conversation - channel and group messages only
- shows the
- Open right side
-
/:user_id/mentions_reactions
- @User
Mentions
andReactions
asc by date
- @User
-
/:user_id/people
UserIndex
-
/:user_id/browse_channels
ChannelIndex