Commit Graph

76 Commits

Author SHA1 Message Date
xusongfu
206ffc9e92 fix: fix the hints of allocation pool
When automatically assigning ip, modify the tips based on all subnet allocation pools

Change-Id: I42fa46b1bf6c3af77d69152701dfd7ff5209a5a9
2023-07-19 15:26:24 +08:00
Jingwei.Zhang
ec59419f4f feat: update color variables
Use color variables to set color in less and jsx, this makes it easy to change the theme for all pages.

Change-Id: I9b82c4624826854d40d11da4e6ce4a9137b86085
2023-05-25 16:44:59 +08:00
Jingwei.Zhang
b30e7ae9a3 feat: support clear all selected data for select-table
Support clear all selected data for the select-table and tab-select-table component.

Change-Id: If639e04f5c3327eda1bdce3652f013f628e0c1b5
2023-04-19 18:30:18 +08:00
Jingwei.Zhang
417e729e0d feat: support textarea in the KeyValueInput component
Provide textrea in the KeyValueInput component, to input more content, and provide the textareaRows property to set the default rows of the textarea to display.

Change-Id: I6849fab3933cef82e1293f7bbe0f3006e19b6b38
2023-01-28 16:05:52 +08:00
xusongfu
5f5b8c3cd5 feature: support some new params and fix some issues of zun ui
1. add health check
2. add exposed ports
3. add auto remove
4. add entrypoint
5. add validator to some key-inputs
6. fix the image resource by glance or docker
7. fix step name from miscellaneous to others

Change-Id: I40180a44657ace3419c009f73ab527c99fb483d3
2023-01-10 09:50:16 +08:00
xusongfu
f384bd4b73 feature: Add listener input event for instance-volume component
1.If the min attribute is set, the onchange event will not be triggered when the value is lower than min size

2.This is not conducive to our validation of input values, which leads to some unknown bugs

Change-Id: Id1ad89fce61681a6e4e96b02ff1a3c804a60ab35
2022-12-14 10:09:59 +08:00
zhangke
124fdc3c2a fix: add disabledRemoveFunc prop in AddSelect component
Add disabledRemoveFunc prop in AddSelect component to handle if disable the remove button and edit item

Change-Id: I10dc6ebc3d55305ac4829677c0edd20a549a8662
2022-12-13 18:43:55 +08:00
zhangke
594db17643 fix: add disableEditKeys prop in AddSelect component
1. add disableEditKeys prop in AddSelect component to handle if disable the remove button and edit item

Change-Id: Icedad9b2e4ff29f38f00235a88b1dbe8e44df888
2022-12-12 15:08:06 +08:00
zhangke
719e26ebaa fix: add middleComponent prop in KeyValueInput component
1. add middleComponent prop in KeyValueInput component to support show default equal sign or others

Change-Id: I29bdfb3df6c859b2522b2a10a21173defce7765e
2022-12-05 16:48:49 +08:00
xusongfu
8401c5b546 fix: fix the instance-volume in form items
fix the delete checkbox to get better extensions

Change-Id: Iab9a7c5c2e609d8794369ea52c7c07e0b0d941e8
2022-11-25 15:36:27 +08:00
zhangke
5a476a09a4 feat: add props in BaseForm
1. add hasFooter props to judge show the form footer in BaseForm
2. add formStyle and footerStyle props to set form and footer style
3. support add placeholder props in the KeyValueInput component

Change-Id: I6627a1fdbb92f95985c022ad15a19efabe4842c1
2022-11-03 17:45:53 +08:00
xusongfu
442d055756 feature: Support custom button for the upload
Support custom button in the upload form item

Change-Id: Ib246c437e91814352d75fa2fc2bde9e7c1be8888
2022-10-28 14:28:10 +08:00
zhangke
33f90ae331 fix: No data disk is displayed on the ConfirmStep
1. get instance snapshot data disks when rendering data disk
2. support contentStyle property for Descriptions component
3. add contentStyle for the data disk item to present multiple data disk values

