-
Notifications
You must be signed in to change notification settings - Fork 0
Component Hierachy
jcompagni10 edited this page Nov 20, 2017
·
9 revisions
-
Root
-
App
NavBar
MainPage
Footer
-
-
NavBarContainer
- Components:
-
SessionButtonsContainer
+SessionButtons
- State:
session
- State:
-
NavDropdown
NavDropDown
NavDropDownItem
- State: n/a
- Path:
/#/dashboard/:mode
-
UserScore
UserScore
- State:
session.current_user[score]
-
NotificationsDropDown
//extra mvpNotificationsIndex
NotificationItem
- State:
session.current_user[notifications]
-
UserMenu
UserProfileInfo
UserScore
- State:
session.current_user[score]
,session.current_user[profile_pic]
,session.current_user[username]
-
- Components:
Note: All other components are rendered inside of MainPage
-
SessionFormContainer
- Components:
+
SessionForm
- Route:
/#/login
and/#/signup
- State:
errors.login
,errors.signup
- Components:
+
NavContainer
- Components:
-
NavItem
-
NavItemInfo1
&NavItemInfo2
-
-
- Route:
/#/dashboard
- State:
session.current_user[challenges_solved]
session.current_user[challenges_shortest]
session.current_user[bots_beaten]
session.current_user[lvls_beaten]
-
ArcadeSubNavContainer
- Components:
-
ArcadeSubNav
-
LevelSetIndex
+LevelSetIndexItem
-
-
- Route:
/#/arcade
- State:
entities.level_sets
,session.current_user
- Components:
-
BotSubNavContainer
- Components:
-
BotSubNav
-
BotIndex
+BotIndexItem
+BotStats
-
-
- Route:
/#/bots
- State:
entities.bots
- Components:
-
REPLContainer
- Components:
Score
Description
-
IDE
LanguageDropDown
CodeArea
-
TestsIndex
TestsIndexItem
- Route:
/#/:mode/repl/:taskId/:language
- State:
current_tests
,current_task
- Components: