Commit Graph

8 Commits

Author SHA1 Message Date
Sleyder Zuleta c4827e4144 add warning modal on course copy
added a warning modal on course copy process
to advise the user the grading scheme
should not be copy because is archived.

fixes EVAL-3918
flag=archived_grading_schemes

test plan:
- Go to database and set for one of grading standards
the workflow_state to archived
- change a course to use this archived grading scheme
setting the field grading_standard_id
- go to this course copy UI
- a modal with a warning should be displayed saying
the grading standard should be not copy
- Validate the modal can be closed and the copy process
works without problems

Change-Id: Ica85ff261776ef39b0743c08021addebad320201
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/339117
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Spencer Olson <solson@instructure.com>
Product-Review: Ravi Koll <ravi.koll@instructure.com>
Reviewed-by: Derek Williams <derek.williams@instructure.com>
Reviewed-by: Kai Bjorkman <kbjorkman@instructure.com>
2024-03-19 20:27:03 +00:00
Paul Gray ef232ca5a9 Scaffold LTI Extensions page
This commit adds a scaffolded FE for the LTI extensions page in Canvas

test plan:

Go to Admin -> Extensions and click between Manage/Discover to make sure
the routing works and reload pages to make sure the nested urls work.

Turn the lti_registrations_discover_page feature flag off to make sure
the page the discover page is not accessible, and then turn the
lti_registrations_page off to make sure the whole extensions view is
not accessible.

fixes: INTEROP-8515
flag=lti_registrations_page

Change-Id: I7d34b387d03a4bce66325a4791645c6502784b12
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/341783
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Steve Mcgee <steve.mcgee@instructure.com>
QA-Review: Steve Mcgee <steve.mcgee@instructure.com>
Product-Review: Paul Gray <paul.gray@instructure.com>
2024-03-06 21:56:43 +00:00
alvaro.talavera 83c6496f35 Fix Module Header when there are no modules
closes LF-1331

flag=instui_header

test plan:
- go to the modules page
- test with a course with no modules
- test with a course with modules
- button expand/collapse should not appear when no modules

Change-Id: I43410c6978d6fbc4156b4154a0e092dff52678f9
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/341790
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Sarah Gerard <sarah.gerard@instructure.com>
QA-Review: Sarah Gerard <sarah.gerard@instructure.com>
Product-Review: Alvaro Talavera <alvaro.talavera@instructure.com>
2024-03-04 18:49:10 +00:00
alvaro.talavera cebd11c074 Update Module Index Page Header
closes LF-1221

flag=instui_header

test plan:
- goto modules page for a course
- check that new header match specifications

Change-Id: Idd77b2fb01778d337207c4dedb4aeefb18ac5d45
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/341101
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Sarah Gerard <sarah.gerard@instructure.com>
QA-Review: Sarah Gerard <sarah.gerard@instructure.com>
Product-Review: Alvaro Talavera <alvaro.talavera@instructure.com>
2024-02-28 17:07:50 +00:00
Keith T. Garner 6629e7c1ed launch the platform speedgrader
When the feature flag is enabled, and when the param platform_sg is
passed in the URL, launch the platform speedgrader instead of default
speedgrader. This will allow for easily testing between classic
speedgrader and platform speedgrader.

flag=platform_service_speedgrader

test plan:
 - Have a course with some students and an assignment
 - Enable the feature flag
 - Either have a local module federation server running or supply a URL
   to dynamic configuration for the launch url
 - Go to the assignment and click on speedgrader
 - Note that classic sg loads
 - add "&platform_sg=true" to the URL and refresh
 - Note the new hotness

Change-Id: I6341406f563256c54cc009589a22b93019600373
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/340885
Reviewed-by: Cameron Ray <cameron.ray@instructure.com>
Reviewed-by: Aaron Shafovaloff <ashafovaloff@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Product-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
2024-02-21 23:37:17 +00:00
Jackson Howe 546e487354 Add faculty journal deprecation alert
refs LF-1199
flag = none

Test plan:
 - Make sure the deprecate_faculty_journal flag is disabled
 - Go to the following pages and expect an alert to appear at the top
   of the page indicating that FJ is deprecated on June 15:
   - /accounts/:id/user_notes
   - /courses/:id/user_notes
   - /users/:id/user_notes

Change-Id: I4b57f7dead5d2a9960f1943a4da947c736e671bd
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/340752
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Juan Chavez <juan.chavez@instructure.com>
QA-Review: Juan Chavez <juan.chavez@instructure.com>
Product-Review: Jackson Howe <jackson.howe@instructure.com>
2024-02-21 20:43:12 +00:00
Davis Hyer c1c7c78118 Add base block editor to storybook and page edit
flag=block_editor

This is an initial commit for the block editor work. It adds Editor.js,
a storybook example, and implements an editor change for wiki pages to
use the new component.

test plan:
  - Access the Block Editor component in Storybook.
  - Verify it renders and works correctly.
  - Turn the block editor flag on for an account.
  - Edit a wiki page
  - Verify the block editor is shown and works.

Change-Id: Icc57e7939b70fa141c2be4dde6cf34784ae995c6
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/331823
Reviewed-by: Jacob DeWar <jacob.dewar@instructure.com>
QA-Review: Jacob DeWar <jacob.dewar@instructure.com>
Migration-Review: Isaac Moore <isaac.moore@instructure.com>
Product-Review: Eric Saupe <eric.saupe@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-02-12 17:34:04 +00:00
Aaron Shafovaloff 81b9e57bfe use static list of feature bundles
better for static analysis of the frontend

also helps gives visibility to what we need to move to
ui/boot/initializers/router.tsx

test plan:
  - tests pass

flag=none

Change-Id: I8ff04a7449293abcb54379ce4d5a51fcbe312ae3
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/335975
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Josh Wilson <josh.wilson@instructure.com>
Reviewed-by: Michael Hulse <michael.hulse@instructure.com>
QA-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Product-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Build-Review: James Butters <jbutters@instructure.com>
2024-01-02 21:36:09 +00:00