Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

vc update #1974

Merged
merged 17 commits into from
Jan 9, 2019
Merged

vc update #1974

merged 17 commits into from
Jan 9, 2019

Conversation

xwzheng1020
Copy link
Contributor

  1. add new ui for virtual cluster action(add, delete, change status and update capacity)
  2. only admin-user has these privileges

@msftclas
Copy link

msftclas commented Jan 5, 2019

CLA assistant check
All CLA requirements met.

@coveralls
Copy link

coveralls commented Jan 5, 2019

Coverage Status

Coverage increased (+0.01%) to 52.734% when pulling 284c2c1 on Leinao:vc_update_coding into ca93b41 on Microsoft:vc_update.

@fanyangCS fanyangCS requested review from Gerhut and mzmssg January 7, 2019 02:56
@Gerhut
Copy link
Member

Gerhut commented Jan 7, 2019

Please fix all lint errors first. npm run lint -- --fix could helps

@fanyangCS
Copy link
Contributor

@weixingzhang , can you attach a snapshot of the UI for reference?

@xwzheng1020
Copy link
Contributor Author

@fanyangCS
I have update some figures in the design.
We also have a test url here. username/password is admin/admin-password.

Copy link
Member

@Gerhut Gerhut left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we currently do not face to a11y, remove all aria tags is OK if you do not sure what they does.

CSP issues will reproduced in Edge in some version of Windows Server systems.

src/webportal/src/app/vc/vc-modal-component.ejs Outdated Show resolved Hide resolved
src/webportal/src/app/vc/vc-modal-component.ejs Outdated Show resolved Hide resolved
src/webportal/src/app/vc/vc-modal-component.ejs Outdated Show resolved Hide resolved
src/webportal/src/app/vc/vc-modal-component.ejs Outdated Show resolved Hide resolved
<div class="modal-vc-content">
<div class="form-group edit-group">
<label for="editName" class="edit-group-item">Name</label>
<input id="editName" name="nameEdit" class="add-vc-fild form-control" placeholder="Virtual Cluster Name" readonly=true>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no =true needed in readonly attribute

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this field nameEdit be readonly? I didn't find that the PUT virtualCluster API includes vc name.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is better to set it readonly.

src/webportal/src/app/vc/vc.component.js Outdated Show resolved Hide resolved
src/webportal/src/app/vc/vc.component.ejs Outdated Show resolved Hide resolved
src/webportal/src/app/vc/vc.component.ejs Outdated Show resolved Hide resolved
src/webportal/src/app/vc/vc.component.ejs Outdated Show resolved Hide resolved
src/webportal/src/app/vc/vc.component.js Outdated Show resolved Hide resolved
@mzmssg mzmssg merged commit 9b140ef into microsoft:vc_update Jan 9, 2019
mzmssg added a commit that referenced this pull request Jan 10, 2019
* VC update API doc (#1816)

* refine api doc

* refine doc

* refine

* refine

* [VC update] rest-server (#1831)

* change scheduler storage to zookeeper

* add queue update

* fix

* add vc update api

* add yarn health check, refine error

* add api doc

* refine api doc

* refine api doc

* update yarn response

* add unit test

* unit test

* replace parseint with math.round, fix unit test

* replace mathjs with build-in Math

* vc update (#1974)

* Update yarnContainerScript.mustache

add entrypoint=""

* add design for vc update

* refine design of vc update

* add description of /api/v1/:username/virtualClusters

* remove design of vc_update to dir of webportal

* refine design of vc

* VC function development

* vc style modification

* vc list style modification

* Modify the prompt

* repair bug

* remove design of vc_update and refine annotation

* refine var name

* Change eslint error

* Optimize the code according to pr

* Modified read-only
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.

6 participants