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: add column for full name for masters students
* refactor: move masters asterisk out of messages file
* refactor: simpletext -> text
* refactor: asterisk const
* 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>
When the assignment type is selected, but assignment id isn't - the
courseGradeMax, courseGradeMin assignmentGradeMax and assignmentGradeMin
values become nullable. This leads to incorrect filtering results.
Fix:
- Preserve the courseGradeMax and courseGradeMin values in such case;
* feat: fa_IR code added to transifex_langs
* feat: Persian language fa-ir added to messages
* feat: Persian translations added
* refactor: reorder imports alphabetically
This change make it possible if LMS url to be changed, that
the last value will be picked.
This is simlair openedx/frontend-app-course-authoring/pull/389
which issue overhangio/tutor-mfe/issues/86, the fixes is needed
so that dynamic config would work with tutor:
overhangio/tutor-mfe/pull/69
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>
* 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>
These messages have been updated to be more descriptive.
The message descriptions need to be more descriptive in order to
be easily translated (i18n) into other languages.
Now that the frontend-app-gradebook resource was added to Transifex, we can
start pulling strings fromt there. For now, the project contains very few
translated string.
Strings were pulled by running: make pull_translations
This is for https://github.com/openedx/build-test-release-wg/issues/107
* move GradesTab and BulkHistoryTab to views and control from container through redux
* add data logic for view control and import success toast
* add NetworkButton component for download/upload buttons
* remove download button from Bulk History view and update heading and help text
* add View control button to GradebookHeader if bulk management available
* remove FilterMenuToggle from SearchControls
* update BulkManagementControls to now include upload/download grades buttons
* add Import Success toast
* rename UserLabel to FilteredUsersLabel for clarity
* add InterventionsReport component
* update GradesView top-level component
* messageing update (separate messages into per-component files)
* style updates
* update test plan
* clean up css and add docstrings
* typo fix
* fix typo in bulk management view header
* 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