Changes
-------
- Bump frontend-platform to bring `intl-imports.js` script
- Move all i18n imports into `src/i18n/index.js` so `intl-imports.js` can
override it with latest translations
- Add `atlas` into `make pull_translations` when `OPENEDX_ATLAS_PULL`
environment variable is set.
- Refactored i18n utils into own file to avoid overwriting them by
atlas
Refs: [FC-0012 project](https://openedx.atlassian.net/l/cp/XGS0iCcQ) implementing Translation Infrastructure OEP-58.
* feat: update assignmetn filter component to function component
* chore: redux hook tests
* fix: tests
* chore: update more components to hooks
* chore: moar componentsAssignment
* chore: moar component (StudentGroupsFilter)
* chore: gradebook filter component update
* chore: fix a few places of typo
* chore: use global store for dispatch to avoid out of component
* chore: compromise the test string for local machine
* chore: linting
* test: add more tests for coverage 100%
* chore: linting
* chore: add coverage badge on readme
* chore: bump package version
---------
Co-authored-by: Leangseu Kim <lkim@edx.org>
Before, gradebook was reading config from `process.env`
directly, which locked the app into using only
static (build-time) configuration. In order to
enable dynamic (runtime) configuration, we update
gradebook to use frontend-platform's standard
configuration interface: `mergeConfig()` and `getConfig()`.
Bumps version from 1.5.0 to 1.6.0.
(I would normally just do a patch release for a fix, but the version
was hasn't been bumped for a while, so adding in full runtime
configuration support seemed like it warranted a proper
minor version bump.)
Co-authored-by: Ghassan Maslamani <ghassan.maslamani@gmail.com>
* fix: removed coveralls and codecov packages with update in ci uploader
* fix: pinning npm to version 8.5.x
Co-authored-by: Abdullah Waheed <abdullah.waheed@arbisoft.com>
* refactor: updated table deprecation of HistoryTable
* refactor: updated table deprecation of OverrideTable
* refactor: updated table deprecation of GradebookTable
* refactor: updated unit tests of OverrideTable according to new changes
* fix: error for css
* fix: strict dictionary error for react component
* chore: update css and handle syntax errors
* chore: update unit test
* fix: remove datatable row status and update tests
* fix: test coverage
Co-authored-by: Leangseu Kim <lkim@edx.org>
Co-authored-by: Ben Warzeski <bwarzeski@edx.org>
* refactor: simplify bulk management enabling
Formerly, a course had to have bulk management enabled and have a master's
track. This painted us into a corner where we had to create a
workaround for enabling bulk management on non-master's track courses.
Instead, this relies only on an enabled flag from edx-platform (based on
a course waffle flag) which simplifies the enabling code here.
* feat: remove unneeded bulk management allow-list
* clean up and test segment integration
* add transifex config
* move user-facing messages into messages files and translate in usage
* lint cleanup
* fix introduced typos
* remove dead code
* remove should-be-ignored temp translation files
* make HistoryHeader use node-type to support translations
* fix apostrophe
* fix snapshot
* v1.4.42
* clean up and test segment integration
* add tests for action utils
* add tests for store aggregator and utils
* clean up un-used paths in thunkAction testUtils
* clean up filter reducer coverage
* add filter reducer tests for filterMenu actions
* clean up grades selectors coverage
* separate App and add unit tests
* ignore external files in coverage analysis
* remove old/unused code from StrictDict and clean up tests
* clean up FileUploadForm coverage
* more cleanup for StrictDict tests
* clean up GradesTab test coverage
* clean up GradesTab coverage
* ignore reducer-mapping for unit-test coverage
* clean up AssignmentFilter test coverage
* add index-level test coverage
* temp remove snapshots
* re-add App snapshot
* v1.4.41
* v1.4.40
* ignore accepted import eslint errors
* clean up LmsApiService into smaller, tested modules in lms service
* set default format before initial fetches
* fix bulk grades export and grade filtering
* fix clearing assignment grade filter badge
* re-connect grade format control
* simplify histry row entries
* clean up BulkManagement tab component and add docstrings/unit tests
* slightly more breakup and docstrings
* fix: make updateQueryParams push to history again
* update paragon to get latest Hyperlink version
* fix display issues from PR
* make redux exposure only available in development
* fix message
* add oxford comma
* update snapshots
* v1.4.37
* fix(deps): bumping frontend-platform to latest
This picks up a change in which a blank SEGMENT_KEY no longer causes the MFE to make a request to segment which results in a 404.
This was a requested fix for lilac.
* fix: cleanup environment variables
- Removes stray commas from the end of each environment variable in .env
- Removes CSRF_COOKIE_NAME completely - it is not used.
- Replaces default values with empty strings ‘’ - this will make the defaults falsy, rather than have them get converted to a string “null” value, which is very misleading. It also enables the SEGMENT_KEY fix mentioned in the prior commit to work.
* fix: conditionally enable the segment middleware
Only add it if SEGMENT_KEY is truthy.
* build: bumping version number
* add redux-toolkit
* update actions to use redux toolkit action creators
* add StrictDict
* ready for testing
* update testing for reducers
* update unit testing for reducers
* export reducers from initial state
* update unit test
* reorder the test reducer's handler
* remove unnecessary testing data
update
* update actions to use redux toolkit action creators
* testing
* thunkActions tests
* component thunkAction reference updates
* linting
* a little bit of doc and syntax cleanup
* fix tests
* assignment type actions tests
* actions testing and cleanup
* selectors cleanup
* fix store action reference
* update package-lock.json
* add a bit of test coverage
* strict selector export
* docstrings for test utils
* docstrings
* fix assignment filtering
* some cleanup
* update version to 1.4.29
Co-authored-by: Leangseu Kim <lkim@edx.org>