Commit Graph

783 Commits

Author SHA1 Message Date
AJ Esa 76b13f74ef update timezone library to 1.0.30
refs FOO-4337
flag=none

Change-Id: I47fd63deb2fe00570ffd2193898014c7ebe1f6aa
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/346495
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Cameron Ray <cameron.ray@instructure.com>
QA-Review: Ajmal Esa <ajmal.esa@instructure.com>
Product-Review: Ajmal Esa <ajmal.esa@instructure.com>
2024-05-01 01:57:37 +00:00
Aaron Shafovaloff 1f48fa7b79 upgrade swc-plugin-coverage-instrument
[skip-crystalball]

Change-Id: I7efddcbe3995166b52f8a58fc4eb6f065ceaf648
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/346224
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Spencer Olson <solson@instructure.com>
QA-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Product-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
2024-04-26 18:49:47 +00:00
Aaron Shafovaloff 83d9115950 remove @swc/cli
[skip-crystalball]

Change-Id: Ie5e7dee9404bf27ab1c54f58c03b9ed2273e3fae
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/346226
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Spencer Olson <solson@instructure.com>
QA-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Product-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
2024-04-26 18:49:06 +00:00
Aaron Shafovaloff d2a495727a upgrade swc
[skip-crystalball]

Change-Id: I67a635e4ae5662425301774e5cda6cc990c98ffc
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/346218
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Drake Harper <drake.harper@instructure.com>
Product-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Reviewed-by: Isaac Moore <isaac.moore@instructure.com>
2024-04-25 23:37:25 +00:00
Aaron Shafovaloff b34c0ed867 upgrade swc-loader
[skip-crystalball]

Change-Id: Ib3f8d82c562388c04db8bdec23a0e2a7b33f8373
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/346225
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Spencer Olson <solson@instructure.com>
QA-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Product-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
2024-04-25 22:27:05 +00:00
Aaron Shafovaloff 323ee9474f replace esmac with Dependency Cruiser
test plan:
  - build passes
  - run locally:
    node_modules/.bin/depcruise ./ --include-only "^(ui|packages)"

closes CFA-63

Change-Id: I6c053b57e0f7b9d1c13d88a03603dbc9d34f2667
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/346184
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-04-25 19:35:38 +00:00
Isaac Moore 36d423d8fe upgrade graphql to v16
closes AE-909
flag=none

Change-Id: Iee8eb9c877addd283bee253f8e277452529a8b76
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/345427
Reviewed-by: Aaron Ogata <aogata@instructure.com>
Reviewed-by: Andrea Cirulli <andrea.cirulli@instructure.com>
QA-Review: Isaac Moore <isaac.moore@instructure.com>
Product-Review: Isaac Moore <isaac.moore@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-04-25 14:45:54 +00:00
Derek Williams 8d8c54c9dd bump media-capture-new to 10.0.0
closes EVAL-4131
flag=none

test plan:
- tests pass

Change-Id: I5e2cd34b84e70c4f733dd4a212f9e200dc4fd362
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/346025
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Cameron Ray <cameron.ray@instructure.com>
QA-Review: Derek Williams <derek.williams@instructure.com>
Product-Review: Ravi Koll <ravi.koll@instructure.com>
2024-04-24 16:59:12 +00:00
Aaron Ogata a5430bd70b upgrade graphql-tools to v7
Change-Id: Id0c390336ccc0a42f0ae82d591f2fa44d43322fd
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/345426
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Isaac Moore <isaac.moore@instructure.com>
QA-Review: Aaron Ogata <aogata@instructure.com>
Product-Review: Aaron Ogata <aogata@instructure.com>
2024-04-17 16:51:41 +00:00
Aaron Ogata 3c91987d2e bump graphql to latest 15.x try 2
Change-Id: I85d88d3d3d008f76aaed6aa93d88e85b21edce1f
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/345394
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Aaron Ogata <aogata@instructure.com>
Product-Review: Aaron Ogata <aogata@instructure.com>
Reviewed-by: Isaac Moore <isaac.moore@instructure.com>
2024-04-16 18:17:03 +00:00
Aaron Ogata 6e08b48c9d bump graphiql to v1.7.2
Change-Id: Iebfa265faaeec0804c821d6549c55a70fd6ab327
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/345373
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Isaac Moore <isaac.moore@instructure.com>
QA-Review: Aaron Ogata <aogata@instructure.com>
Product-Review: Aaron Ogata <aogata@instructure.com>
2024-04-16 18:16:00 +00:00
Aaron Ogata 993e2e685e Revert "bump graphql to latest 15.x"
This reverts commit 7ce38a72f7.

