canvas-lms/spec
Jackson Howe d76bcb8f3c Show account events in important dates sidebar
Make account calendar events marked as important dates appear in the
important dates sidebar. These events will have the default color (very
dark gray). Also includes these calendar contexts in the context modal
if the number of contexts is greater than the max that can be shown at
once.

closes LS-3958
flag = none

Test plan:
 - As an admin, make some account calendar events and mark some as
   important dates
 - As a k5 student, subscribe to the account calendar and go to the
   dashboard.
 - Expect to see the important dates events present in the sidebar
 - In a rails console, find your root account, then run:
   account.settings[:calendar_contexts_limit] = 3
   account.save!
 - As a student on the dashboard, click the settings button in the
   important dates sidebar
 - Expect the account context(s) to appear
 - Select/deselect the account context(s) and expect the events
   displayed in the sidebar to update appropriately.

Change-Id: I26064b29984587803c1d58d507234d7ad6415d6d
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/316668
Reviewed-by: Luis Oliveira <luis.oliveira@instructure.com>
QA-Review: Luis Oliveira <luis.oliveira@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Product-Review: Jackson Howe <jackson.howe@instructure.com>
2023-04-24 17:53:47 +00:00
..
apis don't allow grading of students not assigned 2023-04-20 15:50:03 +00:00
coffeescripts use lodash in spec 2023-04-17 16:40:27 +00:00
contracts rubocop: prep for updating rubocop-rails 2023-04-14 14:07:22 +00:00
controllers Show account events in important dates sidebar 2023-04-24 17:53:47 +00:00
factories always clear user session between tests 2023-04-12 21:11:23 +00:00
factory_bot RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
fixtures don't fail integrity_check when md5 is missing (local/s3) 2023-02-04 16:57:08 +00:00
formatters rubocop: Style/FileRead, Style/FileWrite 2023-04-10 20:57:32 +00:00
gem_integration/canvas_connect RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
graphql Integrate OSA helper with Outcome Alignment loader 2023-04-20 16:24:26 +00:00
helpers rubocop: prep for updating rubocop-rails 2023-04-14 14:07:22 +00:00
initializers rubocop: prep for updating rubocop-rails 2023-04-14 14:07:22 +00:00
integration rubocop: prep for updating rubocop-rails 2023-04-14 14:07:22 +00:00
javascripts Coalesce toQueryString and query-string-encoding 2023-04-21 23:49:13 +00:00
lib change live event not to trigger message without conversation 2023-04-20 19:57:48 +00:00
manual_seeding rubocop: Style/TernaryParentheses, Style/RedundantParentheses 2023-04-12 14:56:48 +00:00
messages rubocop: prep for updating rubocop-rails 2023-04-14 14:07:22 +00:00
migrations rubocop: prep for updating rubocop-rspec 2023-04-12 19:30:10 +00:00
models Show account events in important dates sidebar 2023-04-24 17:53:47 +00:00
observers rubocop: prep for updating rubocop-rails 2023-04-14 14:07:22 +00:00
presenters rubocop: prep for updating rubocop-rspec 2023-04-12 19:30:10 +00:00
requests rubocop: prep for updating rubocop-rails 2023-04-14 14:07:22 +00:00
schemas/lti rubocop: prep for updating rubocop-rspec 2023-04-12 19:30:10 +00:00
selenium Override hide_points on RubricAssociation when RQD 2023-04-18 21:46:24 +00:00
serializers rubocop: prep for updating rubocop-rails 2023-04-14 14:07:22 +00:00
services rubocop: prep for updating rubocop-rails 2023-04-14 14:07:22 +00:00
shared_examples rubocop: prep for updating rubocop-rspec 2023-04-12 19:30:10 +00:00
support switch to native pg12 collation for ICU sorting 2023-04-12 17:18:46 +00:00
views Don't cache translated string in course settings 2023-04-20 19:03:36 +00:00
.eslintrc
.rspec_parallel
ams_spec_helper.rb Kill require_dependency 2023-01-09 19:51:01 +00:00
broadcast_integration.rb
canvas_simplecov.rb Repair canvas coverage 2022-01-05 17:55:26 +00:00
cassandra_spec_helper.rb Remove auditor cassandra support 2023-04-03 15:40:22 +00:00
conditional_release_spec_helper.rb Move Mastery Path to an account/course setting 2022-04-13 22:26:57 +00:00
coverage_tool.rb Repair canvas coverage 2022-01-05 17:55:26 +00:00
factories.rb Stop leaking siteadmin ids from spec setup 2022-02-25 23:11:11 +00:00
factory_bot_spec_helper.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
feature_flag_helper.rb RuboCop: Performance 2021-11-17 20:03:38 +00:00
file_upload_helper.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
force_failure_spec.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
import_helper.rb rubocop: Style/FileRead, Style/FileWrite 2023-04-10 20:57:32 +00:00
jspec.sh Improve Karma test loading 2022-10-12 18:23:35 +00:00
lti2_course_spec_helper.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
lti2_spec_helper.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
lti_1_3_spec_helper.rb rubocop: update to 1.49 2023-04-12 19:27:56 +00:00
lti_1_3_tool_configuration_spec_helper.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
lti_spec_helper.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
plagiarism_platform_spec_helper.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
quiz_spec_helper.rb
rcov.opts
rspec_mock_extensions.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
sharding_spec_helper.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
simple_cov_result_merger.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
spec.opts
spec_helper.rb rubocop: prep for updating rubocop-rails 2023-04-14 14:07:22 +00:00