Commit Graph

761 Commits

Author SHA1 Message Date
Jackson Howe ccf5eec83c Upgrade @testing-library/user-event to v14
Removes user-event from canvas-media since its not actually used there,
and bumps the version in canvas-rce as well. The only non-spec files
that this commit touches are: package.json, canvas-media/package.json,
canvas-rce/package.json, and yarn.lock. The remainder of the changes
are changes to jest spec files to resolve breaking changes in the
user-event API. The vast majority of the changes make usages of
user-event adhere to the new API which returns a promise, so calls
now need to be explicitely `await`ed. This change also exposed a
couple of synchronicity issues in test code which were rectified.

6 total specs were skipped across 3 files: action_button.test.tsx,
FilterNav.test.tsx, and CreateCourseModal.test.jsx. These will be
addressed in follow-up commits by owning teams who have more context
about how the underlying component should behave.

closes LF-1289
flag = none

Test plan: specs pass

Change-Id: If8f9db685593e906da9b2af5ae8d39fc63fe8c7c
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/340719
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Ed Schiebel <eschiebel@instructure.com>
QA-Review: Jackson Howe <jackson.howe@instructure.com>
Product-Review: Jackson Howe <jackson.howe@instructure.com>
2024-02-23 20:10:15 +00:00
Derek Williams 17c1ab6215 use studio ScreenCapture in speed grader
flag=speedgrader_studio_media_capture

test plan:
- enable speedgrader_studio_media_capture feature flag
- go to the speed grader
- click on the media recorder button
- verify that the screen capture option is available

Change-Id: I37349bbe5fa29f431ecb028c2c96f05290974488
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/341093
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Christopher Soto <christopher.soto@instructure.com>
Reviewed-by: Kai Bjorkman <kbjorkman@instructure.com>
QA-Review: Rohan Chugh <rohan.chugh@instructure.com>
Product-Review: Ravi Koll <ravi.koll@instructure.com>
2024-02-23 19:01:57 +00:00
Keith T. Garner 58a1e22669 remove the rest of fullstory
We no longer use fullstory, remove anything related to full story and
the empty privacy tab in settings. And now you know the rest of the
story... good day!

flag=none

test plan:
 - specs pass
 - confirm canvas loads in a browser
 - comfirm account settings page loads in a browser

Change-Id: I0529bc7b0075e93c9766ac8a4a0c79197c988cf1
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/341147
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
Reviewed-by: Aaron Shafovaloff <ashafovaloff@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Keith Garner <kgarner@instructure.com>
Product-Review: Jody Sailor
2024-02-23 16:53:45 +00:00
Aaron Shafovaloff 9b9758e07b remove fullstory code
Change-Id: I0aebe033d641d6ea6b6191fb94fea8008c1980e1
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/341087
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Keith Garner <kgarner@instructure.com>
QA-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Product-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
2024-02-22 21:19:57 +00:00
Jen Smith f0d8a58556 jquery 1.9.0 update
with jquery-migrate 1.4.1 on QUnit specs and on
runOnEveryPageButDontBlockAnythingElse.jsx

flag=none

refs FOO-4258

[skip-crystalball]

Change-Id: I46606a064237b79a7f9b608ce0e3a93ff8c386d4
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/340741
QA-Review: Jen Smith <jen.smith@instructure.com>
Product-Review: Jen Smith <jen.smith@instructure.com>
Reviewed-by: Angela Gomba <angela.gomba@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-02-21 19:18:32 +00:00
Aaron Shafovaloff 6f03d7d349 replace webpack with rspack
test plan:
  - run rspack locally (as "webpack" for now)
  - ensure coverage data for crystalball
  - ensure build passes with skip-crystalball
  - ensure source maps for local dev
  - ensure bundle analysis is available and documented
  - ensure compile times are at least comparable

refs CFA-32

[skip-crystalball]

flag=none

Change-Id: I8ad916ac7fbe9e3ecee5c690abcd78cdde748ab6
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/339401
Reviewed-by: Isaac Moore <isaac.moore@instructure.com>
Build-Review: Isaac Moore <isaac.moore@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-08 23:02:33 +00:00
Aaron Shafovaloff 93ef223a0f remove querystring package
Change-Id: I4dbf971c0eeed383ddc9ab3092f4b07afd8850fd
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/339221
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Samuel Lee <samuel.lee@instructure.com>
QA-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Product-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
2024-01-30 15:41:04 +00:00
Aaron Shafovaloff 2a0d99e656 patch format-message to fix CJS issue
Change-Id: Id955360efbd116835f51fe48c53ff8cf221f956c
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/338375
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Michael Hulse <michael.hulse@instructure.com>
QA-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Product-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
2024-01-23 02:22:22 +00:00
Aaron Shafovaloff e7f1096adc upgrade vitest
Change-Id: I1d45a2718944ac7de74bc16edbe0b9b44bc5cfc6
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/338208
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Charley Kline <ckline@instructure.com>
QA-Review: Charley Kline <ckline@instructure.com>
Product-Review: Charley Kline <ckline@instructure.com>
2024-01-22 17:04:54 +00:00
Aaron Shafovaloff 4e7a01c075 use JSC in Jest instead of Babel
Removing Babel in Jest ensures we won't add more of the
CommonJS-presuming mutative funny-business that Babel enabled

flag=none

Change-Id: I02a8b7387ff79c6f44b4304bfeb8e15ec26f787c
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/337966
QA-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Product-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Reviewed-by: Isaac Moore <isaac.moore@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-01-18 00:11:45 +00:00
Aaron Shafovaloff 01c31cf9ed upgrade browserlist
Change-Id: I65657dd53a2c570ac131eadbaf7d58983b3bd17d
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/337747
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Michael Hulse <michael.hulse@instructure.com>
QA-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Product-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
2024-01-16 23:12:23 +00:00
Aaron Shafovaloff 4e71a2d8b6 upgrade to sinon 9.2.4
Change-Id: Ib416d9e907f37f220318444c9a6e74c1a3459bc3
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/337509
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Michael Hulse <michael.hulse@instructure.com>
QA-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Product-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
2024-01-12 19:53:56 +00:00
Aaron Shafovaloff 19815fc09a upgrade sinon
Change-Id: Ia36d9ae6328a52799047bfb61c33eb46578e113d
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/337507
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Product-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Reviewed-by: Michael Hulse <michael.hulse@instructure.com>
2024-01-12 18:26:42 +00:00
Aaron Shafovaloff 5e80298edf use unforked jquery 1.7.2
one exception: I added jsdom condition on line 6954

this enables us to move forward more easily with jquery upgrades

test plan:
  - build passes

refs FOO-3741

Change-Id: I40bce735119d81ab9bd53ef40134f6fee493cfc7
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/337415
Reviewed-by: Jackson Huang <jackson.huang@instructure.com>
QA-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Product-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Build-Review: James Butters <jbutters@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-01-12 14:14:23 +00:00
Aaron Shafovaloff b8df882d71 include jquery3 in package.json
closes FOO-4210

Change-Id: Ie625cc4c8336a36b6869eb8e74b49a24eab280c3
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/337408
Reviewed-by: Michael Hulse <michael.hulse@instructure.com>
QA-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Product-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-01-11 19:49:39 +00:00
Wilmer Corrales 273c93c8e4 Upgrade to outcomes-ui 3.0.0
closes OUT-6112 OUT-5215
flag=outcome_alignment_non_scoring_content

test plan:
  - confirm that alignments on canvas wiki pages
    continues to work by testing g/235665

Change-Id: I0677af6223090524746abb28bee01109c701d533
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/336828
QA-Review: Chrystal Langston <chrystal.langston@instructure.com>
Reviewed-by: Kyle Rosenbaum <krosenbaum@instructure.com>
Product-Review: Kyle Rosenbaum <krosenbaum@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-01-11 18:26:31 +00:00
Aaron Shafovaloff 92afcf1c51 install swc-coverage-instrument
Change-Id: I96bc976f89c6906e7ab35d90fa6915f6eec4b963
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/337269
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@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: Isaac Moore <isaac.moore@instructure.com>
2024-01-10 23:55:11 +00:00
Aaron Shafovaloff 3f672b1af8 install zod
closes CFA-8

Change-Id: I65791dfa6bbe1d823bc1518d0b1b6955a0c432b2
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/337240
Reviewed-by: Omar Soto-Fortuño <omar.soto@instructure.com>
Reviewed-by: Keith Garner <kgarner@instructure.com>
QA-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Product-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-01-10 20:31:05 +00:00
Aaron Shafovaloff e0b90383b9 upgrade prettier
Change-Id: I9a0fd5a82163462822bec33fc5e39261e6adcd22
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/337220
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Derek Williams <derek.williams@instructure.com>
Reviewed-by: Omar Soto-Fortuño <omar.soto@instructure.com>
QA-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Product-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
2024-01-10 18:11:55 +00:00
Aaron Shafovaloff 73db1b4d46 improve swc config
This avoids unnecessary tsx/jsx parsing on .ts/.js files,
a pattern recommended by rspack docs

This also enables externalHelpers
https://swc.rs/docs/configuration/compilation#jscexternalhelpers

flag=none

[skip-crystalball]

Change-Id: Ie0c2db9e67df115b24407fca5ba9d38002af5987
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/337127
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Isaac Moore <isaac.moore@instructure.com>
Build-Review: Isaac Moore <isaac.moore@instructure.com>
QA-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Product-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
2024-01-09 22:17:38 +00:00
Aaron Shafovaloff d6040be6a0 replace babel with swc in canvas-lms
test plan:
  - build passes
  - ensure bundles are not much larger
  - canvas still works in dev environment
  - smoke test in Safari
  - smoke test in Firefox

closes CFA-38

flag=none

[skip-crystalball]

Change-Id: I7879b1e7274b9ce47c3aa1985a6a22e5e3659f25
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/337103
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Isaac Moore <isaac.moore@instructure.com>
Build-Review: Isaac Moore <isaac.moore@instructure.com>
QA-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Product-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
2024-01-09 17:54:06 +00:00
Aaron Shafovaloff 0a4cd44686 removes underscore-lodash shim
temporarily includes real underscore for those that
use require('underscore') in custom JS

flag=none

closes CFA-33

Change-Id: I62e10b7c4ab3bed67484ae98a729b6e7d381ed08
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/337045
Reviewed-by: Paul Gray <paul.gray@instructure.com>
Reviewed-by: Drake Harper <drake.harper@instructure.com>
Build-Review: Aaron Ogata <aogata@instructure.com>
QA-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Product-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-01-08 22:08:13 +00:00
Aaron Shafovaloff f2077e6639 upgrade fetch-mock
flag=none

closes CFA-36

Change-Id: I472d3474e743ca8867ea3434154aa598293f1db1
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/336880
Reviewed-by: Paul Gray <paul.gray@instructure.com>
QA-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Product-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-01-08 17:41:28 +00:00
Aaron Shafovaloff 3c0b43da3d upgrade msw
flag=none

closes CFA-35

closes LF-1117

Change-Id: I42e65f70ee74a2931a0a4439a4c9c0f22466ef62
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/336892
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Caleb Guanzon <cguanzon@instructure.com>
Product-Review: Caleb Guanzon <cguanzon@instructure.com>
QA-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
2024-01-08 10:20:42 +00:00
Aaron Shafovaloff b84def2ada simplify lint scripts in package.json
flag=none

Change-Id: Ia1c376996a6f8f82ca7db53c93ec38d69cfdab3d
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/336860
Reviewed-by: Michael Hulse <michael.hulse@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-01-06 01:14:27 +00:00
Aaron Shafovaloff 2193317c01 reduce JS linting noise
flag=none

flag=none

Change-Id: I54e0c3e4403b14ead4476937aba2a0db24c40f37
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/336817
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
Reviewed-by: Kai Bjorkman <kbjorkman@instructure.com>
QA-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Product-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-01-05 21:14:49 +00:00
Ed Schiebel cd8cd715ff Pathways
The pathways dashboard and view pages.

refs VICE-3932
flag=learner_passport,learner_passport_r2

test plan:
  - click on the Pathways tab
  > expect the pathways dashboard
  - click on the pathway name, or from the kabob menu select View
  > expect the view page
  > expect the graph of milestones
  > expect zoom in/out to work

Change-Id: I86a3d172b5141a9505dc656d58300177b3076f65
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/335774
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Aaron Suggs <aaron.suggs@instructure.com>
QA-Review: Aaron Suggs <aaron.suggs@instructure.com>
Product-Review: Aaron Suggs <aaron.suggs@instructure.com>
2024-01-05 01:25:26 +00:00
Aaron Shafovaloff b535a55f52 include minimatch in main package.json
Change-Id: I3661ac887967c3d6a4b13ba93262f79c9bb1f2cb
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/336040
Reviewed-by: Michael Hulse <michael.hulse@instructure.com>
QA-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Product-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2023-12-30 00:49:42 +00:00
Aaron Shafovaloff 149595df87 replace mime-types package with mime
- ESM compatible
- Built-in Typescript types

flag=none

refs CFA-32

Change-Id: I97acf576dc14151fc00a870765cdc19926426e10
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/336024
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Cameron Ray <cameron.ray@instructure.com>
Product-Review: Cameron Ray <cameron.ray@instructure.com>
QA-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
2023-12-29 18:03:58 +00:00
Aaron Shafovaloff c2dcd74c42 remove coffeescript from package.json and yarn.lock
test plan:
  - existing tests pass

flag=none

closes EVAL-3058
closes EVAL-3072

Change-Id: I7dd9ae41f23c7b1fb8f16f752bf17af192e15f30
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/316585
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Product-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Reviewed-by: Jacob Burroughs <jburroughs@instructure.com>
2023-12-26 20:42:54 +00:00
Aaron Shafovaloff e02388380c upgrade redux-thunk
flag=none

closes CFA-30

Change-Id: Ibdca0a4d89e2b82859dfc551227bbfe53bad0131
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/335971
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Michael Hulse <michael.hulse@instructure.com>
Reviewed-by: Jackson Huang <jackson.huang@instructure.com>
QA-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Product-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
2023-12-26 15:01:32 +00:00
Aaron Shafovaloff 8b50a205ee Resolve final circular package dependencies
Refs CFA-27

flag=none

Change-Id: I9787633a7deef3206f1462e8f65936dc51f1af3d
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/335951
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Michael Hulse <michael.hulse@instructure.com>
QA-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Product-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
2023-12-24 19:37:09 +00:00
Aaron Shafovaloff fb0a34e58a specify invariant import
this is included in yarn.lock, and
imported in various files. it should also
be in package.json

flag=none

Change-Id: I4a16b16e750280892ac0c9b7e960036524a58055
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/335917
QA-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Product-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Reviewed-by: Michael Hulse <michael.hulse@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2023-12-22 23:43:44 +00:00
Aaron Shafovaloff caf0320bcc Revert "Upgrade prettier"
This reverts commit 2923619f64.

Change-Id: I73be26acb7c5288293a8027bf1289b8014988935
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/334698
Reviewed-by: Michael Hulse <michael.hulse@instructure.com>
QA-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Product-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2023-12-12 02:04:14 +00:00
Aaron Shafovaloff e385ddc2e8 upgrade karma
test plan:
  build passes

flag=none

Change-Id: I8f55629bc0967b8ffb73fd144164869efe43d064
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/335099
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Product-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Reviewed-by: Drake Harper <drake.harper@instructure.com>
2023-12-11 20:16:40 +00:00
Aaron Shafovaloff c032a919b9 install vitest-ui
test plan:
 - run:
   yarn run test:vitest:watch --ui
 - browser UI for vitest should display

flag=none

Change-Id: Ia93ed7ddf00c716fe6b7820ed08aece6b98728e7
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/335095
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Product-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Reviewed-by: Drake Harper <drake.harper@instructure.com>
2023-12-11 20:07:07 +00:00
Aaron Shafovaloff d6b0d0818a upgrade vitest
also:
 - more tests passing in vitests
 - specifies which folders are left to resolve in the vitest config

test plan:
  - build passes

Change-Id: I34fee1a8b44101fec4b801fa6f67b9562df0425c
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/335009
Reviewed-by: Cameron Ray <cameron.ray@instructure.com>
QA-Review: Cameron Ray <cameron.ray@instructure.com>
Product-Review: Cameron Ray <cameron.ray@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2023-12-11 19:09:35 +00:00
Aaron Shafovaloff 2923619f64 Upgrade prettier
Change-Id: I214d1bf39552395013ad01fc4cbf04ab9cb57940
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/335005
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Christopher Soto <christopher.soto@instructure.com>
QA-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Product-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
2023-12-11 17:22:48 +00:00
Aaron Shafovaloff 7575ffb3ec Upgrade moment
Change-Id: Iafdd31a8c02a5918c6b68c234df661ed90d24032
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/335007
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Drake Harper <drake.harper@instructure.com>
Product-Review: Drake Harper <drake.harper@instructure.com>
QA-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
2023-12-11 17:22:24 +00:00
Aaron Shafovaloff 942b7755df upgrade babel-loader
Change-Id: I1520db81e141135c42799ee895d1de01ad0f9ce8
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/335006
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Drake Harper <drake.harper@instructure.com>
Product-Review: Drake Harper <drake.harper@instructure.com>
QA-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
2023-12-11 17:22:14 +00:00
Charley Kline 5df235929f Bump InstUI to 8.49 for new nav bar stuff
Closes FOO-4017
flag=none

Several bug fixes, plus this has the requested changes
from InstUI for the new look and feel for the side and
top navigation bars.

Test plan:
* automated tests pass

Change-Id: I5292256e4e479c70837cc77b10b97dfaba235848
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/333822
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Charley Kline <ckline@instructure.com>
Product-Review: Charley Kline <ckline@instructure.com>
Reviewed-by: Aaron Shafovaloff <ashafovaloff@instructure.com>
2023-11-29 03:56:33 +00:00
Aaron Shafovaloff d455181346 Upgrade babel-plugin-typescript-to-proptypes
flag=none