Reason for revert: broke graphiql page

Change-Id: I9557bca47348c60abdf00e8796e8ef259e3e6b43
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/345393
Reviewed-by: Cody Cutrer <cody@instructure.com>
Reviewed-by: Isaac Moore <isaac.moore@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Aaron Ogata <aogata@instructure.com>
Product-Review: Aaron Ogata <aogata@instructure.com>
2024-04-16 17:22:10 +00:00
Aaron Ogata 7ce38a72f7 bump graphql to latest 15.x
Change-Id: Iec402875ce1887646112fac79b57f28cff943353
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/345293
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Cody Cutrer <cody@instructure.com>
Reviewed-by: Isaac Moore <isaac.moore@instructure.com>
QA-Review: Aaron Ogata <aogata@instructure.com>
Product-Review: Aaron Ogata <aogata@instructure.com>
2024-04-16 16:23:10 +00:00
Kai Bjorkman 20132c158b drag and drop rubric criteria and ratings
closes EVAL-3635
flag=enhanced_rubrics

Test Plan:
- Create a new rubric
- Add a criteria with some ratings
- ensure you can add and drag around the ratings to different indexes,
but the point values stay fixed on the left.
- ensure you can save
the criteria and edit it again and the order and ratings are
preserved.
- Also ensure that when the long description is two long the box expands,
but everything in the rating row is aligned vertically(center).
- ensure when dragging around ratings that the add rating button is
hidden when dragging and reappears when you stop dragging.
-ensure the saved rating order is also correctly displayed on the
criteria index page.
- ensure you can also drag around the criteria themselves and the points
and ratings move with them.

Change-Id: I08fe4d9a09933509deefed0fb62523068a38ad5a
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/341590
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Derek Williams <derek.williams@instructure.com>
QA-Review: Christopher Soto <christopher.soto@instructure.com>
Product-Review: Ravi Koll <ravi.koll@instructure.com>
2024-04-12 18:23:39 +00:00
AJ Esa b2e7e51c17 update moment-timezone to 0.5.45
refs FOO-4337
flag=none

Change-Id: I31de7c11d645e92dd624a01788693bb3c748abbe
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/344219
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Ajmal Esa <ajmal.esa@instructure.com>
Product-Review: Ajmal Esa <ajmal.esa@instructure.com>
Reviewed-by: August Thornton <august@instructure.com>
2024-04-02 15:54:19 +00:00
AJ Esa 733bfae64d update timezone library to 1.0.29
refs FOO-4337
flag=none

Change-Id: Id5334e9282bcc3516eb00d3718a08ffd670d8e42
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/344220
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Ajmal Esa <ajmal.esa@instructure.com>
Product-Review: Ajmal Esa <ajmal.esa@instructure.com>
Reviewed-by: August Thornton <august@instructure.com>
2024-04-02 15:53:33 +00:00
Mysti Lilla a56ca5711d Remove SSL legacy flag
flag=none

Test plan
- Specs pass
- Rebuild Javascript assets and
  ensure you can view stuff
- Ensure yarn test:jest:coverage
  starts

