canvas-lms/jest
Jeff Largent a2a795a823 Make K-5 Dashboard tabs sticky
Update the K-5 Dashboard tabs so they will stay fixed to the top of
the viewport when the user scrolls. Also added some logic to shrink
the "Welcome, <student>!" message at the top of the tabs when
scrolling so as to not take up too much vertical space.

closes LS-1862
flag = canvas_for_elementary

Test plan:
  - Load the K-5 dashboard as a student
  - Scroll down on the Homeroom tab (either enroll in a bunch of
    courses or make the window small so that scrolling is possible)
  - Expect the tabs to be fixed to the top of the screen and the
    welcome message to shrink to what looks like an h2
  - Scroll back to the top of the screen and expect the welcome
    message to enlarge back to the look of an h1
  - Switch to the Schedule tab
  - Scroll back in time to load more events
  - Expect the tabs to be fixed to the top of the screen and more
    events to be loaded
  - Also expect the planner view to still be centered on "Today",
    rather than the events from the past

Change-Id: If8b2297b0d1b05135a9b635588a6e8f7ac275c21
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/258657
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Product-Review: Peyton Craighill <pcraighill@instructure.com>
Reviewed-by: Nate Armstrong <narmstrong@instructure.com>
QA-Review: Nate Armstrong <narmstrong@instructure.com>
2021-02-16 16:07:01 +00:00
..
coffeeTransformer.js Upgrade to babel 7 & allow any js file to be themeable 2019-04-02 14:59:20 +00:00
handlebarsTransformer.js spec: fix handlebars transform for jest tests 2019-09-05 15:03:54 +00:00
i18nTransformer.js Remove add-module-exports babel plugin & use esModules 2019-05-03 22:49:58 +00:00
imageMock.js Make core translations and svg imports available in jest 2018-11-29 16:09:47 +00:00
jest-setup.js Make K-5 Dashboard tabs sticky 2021-02-16 16:07:01 +00:00