-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Add slider to adjust capacity_adjustment #10063
Add slider to adjust capacity_adjustment #10063
Conversation
<div data-cy="number-forks"> | ||
<Plural value={forks} one="# fork" other="# forks" /> | ||
</div> | ||
<Slider |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Slider does not support ouiaId yet. @tiagodread I added data-cy
in order to ease testing. Let me know whether they are good enough.
Running e2e tests. |
Build succeeded.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -352,7 +352,7 @@ You can learn more about the ways lingui and its React helpers at [this link](ht | |||
### Setting up .po files to give to translation team | |||
|
|||
1. `npm run add-locale` to add the language that you want to translate to (we should only have to do this once and the commit to repo afaik). Example: `npm run add-locale en es fr` # Add English, Spanish and French locale | |||
2. `npm run extract-strings` to create .po files for each language specified. The .po files will be placed in src/locales. When updating strings that are used by `<Plural>` or `plural()` you will need to run this command to get the strings to render properly. This commmand will create `.po` files for each of the supported languages that will need to be commited with your PR. | |||
2. `npm run extract-strings` to create .po files for each language specified. The .po files will be placed in src/locales. When updating strings that are used by `<Plural>` or `plural()` you will need to run this command to get the strings to render properly. This command will create `.po` files for each of the supported languages that will need to be committed with your PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch
awx/ui_next/src/screens/InstanceGroup/Instances/InstanceListItem.test.jsx
Show resolved
Hide resolved
a01e212
to
1dd1e4e
Compare
I followed with @trahman73 about the alignment used on the mockups, his feedback - All components should be vertically aligned on the middle. Updated accordingly. |
Build succeeded.
|
1dd1e4e
to
a10d015
Compare
Build succeeded.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
a10d015
to
e6e7031
Compare
Build succeeded.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've verified manually, we are following the same behaviour like the old UI, I'm still working on e2e test for this change.
@nixocio we can merge this PR after a rebase |
Add slider to adjust capacity adjustment. Also add a new custom hook, useDebounce. See: ansible#7777
e6e7031
to
dfb0710
Compare
Build succeeded.
|
Build succeeded (gate pipeline).
|
Add slider to adjust capacity adjustment.
Also add a new custom hook, useDebounce.
See: #7777