-
Notifications
You must be signed in to change notification settings - Fork 0
Component Hierarchy
TmNguyen12 edited this page Nov 21, 2017
·
6 revisions
Component Hierarchy To be reviewed concurrently with Wireframes.
- Root
- App
- Navbar
- MainPage (all other Components are rendered inside here)
- App
- Banner
- SessionFormContainer
- SessionForm
- State:
session
- State:
- SessionForm
- Navigation Bar
- Components
- NavBar Links
- Personal Nav Links
- Components
- ProjectIndexContainer + ProjectIndex (main page area)
- ProjectIndexitem (thumbnails)
- State:
project[:id],user[:project_id],user[:id],ui
- State:
- ProjectIndexitem (thumbnails)
- ProjectViewContainer + ProjectView
- SideBarUserInfo
- SidebarProjectInfo
- State:
project[:id, :category, :media, :user_id, :views, :likes, :published_date, :name],user[:id, :name, :photo]
- State:
- SideBarMiscLinks
- CommentsInputComponent
- CommentsIndexContainer + CommentsIndex
- CommentsIndexItem
- State:
comment[:id, :user_id, :portfolio_id, :body, :date_time]
- State:
- CommentsIndexItem
- ProfileContainer
- ProfileInfo
- ProfileStats
- ProfileText
- State: `user[:id, :name, :myPortfolios, :followers, :following, :appreciations, :project_views, :about_me]
- ProfileIndexContainer + ProfileIndex
- ProfileIndexItems (thumbnails)
- State:
user[:id,:myPortfolios],portfolio[:id, :thumbnail, :name, :category, :views, :likes]
- State:
- ProfileIndexItems (thumbnails)