Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-820

Static assets all live under ./static

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 1.7.0-dev
    • Component/s: Performance
    • None
    • 3
    • Iteration Icelandiccharr, Iteration Jalapeño

      This will improve the Windows installation experience in two ways:
      1. Installation assets to be decompressed before installation begins
      2. Installation assets trigger less activity like to be disrupted by a virus scanner

      • Make a new ./static directory
      • Move {{./src/app/ {images,styles}

        }} and HTML files into ./static

      • Update all image references in the app and hadron-build to point at ./static
      • Update hadron-build to write ./src/compiled-less to{{./static}}
      • Add ./static to the asar.upack option in hadron-build/commands/release.js (they don’t need to be packed)

      Also consider updating any timing code to use lucas.hrabovsky suggestion: https://github.com/nolanlawson/marky

      References

      If all goes well, this will negate https://jira.mongodb.org/browse/COMPASS-415

            Assignee:
            lucas.hrabovsky Lucas Hrabovsky (Inactive)
            Reporter:
            peter.schmidt Peter Schmidt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: