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
* 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
* feat: LOGO_DESTINATION env var added for use it on Header component
On index.js file of the Header component, currenly there is a hard-coded link of "https://www.edx.org". I added a new enviroment variable LOGO_DESTINATION to use it in this Header.
I have also added a mechanism to use the LMS_BASE_URL environment variable if the LOGO_DESTINATION environment variable is not found or is null.
* fix: Hard-coded link in Header component changed by a env var
`index.jsx` file of Header component updated with change the hard-coded link of https://www.edx.org with a component property.
`index.jsx` file of root project updated. Added the environment variable LMS BASE_URL to the parameters of the Header Component
* fix: lint errors in previous commits
* style: change structure of the solution
* 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>
We currently have a hard-coded “edX” string in Gradebook’s index.html file. This replaces that string with the value of the SITE_NAME environment variable, which is set at build time from .env.development for dev, and from the build process at production build-time.