Skip to content

Variable Slots - max and min validators based on taskSlotsPerNode selection#2262

Merged
cRui861 merged 6 commits intomasterfrom
rechen/slot-pricing-ui
Jan 28, 2021
Merged

Variable Slots - max and min validators based on taskSlotsPerNode selection#2262
cRui861 merged 6 commits intomasterfrom
rechen/slot-pricing-ui

Conversation

@cRui861
Copy link
Member

@cRui861 cRui861 commented Jan 26, 2021

Add max and min validators based on taskSlotsPerNode and vmSize selection.

  • Add dynamic max validator errors that change if users select a different vmSize
  • Add min validator limiting the minimum slots to be 1
  • Add "Optional Settings" section from elements originally in "Pool Details" to match portal experience

New "Pool Details" and "Optional Settings" UI:
image
image

taskSlotsPerNode default maximum validator is 256:
image

taskSlotsPerNode default minimum validator is 1:
image

Max validator error message changes dynamically depending on the vmSize chosen by user and taskSlotsPerNode inputted:
image

@codecov
Copy link

codecov bot commented Jan 26, 2021

Codecov Report

Merging #2262 (f3e65ad) into master (37b5261) will decrease coverage by 0.04%.
The diff coverage is 5.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2262      +/-   ##
==========================================
- Coverage   65.23%   65.19%   -0.05%     
==========================================
  Files         903      903              
  Lines       25693    25704      +11     
  Branches     5102     5101       -1     
==========================================
- Hits        16761    16757       -4     
- Misses       8932     8947      +15     
Impacted Files Coverage Δ
...l/action/add/pool-create-basic-dialog.component.ts 9.80% <5.00%> (-0.43%) ⬇️
.../services/network/network-configuration.service.ts 12.50% <0.00%> (-2.21%) ⬇️
src/app/utils/pool-utils.ts 82.47% <0.00%> (ø)
src/app/models/pool-os-skus.ts 100.00% <0.00%> (+11.76%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0ef9007...f3e65ad. Read the comment docs.

@cRui861 cRui861 merged commit f074219 into master Jan 28, 2021
@cRui861 cRui861 deleted the rechen/slot-pricing-ui branch January 28, 2021 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants