Commit Graph

6 Commits

Author SHA1 Message Date
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