1. 30 Jun, 2020 2 commits
  2. 26 Jun, 2020 1 commit
  3. 25 Jun, 2020 2 commits
  4. 24 Jun, 2020 1 commit
    • eharkins's avatar
      fix 1176; · 02c8b980
      eharkins authored
      see github.com/nextstrain/auspice/issues/1176#issuecomment-649097216
  5. 23 Jun, 2020 1 commit
  6. 22 Jun, 2020 1 commit
  7. 18 Jun, 2020 5 commits
  8. 16 Jun, 2020 1 commit
    • james hadfield's avatar
      Add a narratives snapshot test · a9a60cd4
      james hadfield authored
      This builds on our previous efforts to develop snapshot testing (not being run automatically at the moment). Here we dynamically compare snapshots for each page within a test-narrative. This code may be refactored so that we can easily test a wide range of narratives in this fashion.
      Changes to the content of the narrative, including the addition of slides, should cause this test to fail, however the screenshots can be regenerated (see DEV_DOCS) without the need to modify the test script itself.
  9. 15 Jun, 2020 2 commits
    • james hadfield's avatar
      Move to storing test narratives in the auspice repo · b2a347a6
      james hadfield authored
      This commit signifies a shift to storing a set of narrative files in this repo, as opposed to obtaining the nextstrain.org narratives via a script.
      The Nextstrain.org narratives are still obtainable (they are all stored in their own github repo) and the docs have been updated to show this.
      By storing and maintaining "test narratives" in the auspice repo we can both provide examples of the capability of narratives and use them to test functionality and fix bugs. As the are stored in the `narratives` directory, they are available via Nextstrain Community URLs at nextstrain.org/community/narratives/nextstrain/auspice/...
    • james hadfield's avatar
      Merge pull request #1169 from nextstrain/narratives-color-change-bug · dd5e458a
      james hadfield authored
      [bugfix] allow narratives to simultaneously zoom and change color
  10. 14 Jun, 2020 2 commits
    • james hadfield's avatar
      [bugfix] allow narratives to simultaneously zoom and change color · e301e7cb
      james hadfield authored
      This fixes a bug where a narrative slide-change requests that the tree both zoom and change color.
      This was introduced by 0639da85 which, as part of the (now disabled) push for SVG gradient rendering of branches, moved the d3 call to update the stroke (branch color) into a separate code block, in order that it can behave differently for "T" and "S" parts of a branch. This code-block is not run when the tree zooms (that is the bug).
      Here we partially revert that commit. This should be revisited when we re-enable SVG gradients.
    • james hadfield's avatar
      Merge pull request #1166 from nextstrain/allowed-node-versions · b68296bd
      james hadfield authored
      Relax requirement for nodejs 10.8. Closes #1161.
  11. 11 Jun, 2020 1 commit
  12. 10 Jun, 2020 1 commit
  13. 09 Jun, 2020 3 commits
  14. 07 Jun, 2020 4 commits
  15. 06 Jun, 2020 5 commits
  16. 05 Jun, 2020 1 commit
  17. 04 Jun, 2020 2 commits
    • james hadfield's avatar
      Cast all branch labels to strings · 40cb5f3e
      james hadfield authored
      This addresses a long-standing bug in auspice and closes #888. Casting branch labels to strings doesn't change how the labels render, but does allow restoration of zoom state via URL queries which always use strings.
    • james hadfield's avatar
      Keep sources of the root of the zoomed-subtree in sync. Closes #1139 · e288c6d8
      james hadfield authored
      We keep track of the root-node of the currently selected subtree within auspice via two pieces of state: `idxOfInViewRootNode` (redux state) and `zoomNode` (phylotree state). They were out-of-sync when loading a tree in a zoomed state, which resulted in the inability to zoom out via clicking on a basal branch. This commit fixes this bug. It would be better to only store this state in one place.
  18. 03 Jun, 2020 3 commits
  19. 02 Jun, 2020 2 commits