Go to file
Ed Schiebel 4f65397a90 Smoothly scroll to today with lots of due items
scroll-to-today includes the height of the today element in the offset
pased to animator.scrollTo, to be sure today's date is included on
screen when today's item is focused. When the today element was the
whole Grouping, and there are many items due today, this caused
problems.  The fix is to include just the <h2> that holds today's date
in the offset.

fixes ADMIN-1021

test plan:
  - create 9 items due today
  - scroll Today out of the visible area
  - click Today
  > expect the planner to smoothly scroll Today into view and focus one
  > of today's items (it should be the first one, but that will get
  > addressed in the ticket that controls fixes ordering)

Change-Id: I32fc13de3e5fd3f1f8ba3cf89396b95817ae3f3d
Reviewed-on: https://gerrit.instructure.com/149494
Tested-by: Jenkins
Reviewed-by: Dan Minkevitch <dan@instructure.com>
QA-Review: Deepeeca Soundarrajan <dsoundarrajan@instructure.com>
Product-Review: Ed Schiebel <eschiebel@instructure.com>
2018-05-08 20:27:37 +00:00
Gemfile.d spec: Version bump for pact 2018-05-07 23:07:37 +00:00
app Block OG editing moderated/ungraded assignments 2018-05-08 19:42:29 +00:00
bin upgrade pact, allow native live events contract testing 2018-05-02 15:15:06 +00:00
build update bundler in Dockerfiles 2018-04-23 20:47:34 +00:00
client_apps Remove a couple explicit keys to make i18n refactor easier 2018-04-25 20:00:15 +00:00
config update nn translation 2018-05-07 05:57:18 -06:00
db/migrate support arbitrary login_attribute for SAML providers 2018-05-08 17:16:47 +00:00
doc Allow linking of outcomes with nil values. 2018-04-30 15:20:22 +00:00
docker-compose update js-tests to node 8 and fix cmd 2018-04-06 17:46:58 +00:00
frontend_build removed unused webpack code 2018-05-02 16:36:12 +00:00
gems Hide points in outcomes reports when necessary 2018-05-02 21:54:48 +00:00
jest let jest know about some of our aliases 2018-01-12 19:16:18 +00:00
lib use pause variables between parallel importers 2018-05-07 23:08:09 +00:00
packages Smoothly scroll to today with lots of due items 2018-05-08 20:27:37 +00:00
pact/consumer spec: PACT WIP creating User token and our first passing specs! 2018-03-14 14:45:59 +00:00
public Get slickGrid to work in RTL 2018-04-30 21:20:54 +00:00
script Fix script/uncache-packages to work on macs 2018-05-01 18:59:10 +00:00
spec Block OG editing moderated/ungraded assignments 2018-05-08 19:42:29 +00:00
.babelrc add babel-plugin-transform-runtime for smaller JS 2017-10-12 14:35:46 +00:00
.bowerrc introduced bower to manage js dependencies 2013-12-13 17:45:57 +00:00
.codeclimate.yml disable ESLint in code climate 2017-02-14 17:47:39 +00:00
.dockerignore fix canvas-planner docker build process 2018-04-17 14:44:18 +00:00
.editorconfig Add EditorConfig configuration file to help maintain code style 2016-11-15 20:08:55 +00:00
.eslintignore ignore AmbiguousBlockAssociation for specs 2018-02-12 18:37:09 +00:00
.eslintrc.js Fix eslint 2018-05-03 23:18:43 +00:00
.gitignore drop rails 5.0 2018-03-20 19:50:23 +00:00
.i18nignore bump rails 3 to github branch for ruby 2.2 compatibility 2015-02-18 22:55:20 +00:00
.i18nrc upgrade to node 6 2016-08-09 23:37:07 +00:00
.jshintrc make jslint settings more sane 2012-08-17 11:04:40 -06:00
.npmrc fix brand config previewing and skipping 2015-10-27 16:16:15 +00:00
.nvmrc Use node 8.10.0 instead of 8.9.4 2018-03-09 18:56:22 +00:00
.prettierrc Add .prettierrc so it matches our existing code 2017-11-03 16:21:50 +00:00
.rubocop.yml don't care about this cop 2018-04-25 20:14:29 +00:00
.selinimumignore Revert and bring InstIcons into Canvas 2016-11-29 20:52:54 +00:00
.stylelintrc stylelint, refs SD-1603 2016-10-25 00:21:16 +00:00
.travis.yml more travis builds 2014-02-10 16:23:19 +00:00
CONTRIBUTING.md Add CLA FAQ from legal 2018-01-22 16:41:44 -05:00
COPYRIGHT Initial commit. 2011-01-31 18:57:29 -07:00
Dockerfile update bundler in Dockerfiles 2018-04-23 20:47:34 +00:00
Dockerfile-production update bundler in Dockerfiles 2018-04-23 20:47:34 +00:00
Gemfile allow choosing rails 5.1 via consul 2017-10-11 19:13:02 +00:00
LICENSE Initial commit. 2011-01-31 18:57:29 -07:00
README.md Update README.md since Canvas is still modern 2016-12-15 03:18:28 +00:00
Rakefile remove dead parallelized specs task 2016-11-10 21:41:08 +00:00
bower.json use node_modules wherever possible 2016-11-01 15:14:52 +00:00
code_of_conduct.md contributor code of conduct 2014-12-23 18:13:59 +00:00
config.ru remove extra logging to debug Passenger connection orphan issue 2017-07-14 16:27:03 +00:00
docker-compose.jenkins.yml Rename docker-compose.test.yml 2017-05-17 18:51:53 +00:00
docker-compose.override.yml upgrade yarn to 1.6.0 2018-04-19 20:31:06 +00:00
docker-compose.yml Use redis:alpine 2017-07-31 22:31:40 +00:00
gulpfile.js speed up font loading stuff a bit 2018-05-03 19:44:27 +00:00
issue_template.md Make issue template disclaimer a comment 2018-05-01 15:00:27 +00:00
jest.config.js spec: restrict jest filename matching 2018-03-06 20:24:50 +00:00
karma.conf.js speed up JS tests by running them concurrently 2018-01-16 19:32:28 +00:00
package.json Upgrade InstUI to 5.7.0 from 5.4.1-dev.1 2018-05-08 14:39:13 +00:00
schema.graphql fix context cards for concluded users 2018-05-01 17:18:45 +00:00
webpack.config.js don't pass frontend build files through babel 2016-11-08 20:29:29 +00:00
webpack.production.config.js a couple uglifyJS settings to make prod debugging easier 2018-05-03 19:52:15 +00:00
webpack.test.config.js speed up JS tests by running them concurrently 2018-01-16 19:32:28 +00:00
yarn.lock Upgrade InstUI to 5.7.0 from 5.4.1-dev.1 2018-05-08 14:39:13 +00:00

README.md

Canvas LMS

Canvas is a modern, open-source LMS developed and maintained by Instructure Inc. It is released under the AGPLv3 license for use by anyone interested in learning more about or using learning management systems.

Please see our main wiki page for more information

Installation

Detailed instructions for installation and configuration of Canvas are provided on our wiki.