Skip to content

Frontend Routes

Dillon Rice edited this page Apr 27, 2020 · 12 revisions

Frontend Routes

Our components are organized as follows

  • Root
    • App
      • Search Bar (header)
      • Menu
        • StaticNav
          • link to Mentions & Reactions, link to ChannelIndex, link to People
        • 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
    • /:user_id/:conversation_id/details/info
      • Display user/channel Info in right side panel (DM - shows opposite user info, Channel shows Topic/description)
    • /:user_id/:conversation_id/details/members
      • shows the Members of the conversation - channel and group messages only
  • /:user_id/mentions_reactions
    • @User Mentions and Reactions asc by date
  • /:user_id/people
    • UserIndex
  • /:user_id/browse_channels
    • ChannelIndex
Clone this wiki locally