Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

[PROD] Next Release #83

Merged
merged 10 commits into from
Aug 9, 2021
Merged

[PROD] Next Release #83

merged 10 commits into from
Aug 9, 2021

Conversation

maxceem
Copy link
Contributor

@maxceem maxceem commented Aug 2, 2021

No description provided.

maxceem and others added 10 commits August 2, 2021 12:26
* Add the Roles page which allows CRUDL operations on Roles.

Addresses https://github.com/topcoder-platform/taas-app/issues/403
* The `modalError` of the previous operation was still being displayed
  even after closing & opening the modal again.
* This fix resets the `modalError` each time it re-opened.

Addresses https://github.com/topcoder-platform/taas-app/issues/423
* Fix a typo in the "Successfully craeted the role." message
  of role creation notification.
  * Replace `craeted` -> `created`

Addresses https://github.com/topcoder-platform/taas-app/issues/422
* Fix a bug with the `IntegerField` controls of the `RoleForm`,
  that was occurring when user trying to increase/decrease
  a number field which initially has `null`.
* This was causing `NaN` values in the field.
* This fix starts `IntegerField` controls with `0`,
  in case the user is trying to increase/decrease a `null` field.

Addresses https://github.com/topcoder-platform/taas-app/issues/421
fix(roles): roles page bugs
* Fix an issue which was allowing users to be able to add non-existing skills.
  * The `Typeahead` component was also firing the `onChange` event on Blur, Enter and Esc presses.
  * To overcome this, added a property (`enforceListOnlySelection`) to the component. If it's set, the `onChange` event will be fired only if the input is in the suggestion list.
* Add `minLengthForSuggestions` property to the `Typeahead` component.
  * This is the minimum length to retrieve & display suggestions and was hardcoded (with 3) in the component.
  * The new property allows to specify it. The ability to set it to `1` is useful for displaying skills like `C`, `C#`, which have less than 3 characters.

Adresses https://github.com/topcoder-platform/taas-app/issues/426
* Remove +/- buttons in the integer fields of Roles form.
* Allow manual input in the integer fields.
* Add a logic to make time conversion between human-readable strings (e.g. "2 weeks") and numeric hours (336).
* Add proper validations on manual inputs.

Addresses: https://github.com/topcoder-platform/taas-app/issues/425, https://github.com/topcoder-platform/taas-app/issues/403#issuecomment-892774361
@maxceem maxceem marked this pull request as ready for review August 9, 2021 07:03
@nkumar-topcoder nkumar-topcoder merged commit 49b6589 into master Aug 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants