* feat: deprecated shallow in tests
* chore: test utils from dev to dependencies
* chore: removed unused imports
* chore: restore packages to devDep
* chore: renamed header to pass lint
* feat: deprecated shallow in tests and added testing Utils
* chore: removed deprecated tests
* chore: commit to trigger test again
* chore: fix import warning for new testing file
* chore: address comments
* feat: bumped frontend-platform to v6
* chore: bumped jest to v29
* fix: updated snapshots for failing tests
* refactor: updated frontend-build, updated snapshots
* feat: updated build and platform major versions, along with edx packages
* refactor: updated index.test to resolve failing test
* refactor: major version upgrade for react-unit-test-utils
* refactor: updated package-lock
Prior to this change, the MFE would fail to render with any PUBLIC_PATH
set. Because that is now handled entirely by `frontend-platform`, we
can avoid referring to PUBLIC_PATH entirely, here.
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;
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.
* 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
* 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>
* Show Course Role Members
* add option to hide FilterBadge value for boolean filters
* chore: bump package to 1.4.20
Co-authored-by: Nathan Sprenkle <nsprenkle@edx.org>