Skip to content

Challenge Modal Components

Josh Schwartzman edited this page May 27, 2020 · 3 revisions
<ChallengeModal />
  // ChallengeTitle
  <ChallengeTabs />
  <ChallengeModalContent> // Likely connected to uiStore, so we can return to the correct tab state
    <SubmissionsSettings />
    <PhasesSettings />
    <PeopleSettings />
    <ChallengeTopics />
    <ChallengeStyles />
  </ChallengeModalContent>
</ChallengeModal>

<SubmissionsSettings>
  <SubmissionBoxSettings />
  <SubmissionBoxSettings />
  <SubmissionBoxSettings />
    () => click to edit submission box format,
          which shows a new modal.
          Returns to either submission box or challenge editing.
</SubmissionsSettings>

<PhasesSettings>
  <PhaseCollectionSettings />
  <PhaseCollectionSettings />
  <PhaseCollectionSettings />
  <PhaseCollectionSettings />
  <CreatePhaseCollection />
</PhasesSettings>

<PhaseCollectionSettings>
  <CollectionTitleEditor /> // Existing component?
  <CollectionDatePicker />
</PhaseCollectionSettings/>

<PeopleSettings>
  <CollectionSharingOptions /> // Existing Component
  <GroupRow /> // Existing component, have to add functionality to display avatar
    () => tell uistore to open group editing modal
          and return to current challenge modal tab
</PeopleSettings>

<ChallengeTopics>
  <TagEditor /> // existing component
</ChallengeTopics>

<ChallengeStyles>
  <StyleTileEditor /> // Need to make this a generic component
  <StyleTileEditor />
  <StyleTileEditor />
<ChallengeStyles />

Clone this wiki locally