Commit Graph

2531 Commits

Author SHA1 Message Date
Jacob DeWar ecb0cb40f1 Fix incorrect formatMessage imports
flag=none
fixes RCX-1960

Test Plan:
 - Change user language
 - Go to each of the changed areas
 * Verify they translate properly

Change-Id: I97cc434093f666b2ac4720899912af498f95820e
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/349165
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Luis Oliveira <luis.oliveira@instructure.com>
QA-Review: Luis Oliveira <luis.oliveira@instructure.com>
Product-Review: Jacob DeWar <jacob.dewar@instructure.com>
2024-06-10 15:33:05 +00:00
Aaron Shafovaloff 07e68f29e9 colocate misc specs (18)
Change-Id: Ifefe806a6e75ef142aa93dcce905f557a4a1f3bd
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/349546
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Derek Williams <derek.williams@instructure.com>
QA-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Product-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
2024-06-07 17:09:09 +00:00
Ed Schiebel 1563d1afae Block Editor using craft.js
PS 28 changes ParagraphBlock to TextBlock.

closes RCX-1979
flag=block_editor

test plan: some day, but this is a prototype demo

Change-Id: I00427567382c7c8b1dfdc6677df63b07dba16af0
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/347253
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>
Product-Review: Ed Schiebel <eschiebel@instructure.com>
2024-06-07 16:07:22 +00:00
Mysti Lilla 733a8cc3fb Re-add file verifiers to quizzes with feature flag
fixes RCX-1946
flag=file_verifiers_for_quiz_links

Test plan
- Build with quizzes and ensure any course
  file links you create in quizzes have file
  verifiers
- Turn off the feature flag and ensure that
  file links do not get verifiers added

Change-Id: Iafa86afce339182afa728581a7c4c7a7c8e38cc6
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/348782
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Jacob DeWar <jacob.dewar@instructure.com>
QA-Review: Jacob DeWar <jacob.dewar@instructure.com>
Product-Review: Mysti Lilla <mysti@instructure.com>
2024-06-06 15:30:58 +00:00
jake.oeding bdbb25b150 delete unused script
Change-Id: I07d424d1b2b172cc5f1f02270e51b4337cc3db82
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/349186
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Jacob DeWar <jacob.dewar@instructure.com>
QA-Review: Jacob DeWar <jacob.dewar@instructure.com>
Product-Review: Jake Oeding <jake.oeding@instructure.com>
2024-06-05 18:30:46 +00:00
Aaron Shafovaloff 877f359896 move datetime specHelpers to package
Change-Id: Icbb2a548e8ede4db7408080a26e6aa0c39ce4008
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/349195
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Kai Bjorkman <kbjorkman@instructure.com>
QA-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Product-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
2024-06-04 21:23:55 +00:00
Aaron Shafovaloff d68642bf53 consolidate datetime and @instructure/moment-utils
Change-Id: I5b4acd49465235e790609ed55aa02b2abe73190e
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/349065
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Cameron Ray <cameron.ray@instructure.com>
QA-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Product-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
2024-06-04 17:42:35 +00:00
Jacob DeWar a2526b9b7a Fix Find and Replace tray not translating
flag=rce_find_replace
fixes RCX-1929

Test Plan:
 - Have rce_find_replace FF on
 - Change user language
 - Go to RCE and open find and replace tray
 * Verify text is now translated

Change-Id: I800167de4ff4743f4ee2385a80293c5e18bbaf04
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/349160
Reviewed-by: Jake Oeding <jake.oeding@instructure.com>
QA-Review: Jake Oeding <jake.oeding@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Product-Review: Jacob DeWar <jacob.dewar@instructure.com>
2024-06-04 17:06:52 +00:00
jake.oeding ba5c78fc6e stop tagging translation commits
The learning materials team has been defunct since ~May 2023