Change-Id: I19d4fc30e80d07354bad664e084eeb8b795d7315
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/333531
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Gustavo Bernardes <gustavo.bernardes@instructure.com>
QA-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Product-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
2023-11-22 15:16:07 +00:00
Aaron Shafovaloff 9422c1cb14 Upgrade TypeScript
flag=none

Change-Id: I3e9dec807e073f662707f8c1e2e7673d998d52a4
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/333530
Reviewed-by: Gustavo Bernardes <gustavo.bernardes@instructure.com>
QA-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Product-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2023-11-22 14:34:38 +00:00
Aaron Shafovaloff e756056f75 Upgrade Jest
Test plan:
  - build passes

flag=none

Change-Id: I3855883ee1ec15e3de8076712c399793974108ad
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/333290
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Martin Ochoa <martin.ochoa@instructure.com>
QA-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Product-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
2023-11-21 23:26:21 +00:00
Aaron Shafovaloff 2927a9565a Upgrade Sentry frontend packages
Did not upgrade @sentry/fullstory

flag=none

Change-Id: I664a054e1d52366688de81f9dc61b82113500ac5
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/333285
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Isaac Moore <isaac.moore@instructure.com>
QA-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Product-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
2023-11-20 19:25:55 +00:00
Aaron Shafovaloff e1384057d1 Install Vitest
This does not yet change our build process

Demo:
  - yarn run test:vitest:watch ui/features/theme_editor/

Test plan:
  - build passes

Closes CFA-17

flag=none

Change-Id: I6eac4684af62525829e36f5dd0c64bb80c638ca3
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/333130
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Martin Ochoa <martin.ochoa@instructure.com>
Reviewed-by: Gustavo Bernardes <gustavo.bernardes@instructure.com>
QA-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Product-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Build-Review: Andrea Cirulli <andrea.cirulli@instructure.com>
2023-11-17 14:19:22 +00:00
Chris Soto 541d6492c2 add rubric redesign react-query setup
this commit adds the foundation for react-query to the rubrics redesign.
it also uses new graphql queries to return rubric data to the front end.

closes EVAL-3616
flag=enhanced_rubrics

test plan:
- navigate to /accounts/<id>/rubrics
- verify that if the account has rubrics, they are displayed in the
  table
- navigate to /courses/<id>/rubrics
- verify that if the course has rubrics, they are displayed in the table

Change-Id: Ib340a37ad1c3a3d28413b3e8cfce359aa3f5db7a
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/331718
Reviewed-by: Aaron Shafovaloff <ashafovaloff@instructure.com>
Reviewed-by: Derek Williams <derek.williams@instructure.com>
Reviewed-by: Cameron Ray <cameron.ray@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Derek Williams <derek.williams@instructure.com>
Product-Review: Cameron Ray <cameron.ray@instructure.com>
2023-11-10 18:19:53 +00:00
Aaron Shafovaloff 203048ecfd Badge counts in SideNavBar
test plan:
  badge counts show up in navbar items in new SideNavBar

flag=instui_nav

refs FOO-3880
refs FOO-3894
refs FOO-3895

Change-Id: Iea01d6d9b5aa6aed7afe129842b17b1a6463c9b1
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/331126
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Martin Ochoa <martin.ochoa@instructure.com>
QA-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Product-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
2023-10-24 18:19:25 +00:00
Aaron Shafovaloff f4a1584ada Add more new SideNav scaffolding
flag=none

test plan:
  build passes

refs FOO-3642

Change-Id: I570f06af4cb85514801f8ff31eb050b5ffb283be
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/330985
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Martin Ochoa <martin.ochoa@instructure.com>
Reviewed-by: Gustavo Bernardes <gustavo.bernardes@instructure.com>
QA-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Product-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
2023-10-23 22:20:27 +00:00
Ed Schiebel 0f31ee66dc Revert RceHtmlEditor to INSTUI's CodeEditor
We need more work to integrate the newer SourceCodeEditor.
Let's not do that with the clock ticking toward deployment.

closes LF-781
flag=none

test plan:
  - the RCE's pretty html editor works as expected
  - try flipping between wysiwyg and html
  - try flipping between pretty and plain html editor
  - try various combinations of fullscreen and switching
    back and forth between editors
  - insert enough html that you have to scroll, switch
    to html editor. expect the html editor to resize
    so that its scrollbar is correct.

Change-Id: Ieb0ad96ad2bb549676f7f9199d1231ece02b5aae
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/330095
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Jackson Howe <jackson.howe@instructure.com>
QA-Review: Jackson Howe <jackson.howe@instructure.com>
Product-Review: Ed Schiebel <eschiebel@instructure.com>
2023-10-11 18:29:17 +00:00