Robert Raposa
399be67fc4
style: remove eslint with frontend code removal ADR
...
- Add ADR for frontend code removal
- Drop eslint, as explained in the ADR
2025-03-20 11:03:41 -04:00
Feanil Patel
f310c02aba
build: Drop the whatwg-fetch polyfill.
...
This package polyfills the Fetch api but that API is now widely
available so I don't think we need this package anymore.
2025-03-05 08:58:35 -05:00
Brian Smith
14b113c518
chore: remove CommonsChunk plugin karma workaround
2024-04-19 14:03:42 -04:00
Feanil Patel
66e987997c
Revert "Revert "chore: remove bok-choy settings""
2023-11-01 13:41:37 -04:00
Robert Raposa
083ccbf09b
Revert "chore: remove bok-choy settings"
2023-10-31 15:27:44 -04:00
salman2013
cdeaaa5458
chore: fix test case
2023-10-09 19:12:10 +05:00
salman2013
d668af2fce
chore: fix comments, remove and add some code for karma
2023-10-02 16:04:33 +05:00
salman2013
42ca0ddec4
chore: remove bok choy settings
2023-09-27 10:58:37 +05:00
Yusuf Musleh
3eb4e0ce9c
feat: Update new files notification banner styles ( #33197 )
...
Uses the updated styles for the notification based on the new designs.
Includes a button to open view the files directly in the notification.
This also fix a bug where the notification was not appearing when paste
a whole Unit.
2023-09-15 08:58:50 -07:00
Syed Ali Abbas Zaidi
8480dbc228
chore: apply amnesty on existing not fixable issues ( #32215 )
...
* fix: eslint operator-linebreak issue
* fix: eslint quotes issue
* fix: react jsx indent and props issues
* fix: eslint trailing spaces issues
* fix: eslint line around directives issue
* fix: eslint semi rule
* fix: eslint newline per chain rule
* fix: eslint space infix ops rule
* fix: eslint space-in-parens issue
* fix: eslint space before function paren issue
* fix: eslint space before blocks issue
* fix: eslint arrow body style issue
* fix: eslint dot-location issue
* fix: eslint quotes issue
* fix: eslint quote props issue
* fix: eslint operator assignment issue
* fix: eslint new line after import issue
* fix: indent issues
* fix: operator assignment issue
* fix: all autofixable eslint issues
* fix: all react related fixable issues
* fix: autofixable eslint issues
* chore: remove all template literals
* fix: remaining autofixable issues
* chore: apply amnesty on all existing issues
* fix: failing xss-lint issues
* refactor: apply amnesty on remaining issues
* refactor: apply amnesty on new issues
* fix: remove file level suppressions
* refactor: apply amnesty on new issues
2023-08-07 19:13:19 +05:00
Syed Ali Abbas Zaidi
d7053a6783
fix: eslint autofixable issues ( #32181 )
...
* fix: eslint operator-linebreak issue
* fix: eslint quotes issue
* fix: react jsx indent and props issues
* fix: eslint trailing spaces issues
* fix: eslint line around directives issue
* fix: eslint semi rule
* fix: eslint newline per chain rule
* fix: eslint space infix ops rule
* fix: eslint space-in-parens issue
* fix: eslint space before function paren issue
* fix: eslint space before blocks issue
* fix: eslint arrow body style issue
* fix: eslint dot-location issue
* fix: eslint quotes issue
* fix: eslint quote props issue
* fix: eslint operator assignment issue
* fix: eslint new line after import issue
* fix: indent issues
* fix: operator assignment issue
* fix: all autofixable eslint issues
* fix: all react related fixable issues
* fix: autofixable eslint issues
* chore: remove all template literals
* fix: remaining autofixable issues
* fix: failing js test
2023-05-18 11:03:59 +05:00
Syed Ali Abbas Zaidi
adf879e8b2
Revert "fix: all auto fixable eslint issues ( #31900 )" ( #32203 )
...
This reverts commit 228180b1ef .
2023-05-09 13:53:54 +05:00
Syed Ali Abbas Zaidi
228180b1ef
fix: all auto fixable eslint issues ( #31900 )
...
* fix: eslint operator-linebreak issue
* fix: eslint quotes issue
* fix: react jsx indent and props issues
* fix: eslint trailing spaces issues
* fix: eslint line around directives issue
* fix: eslint prefer template issue
* fix: eslint semi rule
* fix: eslint newline per chain rule
* fix: eslint space infix ops rule
* fix: eslint space-in-parens issue
* fix: eslint space before function paren issue
* fix: eslint space before blocks issue
* fix: eslint arrow body style issue
* fix: eslint dot-location issue
* fix: eslint quotes issue
* fix: eslint quote props issue
* fix: eslint operator assignment issue
* fix: eslint new line after import issue
* fix: indent issues
* fix: operator assignment issue
2023-05-09 11:57:15 +05:00
Syed Ali Abbas Zaidi
f1fb38ed83
fix: multi lines and spaces issues ( #31885 )
...
* fix: multi lines and spaces issues
* fix: eslint operator-linebreak issue
* fix: eslint quotes issue
* fix: remaining quotes issues
* fix: eslint object curly newline issue
* fix: eslint object curly spacing issue
* fix: eslint brace-style issues
* fix: react jsx indent and props issues
* fix: eslint trailing spaces issues
* fix: eslint linbreak style issue
* fix: eslint space unary operator issue
* fix: eslint line around directives issue
* fix: void and typeof space unary ops issue
2023-05-03 12:22:46 +05:00
Syed Ali Abbas Zaidi
5549db4d80
fix: migrate remaining eslint-config-edx ( #31760 )
...
* fix: migrate remaining eslint-config-edx
* refactor: updated eslint rules according to eslint-config-edx-es5
* refactor: add custom rules to suppress unnecessary eslint issues
* refactor: add custom rules to internal eslint configs
* fix: fix all indentation issues
* chore: update lock file
2023-03-02 16:16:50 +05:00
Mohammad Ahtasham ul Hassan
3726d122f9
Migrate eslint-config-edx ( #30460 )
...
* feat: migrare eslint-config-edx
* refactor: updated package-lock
* refactor: updated package-lock
---------
Co-authored-by: Bilal Qamar <59555732+BilalQamar95@users.noreply.github.com >
Co-authored-by: Mashal Malik <107556986+Mashal-m@users.noreply.github.com >
Co-authored-by: Abdullah Waheed <abdullah.waheed@arbisoft.com >
2023-02-09 13:57:18 +05:00
Michael Terry
ce5f1bb343
feat!: drop legacy course home view and related code
...
This was the "outline tab" view of the course. Preceded by the
course info view, succeeded by the MFE outline tab.
In addition to the course home view itself, this drops related
features:
- Legacy version of Course Goals (MFE has a newer implementation)
- Course home in-course search (MFE has no search)
The old course info view and course about views survive for now.
This also drops a few now-unused feature toggles:
- course_experience.latest_update
- course_experience.show_upgrade_msg_on_course_home
- course_experience.upgrade_deadline_message
- course_home.course_home_use_legacy_frontend
With this change, just the progress and courseware tabs are still
supported in legacy form, if you opt-in with waffle flags. The
outline and dates tabs are offered only by the MFE.
AA-798
(This is identical to previous commit be5c1a6 , just reintroduced
now that the e2e tests have been fixed)
2022-04-14 15:18:31 -04:00
Michael Terry
a515c2e992
Revert "Drop legacy outline tab in favor of the MFE's version"
2022-04-14 14:16:29 -04:00
Michael Terry
be5c1a64d5
feat!: drop legacy course home view and related code
...
This was the "outline tab" view of the course. Preceded by the
course info view, succeeded by the MFE outline tab.
In addition to the course home view itself, this drops related
features:
- Legacy version of Course Goals (MFE has a newer implementation)
- Course home in-course search (MFE has no search)
The old course info view and course about views survive for now.
This also drops a few now-unused feature toggles:
- course_experience.latest_update
- course_experience.show_upgrade_msg_on_course_home
- course_experience.upgrade_deadline_message
- course_home.course_home_use_legacy_frontend
With this change, just the progress and courseware tabs are still
supported in legacy form, if you opt-in with waffle flags. The
outline and dates tabs are offered only by the MFE.
AA-798
2022-04-14 09:12:01 -04:00
Mehak Nasir
2523d56d40
feat: post anonymously option is removed from add post section ( #30189 )
2022-04-14 13:17:05 +05:00
Abdurrahman Asad
f9c9832b28
fix: post preview body shows html tags in legacy discussion (updated) ( #30017 )
...
fix: post preview body shows HTML tags in legacy discussion
2022-03-07 18:28:03 +05:00
Robert Raposa
8178a039ae
Revert "fix: post preview body shows html tags in legacy discussion ( #30007 )" ( #30016 )
...
This reverts commit 89f92a1a9d .
2022-03-04 10:20:28 -05:00
Abdurrahman Asad
89f92a1a9d
fix: post preview body shows html tags in legacy discussion ( #30007 )
...
fix: post preview body shows HTML tags in legacy discussion
2022-03-04 17:48:17 +05:00
connorhaugh
2ebfe47077
fix: remove slashmark
2021-11-22 13:58:34 -05:00
=Awais Jibran
82939c3423
fix: discussion xss fix
2021-07-28 01:43:36 +05:00
HamzaIbnFarooq
883d223d59
fix: add validation to capa problem markdown for missing option text
...
Before this commit, if a course author created a capa mcqs or similar problem without providing any answer text for an option the question would be created causing abnormal behavior for learners. This commit will validate answer text of all options and raise an error message to author to fix the issue on the go.
2021-06-17 15:59:24 +05:00
Paul Aswa
b62478c365
fix: hide new post indicator on thread open
...
This fixes the removal of the new post indicator in the Discussion XBlock once a thread has been opened.
2021-04-12 19:29:44 +02:00
Zainab Amir
01501335fc
VAN-392: suppress PII from logistration error messages ( #26629 )
2021-02-19 19:04:54 +05:00
azanbinzahid
027ea1373d
PROD-2202
2021-01-20 00:42:35 +05:00
Ali-D-Akbar
428e04d36d
PROD-2140
2021-01-20 00:42:35 +05:00
Ali-D-Akbar
25c5cb17b2
PROD-2142
2021-01-20 00:42:35 +05:00
azanbinzahid
96836802b0
PROD-2083
2021-01-11 14:32:49 +05:00
azanbinzahid
170872feec
PROD-2082
2021-01-11 14:32:49 +05:00
azanbinzahid
35d658e66c
PROD-2215
2020-12-18 20:48:05 +05:00
Ali-D-Akbar
465b194e6a
PROD-2217
2020-12-16 17:44:01 +05:00
azanbinzahid
85f55ac388
PROD-2139
2020-12-07 16:24:27 +05:00
azanbinzahid
158a600f91
PROD-2138
2020-12-07 16:24:27 +05:00
azanbinzahid
c675ec9883
PROD-2137
2020-12-07 16:24:27 +05:00
Zainab Amir
755c073314
Add hotjar suppression to comments in forum ( #25313 )
2020-10-09 16:22:51 +05:00
Zainab Amir
9130c28091
Suppress PII from discussion/forum ( #25298 )
2020-10-08 19:02:41 +05:00
Kshitij Sobti
9adeeb0056
Remove report path from task output data
...
Use alternative method for getting report download link
2020-09-11 14:12:28 +02:00
Kshitij Sobti
559ff54a06
Add UI to display report creation progress.
...
Adds an in-line status display for problem report generation progress.
Co-authored-by: Adam Kovari <adam@opencraft.com >
Co-authored-by: Eugeny Kolpakov <eugeny.kolpakov@gmail.com >
Co-authored-by: Kshitij Sobti <kshitij@sobti.in >
Co-authored-by: Braden MacDonald <braden@opencraft.com >
2020-08-12 19:05:31 +05:30
Sankar Raj
d00633e942
[BD-10] remove edx-pattern-library from JS bundles ( #24165 )
...
Co-authored-by: Sankar Raj <sankar.raj@crystaldelta.com >
2020-07-27 12:19:15 -04:00
Aura Milena Alba
078dcc4296
Remove use pattern library of EdxFragmentView and discussion/maintenance_fragment. ( #24029 )
2020-06-18 09:10:18 -04:00
Adeel Khan
5fa34b4df1
Fix discussion template for translations.
...
A parsing error was causing underscore template
not to get processed during message
extractions and to be available on transifex.
PROD-1504
2020-04-27 12:02:46 +05:00
SaadYousaf
2bc5f1b16e
fixing root cause of flaky js test for discussions.
2020-04-23 16:26:32 +05:00
Dillon Dumesnil
dd6e7fd7ad
Exclude script and style tags content
...
Also removing the exclusion of link since links never have content
2020-04-09 08:56:20 -07:00
Dillon Dumesnil
1bbfe2d583
Shorten Welcome Message fix
...
We want to ignore certain tags when they show up in the HTML.
This now ignores script tags and link tags (for stylesheets)
2020-04-08 07:46:46 -07:00
Michael Terry
7a71356cd2
Cut off long course welcome messages
...
If a course welcome message is very long, cut it off with an
ellipsis and show a Show More button to reveal the full thing.
AA-46
2020-04-07 10:49:40 -04:00
Adam Butterworth
a628016436
Prevent inline discussions from pulling focus on load ( #23254 )
...
TNL-7094 Remove auto focusing of InlineDiscussion views on load. Removing this unneeded focus management eliminates scroll issues when discussions are contain in an iframe in a parent page.
2020-03-03 08:57:30 -05:00