Change-Id: I10796d3da8f438c5fe9f97f30ed739797386ac1a
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/349058
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>
Product-Review: Jake Oeding <jake.oeding@instructure.com>
2024-06-04 13:30:57 +00:00
Jenkins f670adccbe [i18n] Update RCE translations.
Change-Id: I0afe38976f1690263a2f681a2c03c9911946abc8
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/349089
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-06-04 04:52:23 +00:00
Jenkins 639e39b58d [i18n] Update canvas-media translations.
Change-Id: I1cc952bb842b9370567cb2f19a89ffb5cc49850d
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/349088
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-06-04 04:52:01 +00:00
Jenkins a1c753d05f [i18n] Update package translations
Change-Id: Ibd4383a7a3b51115e4675aa6eef572867ca592c3
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/349087
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-06-04 04:51:43 +00:00
Jacob DeWar a65e5ac74c Fix a11y checker refusing to close in NQ
flag=none
fixes RCX-1836

Test Plan:
 - Copy RCE changes into NQ
 - In NQ, open an RCE, open a11y checker
 - Click off RCE so it collapses
 - Re-open RCE and a11y checker
 - Click off RCE so it collapses
 - Close the a11y checker
 * Verify it closes

Change-Id: Icb78b6924f8228c5fb2a9da9d0a2f1248b731f88
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/348486
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Mysti Lilla <mysti@instructure.com>
QA-Review: Mysti Lilla <mysti@instructure.com>
Product-Review: Jacob DeWar <jacob.dewar@instructure.com>
2024-06-03 22:06:49 +00:00
Aaron Shafovaloff 4c65927b53 rename moment-parser to moment-utils
Change-Id: I5abc1d9bae7a4ab096c96b656c26860af6c5ad04
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/349062
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Drake Harper <drake.harper@instructure.com>
Reviewed-by: Spencer Olson <solson@instructure.com>
QA-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Product-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
2024-06-03 21:17:13 +00:00
Mysti Lilla fc62ce9365 Change spec file to Jest
refs RCX-1946

Test plan
- Specs pass
- Maybe run these specs specifically because
  I'm not sure Jenkins is doing it

Change-Id: I8104f37e151a8781714d3d8585c21717b708098f
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/348784
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>
Product-Review: Mysti Lilla <mysti@instructure.com>
2024-05-30 23:21:09 +00:00
Aaron Shafovaloff 8b7854e785 upgrade big.js
See https://github.com/MikeMcl/big.js/blob/master/CHANGELOG.md

Change-Id: Ie526ba1332533296428099a9edab09a4327a875b
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/348627
Reviewed-by: Spencer Olson <solson@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-05-29 21:57:11 +00:00
Jenkins 46205e9bab [i18n] Update RCE translations.
Change-Id: Icbf4b5e1208672c8088c6fd972106dc1f55b93e3
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/348527
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-05-29 04:51:49 +00:00
Jenkins 40d15e190a [i18n] Update package translations
Change-Id: I54a24908ff0b44b7234e83b3a371c2f40900cc65
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/348526
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-05-29 04:51:42 +00:00
Jacob DeWar 08df2205bb Fix flaky RCE find and replace specs
flag=none
fixes LX-1710
fixes RCX-1881

Test Plan: Jenkins

Change-Id: Ia8896d6002f549e43c10f4dbdb81250c6c46a4d4
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/348484
Reviewed-by: Mysti Lilla <mysti@instructure.com>
QA-Review: Jacob DeWar <jacob.dewar@instructure.com>
Product-Review: Jacob DeWar <jacob.dewar@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-05-28 17:43:03 +00:00
Aaron Shafovaloff bf7b4a006d skip fickle RCE test
Change-Id: I96f2f6348551878937d27302010115e0a7c8871c
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/348239
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-05-23 21:50:04 +00:00
Aaron Shafovaloff a79d24cc15 more datetime migration to package
with special focus on imports