Change-Id: Icb407270cb83882ae895190e3b39b2488e56e6ba
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/343539
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Eric Saupe <eric.saupe@instructure.com>
QA-Review: Eric Saupe <eric.saupe@instructure.com>
Build-Review: Aaron Ogata <aogata@instructure.com>
Product-Review: Mysti Lilla <mysti@instructure.com>
2024-03-26 16:54:22 +00:00
Derek Williams a4c3bb5622 upgrade 'media-capture-new' to rc.38
flag=speedgrader_studio_media_capture

test plan:
- tests pass

Change-Id: I655570e0066cdbd10ddd6aacf43fdad2280fb789
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/343300
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Spencer Olson <solson@instructure.com>
QA-Review: Derek Williams <derek.williams@instructure.com>
Product-Review: Cameron Ray <cameron.ray@instructure.com>
2024-03-20 17:10:25 +00:00
Jen Smith 09f2342d35 upgrade to jquery 3.5
with jquery-migrate 3.4.1 (added to instructure_jquery_patches.js
this time,  as it wasn't being loaded soon enough for header usage
in runOnEveryPageButDontBlockAnythingElse.jsx)

this change also disables the assignment column resizing and
reordering feature in the grid gradebook.  The drag library used
for this feature does not support jquery 3.x and it is a blocker

refs FOO-4260
flag=none

Test Plan:
- Jenkins Passes

[skip-crystalball]
[fsc-max-nodes=18]
[fsc-timeout=40]

Change-Id: I56ff289813c532c98279766dbca19b9ec28c5d0c
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/341600
Product-Review: Ryan Norton <rnorton@instructure.com>
QA-Review: August Thornton <august@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Michael Hulse <michael.hulse@instructure.com>
2024-03-19 19:28:16 +00:00
Jen Smith 40b86aca6f remove scrollbar width calculation in speed grader
speed grader no longer uses an unmaintained jquery
plugin to determine the width of the scroll bar in
the student selector.  this plugin is not
compatible with jquery 3.5 and is blocking the
upgrade, and removing it does not appear to have
any negative effect (the selector is usable)

closes FOO-4352
refs FOO-4260

flag = none

Test Plan:
  - create a course with 2 sections and 50 students
  - view an assignment in speed grader
  - confirm you can change students on the selector

Change-Id: Ia370fd31a58b1735fede52f7555876a91beea194
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/343131
QA-Review: Jen Smith <jen.smith@instructure.com>
Product-Review: Jen Smith <jen.smith@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Michael Hulse <michael.hulse@instructure.com>
2024-03-18 22:11:51 +00:00
James Butters 3730f216e3 Revert "upgrade 'media-capture-new' to 9.1.2-rc.38"
This reverts commit 0e45d78165.

Reason for revert: Jenkins has been failing JS tests since the merge of this patchset. Revert is a test to see if failures might be related

Change-Id: I09ef5ecb3a9f4d8299659c5e9ba39bd7a3f8853d
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/342733
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Derek Williams <derek.williams@instructure.com>
QA-Review: James Butters <jbutters@instructure.com>
Product-Review: James Butters <jbutters@instructure.com>
2024-03-13 20:21:11 +00:00
Derek Williams 0e45d78165 upgrade 'media-capture-new' to 9.1.2-rc.38
flag=speedgrader_studio_media_capture

test plan:
- test pass

Change-Id: I067343e0c9c6605b4013a956814104011d73d241
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/342121
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Christopher Soto <christopher.soto@instructure.com>
Reviewed-by: Cameron Ray <cameron.ray@instructure.com>
Reviewed-by: Kai Bjorkman <kbjorkman@instructure.com>
Reviewed-by: Jackson Huang <jackson.huang@instructure.com>
Reviewed-by: Jacob DeWar <jacob.dewar@instructure.com>
QA-Review: Kai Bjorkman <kbjorkman@instructure.com>
Product-Review: Ravi Koll <ravi.koll@instructure.com>
2024-03-08 02:14:27 +00:00
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