canvas-lms/ui
Chris Soto 5bee58bc2e add rubric save as draft button
this commit adds a save as draft button to the rubric form. This button
is only displayed when a rubric has no current associations. When
clicked, the rubric is saved with a new workflow_state value of "draft".

closes EVAL-3637
flag=enhanced_rubrics

test plan:
- make sure graphql is updated
- create a rubric. you should see the "Save as Draft" button
- add a title and save as draft. you should be navigated back to the
  rubric list and see the rubric with a draft status
- edit the rubric and the click the "Save" button. you should be
  navigated back to the rubric list and the rubric should no longer have
  the draft status.
- edit the rubric. you should see the "Save as Draft" button still
  available.
- add that same rubric to an assignment.
- navigate back to the edit rubric page. you should no longer see the
  "Save as Draft" button.

Change-Id: Id1e68f1432cd17fab618b2c8dd0350acf0408e12
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/341595
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Derek Williams <derek.williams@instructure.com>
Reviewed-by: Kai Bjorkman <kbjorkman@instructure.com>
QA-Review: Kai Bjorkman <kbjorkman@instructure.com>
Product-Review: Ravi Koll <ravi.koll@instructure.com>
2024-03-01 21:42:58 +00:00
..
boot Remove deprecated delegate() method from more jQuery code 2024-02-26 19:18:28 +00:00
engine Fix webpackIgnore directives in IntlPolyfills 2024-02-28 21:34:17 +00:00
ext Add support for Bahasa Indonesia Language (id) 2024-02-21 16:49:57 +00:00
features add rubric save as draft button 2024-03-01 21:42:58 +00:00
shared A11y adjustments for module Assign To Tray 2024-03-01 15:21:07 +00:00
.eslintrc.js support multiple entry bundles 2024-01-25 21:10:01 +00:00
.i18nrc Enable translation extraction from JSX 2023-08-08 16:17:36 +00:00
.xssignore move planner to ui/shared 2023-08-01 19:51:14 +00:00
api.d.ts fix inactive/concluded students in section filter 2024-01-19 17:02:54 +00:00
featureBundles.ts Update Module Index Page Header 2024-02-28 17:07:50 +00:00
global.d.ts launch the platform speedgrader 2024-02-21 23:37:17 +00:00
imports.d.ts move $.raw to independent function 2024-01-06 05:43:58 +00:00
index.ts Add faculty journal deprecation alert 2024-02-21 20:43:12 +00:00
loadLocale.ts ensure moment locale chunk names match include_head_js 2024-02-29 16:55:18 +00:00
setup-vitests.tsx Localize jest-fetch-mock usage 2023-11-20 17:42:32 +00:00