Change-Id: I9616cae0b40a8578342221970ecf43fbe07e1a97
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/348211
Reviewed-by: Kai Bjorkman <kbjorkman@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-05-23 21:48:42 +00:00
Aaron Shafovaloff f385b77bf0 Move datetime lib to package
Change-Id: Idc6f33d601bcbf3d36b01c197a867af5ab0708cc
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/348200
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-05-23 19:15:33 +00:00
Aaron Shafovaloff 246cea8349 move moment-parser to package
Change-Id: I8eb8e476fd17c06d3d0d1da8706060bbdcfae2e3
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/348190
Reviewed-by: Michael Hulse <michael.hulse@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-05-23 18:12:49 +00:00
tbarna 6c6a7b4266 Fix CanvasSelect test for react 18
refs LF-1528
flag=none

Test Plan:
- specs pass
- all specs addressed in LF-1528

Change-Id: If057a856b3192ab7bf38e6731a52146e112df7b5
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/347535
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>
Product-Review: Tamas Barna <tamas.barna@instructure.com>
2024-05-21 07:42:55 +00:00
Aaron Shafovaloff 989cb0fe0c Fix scrollbar issues in Gradebook
Test plan:
  - Create course with 50 students and 10 assignments
  - In Gradebook, use both scrollbars
  - Neither should interfere with content

Fixes EVAL-4172

Change-Id: I8cbefc111770b27e177e731e1987bcad3f2f6ec4
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/347826
Reviewed-by: Kai Bjorkman <kbjorkman@instructure.com>
QA-Review: Kai Bjorkman <kbjorkman@instructure.com>
Product-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-05-20 19:03:09 +00:00
Jenkins f7bebbd262 [i18n] Update RCE translations.
Change-Id: I4ac9259f9516d131be9fdc25960016a4a94edf8c
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/347711
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-05-18 04:51:51 +00:00
Jenkins 2e169a5d83 [i18n] Update package translations
Change-Id: Ifcf02e000a547a2789eaa7b4a43f8d22985f292f
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/347710
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-05-18 04:51:40 +00:00
Jacob DeWar 0687235d0b Bump canvas-rce version
fixes LF-1410
flag=none

Test Plan: Jenkins

Change-Id: I245ed00d6e7e4b9c06a145f76c849d5cceceb03c
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/347339
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Product-Review: Jacob DeWar <jacob.dewar@instructure.com>
Reviewed-by: Eric Saupe <eric.saupe@instructure.com>
QA-Review: Eric Saupe <eric.saupe@instructure.com>
2024-05-16 16:43:05 +00:00
Jacob DeWar 4313e92acf Stop adding aria-hidden to RCE label
refs LF-1410
flag=none

Test Plan:
 - Verify in Pages that SR works normally for RCE
 - Preview a NQ and verify that SR can navigate to essay question

Change-Id: Ic43c4bafe082d9d3b088a3e652b549e97c3fa3fb
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/347337
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>
Product-Review: Jacob DeWar <jacob.dewar@instructure.com>
2024-05-16 16:25:22 +00:00
Aaron Shafovaloff 94eec36cb6 run prettier on ui/ and spec/
Change-Id: If7c95860bab3791a5be1dea1961d83dbb6a5dd50
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/347401
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-05-15 15:31:35 +00:00
Charley Kline 1ccdfe9c0a Fix TS errors in ui/features/speed_grader
Closes CFA-60
flag=none

Another stop on the way to zero tsc errors in the codebase.

Test plan:
* tsc no longer generates errors in this bundle
* build passes

Change-Id: I8f28beaa436dfcf9946b4d246d361f19fc1429b4
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/347057
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Aaron Shafovaloff <ashafovaloff@instructure.com>
QA-Review: Charley Kline <ckline@instructure.com>
Product-Review: Charley Kline <ckline@instructure.com>
2024-05-08 22:38:31 +00:00
Jenkins f6dd52a1aa [i18n] Update RCE translations.
Change-Id: Icfdf3d372d1a0bbf222ae380727214c1db0688a6
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/346841
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-05-04 04:52:06 +00:00
Jenkins 34991f47fa [i18n] Update package translations
Change-Id: I44506b29035ce3e3e39bf43a0e5b9bc9b16e0d4e
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/346840
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-05-04 04:51:46 +00:00
Attila Tóth c1f18b8774 Content overwrite mode for LTI tools with editor_button placement
flag=none
fixes ADV-93
test plan:
- Create a single Canvas Wiki page using the RCE with some content
- Configure an ordinary LTI tool with editor_button placement (one
which does not have the custom scope
'https://canvas.instructure.com/lti/replace_editor_contents')
- Observe whether the tool works as before (just inserting at the
caret or replacing selection in the RCE)
- Configure an editor_button LTI tool which has the custom scope
'https://canvas.instructure.com/lti/replace_editor_contents'
configured
- One example of such LTI tool is available at
'https://content-assist-tool-pdx.research.inscloudgate.net' with
the LTI configuration JSON available at the same URL under
the path '/lti/config'
- Observe whether it can replace the whole content in the RCE

Change-Id: I7ff9a265b996a325bc2bb035efd8f8ee7f29d0d8
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/343639
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Paul Gray <paul.gray@instructure.com>
QA-Review: Attila Toth <attila.toth@instructure.com>
Product-Review: Attila Toth <attila.toth@instructure.com>
2024-05-03 15:01:09 +00:00
Jenkins f726fb88f8 [i18n] Update RCE translations.
Change-Id: If6186f7f1c570aaa7468d8471f51a38f48220204
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/346703
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-05-03 04:51:55 +00:00
Jenkins b802caf465 [i18n] Update package translations
Change-Id: I05a70b9ab19f989aa1732bd59b3e8069c9844eb9
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/346702
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-05-03 04:51:38 +00:00
Jackson Howe 2010c37f0d Update RCE slack channels
Change-Id: I6d02021e97d40b55e777a098990edf3d645d140b
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/346680
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Robin Kuss <rkuss@instructure.com>
QA-Review: Robin Kuss <rkuss@instructure.com>
Product-Review: Jackson Howe <jackson.howe@instructure.com>
2024-05-02 20:50:59 +00:00
Jacob DeWar 6bcfd0ce4c spec: add awaits to waitFor
flag=rce_find_replace

Test Plan: Jenkins

Change-Id: I942ff12f6c7e7e06d886dabe64249740e1037c89
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/346673
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Luis Oliveira <luis.oliveira@instructure.com>
QA-Review: Luis Oliveira <luis.oliveira@instructure.com>
Product-Review: Jacob DeWar <jacob.dewar@instructure.com>
2024-05-02 19:50:51 +00:00
Ed Schiebel 799c22bb7b Get enhanced user content translated correctly
Closes LF-1507

Test Plan:
1. set language to ES or something besides english
2. set up a page or assignment and in the RCE upload a file and set to
   Preview Inline.  Save the page
3. on the Show page for that page, click on the file you just added.
   There should be a Minimize File Preview underneath plus a preview
box.  The Minimize File Preview should be in the language you chose.

Change-Id: Ic6b128dc22721b947e8a1171a3ab283b8954fd34
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/346497
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Ed Schiebel <eschiebel@instructure.com>
Reviewed-by: Jackson Howe <jackson.howe@instructure.com>
QA-Review: Jackson Howe <jackson.howe@instructure.com>
Product-Review: Robin Kuss <rkuss@instructure.com>
2024-05-02 18:52:50 +00:00
Jacob DeWar 8588a998b8 spec: address flaky specs
flag=rce_find_replace

Test Plan: Jenkins

Change-Id: Id68353b98d86dd7b6113fccfe26380901369bf87
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/346449
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Jacob DeWar <jacob.dewar@instructure.com>
Product-Review: Jacob DeWar <jacob.dewar@instructure.com>
Reviewed-by: Robin Kuss <rkuss@instructure.com>
2024-04-30 13:06:58 +00:00
Jenkins 3c8daee072 [i18n] Update RCE translations.
Change-Id: Ifc81dc2256421ef57f8c536e6f7424396ba069e7
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/346243
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-04-26 04:50:26 +00:00
Jenkins 4b5e85df39 [i18n] Update package translations
Change-Id: If206ad79e34e7f5d18f3896496d48ab5a6bc2f6c
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/346242
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-04-26 04:50:17 +00:00
Jacob DeWar 8eedfba91d Add context for SR users when finding text
flag=rce_find_replace
fixes LF-1474