Closes-Bug: #1992739
Change-Id: I62d92620574a5ee4ffff8f8d20958ad42cc4221a
2022-10-19 16:41:25 +08:00
Jingwei.Zhang
d158a05bfb feat: display the id/name column in the table in a unified style
1. update the port id/name column in the MemberAllocator component which is used in create load balancer action
2. update the database backup id/name column in the database backup list page
3. update the configuration id/name column in the database configuration list page
4. update the id/name columns in the vpn endpoint/ike policy/ipsec policy/gateway list page
5. update the volume id/name column in the volumeSelectTable component which is used in instance attach volumes action
6. update the port id/name column in the network step in create instance action

Change-Id: Idc3bc161a56b06cb83f9e4c9543edaf0762a4669
2022-10-11 11:46:09 +08:00
xusongfu
6482bb0bdc fix: Fix the disable property of check-box-group
Fix the disable property of check-box-group

Closes-Bug: #1990643
Change-Id: I9c178f8c9eeace68ebdae5991e44ddd73574d4af
2022-09-23 17:03:44 +08:00
zhangjingwei
6f11bb4d11 fix: fix the error messages for required fields in forms
1. Fix the error messages for the required fields in forms
2. Update i18n

Closes-Bug: #1989553
Change-Id: Iad8f61ec00cd4511f44de8acfcd230342e4560c1
2022-09-14 16:42:53 +08:00
Zuul
a4590711c8 Merge "fix: allowClear property is set to false when select is required" 2022-08-25 15:46:22 +00:00
Jingwei.Zhang
3ae52c2adf fix: fix port/port_range required check when create/edit port forwarding
1. Fix port/port_range required check when create/edit port forwarding
2. Update FormItem component required check: when the required property of formItem is true, it will check whether the value exists by default, also can cancel this check

Change-Id: Idbc6d84361e1fd4670327eb96c60dbd4f5a32c13
2022-08-25 11:52:27 +08:00
7772d343d3 fix: allowClear property is set to false when select is required
optimizes the logic for allowClear property values, setting it to false when select is required

Change-Id: I773831872b490ef49536039f2cef773939c0a361
2022-08-24 11:34:58 +08:00
xusongfu
964209ca85 fix: fix the formRef error in browser console
Fix the `formRef` to `formref` as prop of a DOM element

Change-Id: If55a74e6962e1ca44653d3501bdc39d4734257b3
2022-08-22 18:48:28 +08:00
Jingwei.Zhang
6354d67d9d feat: use the port list page to instead of the virutal adapter
1. Add port list page, the old virtual adapter list page only show the
compute:nova bouned ports and unbouned ports
2. Update actions's allowed check: detach fip
3. Update port store: from virtualAdatperStore to portStore
4. Adjust file/folder path: from virtualAdapter to port

Change-Id: Iceec96731a9fd17de429b4e6061490a26e562162
2022-08-16 13:48:08 +08:00
Jingwei.Zhang
57a17b83d2 refactor: Update Label component to support floating ip's icon
1. Update Label component to support floating ip's icon
2. Update the floating ip display in the associate fip form
3. Update the floating ip display in the create port forwarding form
4. Update the floating ip display in the edit port forwarding form

Change-Id: I38ee2354c387d213cdd574f966be96afb8fcd433
2022-08-10 17:44:10 +08:00
Jingwei.Zhang
49bc50dbea fix: remove Chinese in the svgs/comments
1. remove Chinese in the svgs/comments
2. convert Chinese to English for some svgs/comments

Change-Id: I2927a87ef4db060ae385e0d3f1a54d658f1fd200
2022-08-09 15:31:59 +08:00
Jingwei.Zhang
612152cdbb fix: update 'gigabytes' to 'capacity' in the titile
1. Update 'gigabytes' to 'capacity' in the title
2. Add the blank before '(GiB)' and '(MiB)'
3. Update related i18n

Change-Id: I46de9793f9fb32a8f33915775bdfd5d486a84253
2022-08-08 10:55:23 +08:00
Jingwei.Zhang
a6820a4ca8 fix: fix the server group member label in quota
1. Fix the server group member label in the quota overview
2. Fix the server group member label in the quota manange form
3. Update the label style in the quota manage form to better display the
resource label
4. Fix the 'of' word in some titles

