Skip to content

Global nav

Marcia Ramos requested to merge global-nav into master

REVIEW APP: http://global-nav.178.62.207.141.xip.io/ce/README.html

MVC:

  • Create the global nav
  • Make it work on mobile (hidden on mobile ATM)
  • BE review (just double check)
  • FE review

FOR FE review:

  • When we scroll down the nav, when it finishes scrolling, the page starts scrolling the content. Fix this to simply when the nav stops scrolling, just stop right there.
  • Try to fix buggy ToC toggle (note that it's displayed only on mobile):
    • the first click doesn't collapse it
    • on the next clicks, there's a brief (weird) pause when the div is collapsing

PREVIEWING IT LOCALLY:

    1. Open a terminal in CE:
    • git pull
    • git checkout docs-add-global-nav
    1. Open a terminal in gitlab-docs:
    • git pull
    • git checkout global-nav
    • bundle install (to update the gems)
    • bundle exec nanoc compile
    • bundle exec nanoc live
    1. Preview at http://localhost:3000/ce/README.html

BEFORE MERGING:

  • Transfer <%= render '/global_nav.*' %> to default doc and delete default-copy
  • Revert .gitlab-ci.yml to branch master
Edited by Marcia Ramos

Merge request reports