Page MenuHomePhabricator

Simple json model of the site
Closed, ResolvedPublic2 Estimated Story Points

Description

Make a simple json object model supporting the current wireframe design so we can work together and build a simple version of the prototype. Helpful for:

  • getting used to Vue
  • getting used to thinking about front-end work before we switch to full-speed dev next week

Event Timeline

I started work on this but got a little lost daydreaming about the site. Here's the abstract structure I've got so far, I'll keep working on it:

root<Dashboard>
    selectedWiki<Wiki>
    topicAreas<TopicArea[]>
    savedPreferences<Config>
    defaultConfiguration<Config>

Wiki
    project
    language

TopicArea
    name
    keyMetrics<Metric[]>

root<Metric>
    name
    definition
    researchLink
    topicArea<TopicArea>
    topic<Topic>
    context
        selectedWikis<Wiki[]>
    dimensions<Dimension[]>
    timespan<Timespan>

Topic
    metrics<Metric>

Metric
    name



Config
    dashboard
        selectedWiki
        topicAreas
            name
            keyMetrics
                order
                minimize (possible thought about compact mobile view)
        siteLanguage
    topics
        name
        questions
        metrics
        defaultMetric