Change-Id: I000c783f05ddadf5a6649d56c19263ee4af81e82
2022-08-05 08:40:19 +08:00
Jingwei.Zhang
3f9ca389b8 fix: fix the plural form of the menu words && tab title words
1. Fix the plural form of the menu words
2. Fix the plural form of the tab title
3. Fix the related e2e case

Change-Id: Id37115d9efac341413b401d12049cf0d621e0385
2022-08-01 13:01:15 +08:00
xusongfu
df67bd758f fix: fix create zun container
1. Optimization parameters
2. Use select-table for image
3. Fix ZunVolume component

Change-Id: Ic8ce3fb91fd70848766003fe24d782b3347e055b
2022-07-07 22:45:43 +08:00
xusongfu
7ca6d2f8a3 fix: fix some resource items to select-table
Fix some resource items to select-table in magnum template

Change-Id: Ie134d76cbb845aaa763cc444fda72f5511af1870
2022-07-06 17:32:01 +08:00
Jingwei.Zhang
2431e5a5d5 fix: fix multi role select in transfer component
1. Update Transfer component to support custom table onRow func
2. Fix the trigger to select the row when click select in project manage user form
3. Fix the trigger to select the row when click select in project manage user group form
4. Fix the trigger to select the project when click select in create user page
5. Fix multi select filter the inputed role name in project manage user form
6. Fix multi select filter the inputed role name in project manage user group form
7. Fix multi select filter the inputed role name in create user page

Change-Id: I0ee4a3db3e923384cf62c44e1801cabfca887217
2022-06-28 16:27:53 +08:00
xusongfu
7d890f64a6 fix: fix cluster
1. Fix the params when create cluster
2. Fix kepair and template to select-table
3. Add status i18n
4. Ignore some params when edit cluster template

Change-Id: I32cd968336c4e6119d08f32429cc15738431f170
2022-06-25 07:40:19 +08:00
xusongfu
ec4bcb3c93 fix: fix cluster template
1. Fix the params when create or update cluster template
2. Show search for all select items
3. Fix the route path for update cluster template

Change-Id: Ic3435abb340f6e129815fde368b5b12bcabcdcb5
2022-06-23 18:27:54 +08:00
Jingwei.Zhang
5c3ea06aba fix: Update user create form style
1. Update style in user create form
2. Refactor pathname check in list page
3. Fix project role when remove project in user create form && project manage user form
4. Add loading style to Transfer component

Change-Id: I6eddf27a096aa35236430595d8329782ae5b6ed1
2022-06-10 15:11:46 +08:00
Jingwei.Zhang
6f9bb5808e refactor: Refactor project
1. Refactor project store
2. Fix projects in domain detail page
3. Update user group role info in user detail page: add auth by group info
4. Refactor create project
5. Refactor edit project: remove project enabled display
6. Refactor manage user: transfer support filter data by domain name
7. Refactor manage user group: transfer support filter data by domain name
8. Update formItem prop wrapperCol to support more flexible styles

Change-Id: I4720277053242c66c49dcde067444e60c14598da
2022-06-08 10:40:59 +08:00
Jingwei.Zhang
b6999ea0a1 refactor: Refactor user group
1. Refactor group store
2. Refactor create group: add domain prop when create
3. Refactor edit group
4. Refactor user group manage user
5. Refactor group detail
6. Suppport actions in role detail
7. Refactor group list: add project/role column && domain dolumn; remove
user number column

Change-Id: If8f250da3ac27e5050c9fd4d31ad9954177ed0fe
2022-06-07 13:14:50 +08:00
Jingwei.Zhang
eae1e27256 fix: Fix GB/MB unit to GiB/MiB
1. Fix size unit to GiB/MiB for
volume/snapshot/backup/image/flavor/monitor
2. Update i18n for Zun

Change-Id: I97bc881b438c9922a2123c36b7e8ea40e5307fd2
2022-05-25 14:48:02 +08:00
Zuul
1bb2c20d26 Merge "feat: Update trove database" 2022-05-25 03:26:52 +00:00
Reşit Demir
d4ae10a03c Add Zun UI to Skyline-Console
Change-Id: I6e52db8547e8bfb1379320c8ff4d16952f3faac3
2022-05-24 16:20:59 +00:00
xusongfu
be1283358b feat: Update trove database
1. Add validator for database and user
2. Add user create in trove instance user list
3. Add database create in trove instance database list
4. Fix database column in trove instance user list

Change-Id: Ifa6143e15049b5a7fd09aa385064e757d834fadc
2022-05-25 00:01:49 +08:00
xusongfu
b8675c197c feat: Support more protocals for loadbalance
1. Support https、udp、http for listener creating in loadbalance
2. Fix protocals for pool creating and editing in loadbalance
3. Fix protocals for helth monitor editing in loadbalance
4. Change the component definition to get better extension functionality
5. Add certificate for https listener in loadbalance

Change-Id: I51c953c647b23d516461eb3a0c401d4216c1676b
2022-05-17 20:55:01 +08:00
yangao
3defbe8330 fix: Decorator style for refactored components
Decorator style for refactored components

Change-Id: Ib85517474ace19967b4901e388800c1258f246be
2022-05-17 14:48:38 +08:00
yangao
1da0258d7e fix: Optimize the directory structure of the resources folder
Optimize the directory structure of the resources folder

Change-Id: I34893e2c622254df8d4b94ef11352ef7e97f9418
2022-05-13 11:54:12 +08:00
xusongfu
f48011a983 fix: add i18n and fix datastore of trove
1. The trove creates an instance affinity and anti-affinity label that requires i18n
2. Add i18n for trove instance status
3. The value of the database version of the configuration group is incorrectly set
4. Add allowClear true for select component

Change-Id: Ic6058530b57b1f8f7face48061c5a3b018459a5a
2022-05-06 19:25:09 +08:00
Jingwei.Zhang
f3c284a835 feat: Support manila share type page
1. Add share type page
2. Add create share type
3. Add update share type
4. Add manage access
5. Add delete share type
6. Add share type detail page
7. Add create extra spec
8. Add update extra spec
9. Add delete extra spec

Change-Id: I2d1497b8716b178693e127ae7350e9946a479817
2022-04-21 15:10:42 +08:00
xusongfu
f91454fdcb fix: Fix role list and monitor data and others
1. Fix the role list fetch in user manger and system role
2. Fix the state to get the right data of up and down
3. Add rest attribute for better extension functionality in select component
4. Fix create rule error

A recent git update broke our jobs, diskimage-builder was updated to fix

1. This issue but the grenade job doesn't use dib from master (our other
jobs do)
2. This commit ensure that our grenade job pulls dib from the git repo

Change-Id: I2de592a337e769d1604d72b117fd8a44d5777f58
2022-04-15 20:20:02 +08:00
Jingwei.Zhang
ce0042945f refactor: Update style
1. Support style check: stylelint
2. Add stylelint check in lint-staged husky
2. Update styles

Change-Id: Id793b0936e4c3ea27ddef0df794d5b711880599f
2022-03-02 11:04:01 +08:00
xusongfu
04e8210fdd fix: Fix the style of AddSelect component
Use float instead of overflow to avoid the inner selects options
being occluded by outer element

Change-Id: I41c6ef3d60e5717c8c9b929091b4383365aa4d29
2022-02-24 18:38:57 +08:00
Jingwei.Zhang
f81ac5651a fix: Fix word spell
1. Add eslint plugin spellcheck to check word spell
2. Fix word spell

Change-Id: I73d39cf797ef5bdf993b0154816134a1e93f2ed4
2022-01-18 11:25:58 +08:00
Jingwei.Zhang
c96180b723 feat: Support the use of ports when creating an instance
1. Add port select in network step when creating an instance
2. Show port in confirm step when creating an instance

Change-Id: I4adb832d194433f2b201c02c067e72251c6e61e6
2022-01-06 17:27:27 +08:00
xusongfu
bf22ea704e fix: Fix the validate message for some fields with empty value
Change the validate messge for the form item whitch type is select or select-table

Change-Id: I839575099d2385469f4269d1dee4c8c11cc1e9b7
2021-12-20 11:23:37 +08:00
Jingwei.Zhang
91d9c80d09 feat: Support flavor mem page size prop
1. Add mem page set when create flavor
2. Update i18n
3. Update RightContent component extends

Change-Id: I8c714e97300e70cfe8c761736db7076127ba1e7c
2021-12-15 12:21:24 +08:00