-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hotfixes release for sprint ending 2021-05-24 #3166
Hotfixes release for sprint ending 2021-05-24 #3166
Conversation
Release hotfixes to production
- get rid of `[vuex] unknown mutation type: policies/SET_POLICIES` error by importing the whole policies module and then overriding only values that are needed for a test - remove tests that were prone to giving false positives and weren't testing responsibilities of PolicyModals component
- user props and events in simpler modal components (PoliciesModal, TermsOfServiceModal, PrivacyPolicyModal, CommunityStandardsModal) to decouple them from store to make logic simpler and easier to test - related tests simplifications of PoliciesModal - related updates of store and PolicyModals component that is now the only controller component encapsulating all Vuex logic - some more tests for PoliciesModal nad PolicyModals
- export getters, mutations, and actions to allow testing them directly instead of the need to initialize the whole store, similarly to how we test getters etc. of our other store modules (this has also allowed deletion of mocks that are not related to this test suite) - use hardcoded sample data in tests to improve clarity and make orientation in tests faster when reading them as documentation - add more documentation strings to store functions - move the test for updating `window.user` object to plugin.spec.js to make sure that `window.user` will be updated every time `setPolicies` mutation is called, and not only when `setPolicies` is called from `acceptPolicy` action
`KModal`'s content slot is already wrapped in form => leaving `VForm` here would result in nested forms, which is not supported and could result in bugs (see https://stackoverflow.com/questions/379610/can-you-nest-html-forms). - remove `VForm` - replace `Checkbox` with `KCheckbox` (related to `VForm` deletion in terms of validation logic) - update validation logic to resemble `VForm`'s behaviour but to work with `KCheckbox` and native `<form>` in `KModal`
Because `PolicyModals` was in both `UsingStudio` and `SettingsIndex` components, it was open two times which also caused a focus bug. This removes `PolicyModals` component from `UsingStudio` and leaves it only in `SettingsIndex`.
…nsivedialog-policiesmodal KDS to Studio: Use KModal in policy modals
Master release for sprint ending 2021-05-10
Production into unstable
Delete deployed squashed migrations. Remove tests for removed migrations. Remove some deprecated calls.
Upgrade to django 3.1
Bumps [django-registration](https://github.com/ubernostrum/django-registration) from 3.1.1 to 3.1.2. - [Release notes](https://github.com/ubernostrum/django-registration/releases) - [Commits](ubernostrum/django-registration@3.1.1...3.1.2) Signed-off-by: dependabot[bot] <[email protected]>
Add ordering support to where command.
…abot/pip/django-registration-3.1.2 Bump django-registration from 3.1.1 to 3.1.2
Pagination integration proof of concept
Add Brazilian Portuguese
Current testing results:
@pcenov I mostly worked on Firefox, so please start your testing on Chrome, thank you! |
Tested all of the above listed QA scenarios (non-admin) on Chrome in both Win 10 and Ubuntu + tested the critical workflows. |
Another critical regression issue found today is #3173. |
@radinamatic the following PRs are tested and verified as fixed: #3177, #3176, #3174 |
Current testing results:
General slowness and 50X errors popping out all the time make me think this is not yet ready to go into production. |
@radinamatic today I regression tested the main workflows and the only outstanding issue is the one for the search timeouts which I've reported here: #3186 |
Summary
Review policies during registration
View admin user list
View paginated search result resources
View paginated catalog list as logged in user
QA Scenarios
View policies from login page
Review policies during registration
View admin channel list
View admin user list
View paginated search result resources
View paginated catalog list as logged in user
View studio in Brazilian Portuguese
Critical workflows