Test Plan:
- Have flag on, go to RCE with content
- With screenreader on, open find replace tray
- Search for text / scroll through results / replace text
* Screenreader should read out text surrounding the current result

Change-Id: I34155135a5c172bfc83aab513aec70fd8c6a4ab8
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/346097
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>
Product-Review: Jacob DeWar <jacob.dewar@instructure.com>
2024-04-25 17:47:20 +00:00
Kai Bjorkman f44c9b6896 convert score to letter grade correctly
closes EVAL-3896
flag=none

Test Plan:
- Create a points based grading scheme with a range of
A: 15 <= 13
B: < 13 <= 10
C: < 10 <= 7
D: < 7 <= 0
- Set a letter graded assignment ot that scheme and ensure a 13 is an A
and a 12.999 is a B and a 10 is a B and a 9.999 is a C and a 7 is a C
- Ensure this works for all places grades are displayed like:
    -gradebook
    -individual gradebook
    -student grades page
    -etc

Change-Id: Icdf901c42c8c9ce45abe2943e6a073045fca56db
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/343681
QA-Review: Rohan Chugh <rohan.chugh@instructure.com>
Product-Review: Melissa Kruger <melissa.kruger@instructure.com>
Reviewed-by: Derek Williams <derek.williams@instructure.com>
Reviewed-by: Christopher Soto <christopher.soto@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-04-24 20:21:49 +00:00
Jenkins 997811ce8d [i18n] Update RCE translations.
Change-Id: I1307422ff28623192f174967ac1bfa77733a22b1
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/345725
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-04-20 04:51:45 +00:00
Jenkins 2588a55053 [i18n] Update package translations
Change-Id: I51c6838721fb0ed5374027d8b4c783021b5eb886
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/345724
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-04-20 04:51:31 +00:00
Jacob DeWar 6bff7c27f3 Add screenreader alert on replace
flag=rce_find_replace
fixes LF-1475

Test Plan:
- Go to RCE
- Open find replace tray
- Replace text
* Message is read out about replaced text
- Replace all text
* Message is read out about replacing all text

Change-Id: I7a0ed3362a0c3d66a2bce9151056a56e176de951
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/345623
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>
Product-Review: Jacob DeWar <jacob.dewar@instructure.com>
2024-04-19 19:47:02 +00:00
Jacob DeWar 45ed32a0e5 Improve screenreader labels for find replace buttons
closes LF-1472
flag=rce_find_replace

Test Plan:
- Have flag enabled
- Go to an RCE with content
- Open find replace tray
- Search for text with multiple results
- Have text in the replace text input
- With screenreader on, tab to each button
* Next button reads "Next {findText}"
* Previous button reads "Previous {findText}"
* Replace All button reads "Replace all {findText} with {replaceText}"
* Replace button reads "Replace {findText} with {replaceText}"

Change-Id: I9a010a90df53d0754ee86a433eeb7b9b67d23ddd
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/345185
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>
Product-Review: Jacob DeWar <jacob.dewar@instructure.com>
2024-04-19 19:46:47 +00:00
Jacob DeWar 106687078d Move next and previous search buttons
closes LF-1470
flag=rce_find_replace

Test Plan:
 - Have flag enabled
 - Go to an RCE
 - Open find and replace
 * Next and previous buttons are under the find input
 * Search buttons and replace buttons have same styling
 * All other functionality/UI is unchanged

Change-Id: I4a795a8f6d32648c92c873b220acdb9175dfbbf0
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/345182
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>
Product-Review: Jacob DeWar <jacob.dewar@instructure.com>
2024-04-19 19:46:39 +00:00
Jenkins 802d768cfb [i18n] Update RCE translations.
Change-Id: Ie64b790241d94841ea5c8b56e052437ea59c7575
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/345648
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2024-04-19 04:51:42 +00:00