Commit Graph

244 Commits

Author SHA1 Message Date
Jingwei.Zhang
d5b58ac16d feat: add action props to ModalAction component
add action props to ModalAction component, then can use the action static props for the instance function

Change-Id: Ib22120105deb30f108218d040fc1fc33f88b39bc
2023-09-07 10:25:18 +08:00
Jingwei.Zhang
74ffcc6215 feat: update ActionButton component
1. refactor ActionButton
2. support ok/cancel button props for confirm/modal action

Change-Id: I07ba1e7b3ef7c7ef998aacf54bd5329d01737d0e
2023-09-06 17:27:04 +08:00
Jingwei.Zhang
19e1de7760 feat: update Confirm component
update Confirm component to support ok/cancel button props

Change-Id: I75c71666a32e4aee28a4d12c94e5e3eec629a98d
2023-09-06 17:01:02 +08:00
Zuul
de2793ddfb Merge "fix: fix table height" 2023-09-05 04:21:22 +00:00
Jingwei.Zhang
94b2e8d58f feat: update Action component
update Action component to check allowed by other func first

Change-Id: I656d853417dd5969fd5c4f226689111f9043b993
2023-09-04 10:09:15 +00:00
Jingwei.Zhang
961d6d21e1 fix: fix table height
1. fix table height when the magicInput has opened search menu
2. fix table height when the page has sub tab

Change-Id: I5f57030d65d0d7e17681d0579fc57c7441e1ecfa
2023-09-04 10:09:02 +00:00
xusongfu
bf74084a53 fix: fix the magic input
Remove the focus when the selected item is clicked to avoid the failure of the refresh button

Closes-Bug: #2032763
Change-Id: I50601a6b2bd9b36b0835fdb104f4d66b1707e728
2023-08-23 16:07:23 +08:00
Jingwei.Zhang
b36d5593e6 feat: support custom locale language
support custom locale language and custom support languages.

Change-Id: Ia235cb83b65c8530449f52d9ea575c3d6f603f04
2023-08-09 09:25:11 +08:00
Jingwei.Zhang
c6f92259b2 feat: support custom option col
support custom label and content col for detail card in base detail tab

Change-Id: I4a1d92451ee8adc872e754cf270d2a96f3598570
2023-08-07 14:31:45 +08:00
Jingwei.Zhang
a95c588a5d fix: fix table header buttons style
add margin-bottom for table header buttons

Change-Id: I8f272546942d7c71899c2f9129d8cf85c3b3515e
2023-07-27 09:23:02 +08:00
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
Zuul
6e6a6ea46d Merge "refactor: update magic input value" 2023-07-16 01:43:08 +00:00
Zuul
6e87663a1a Merge "fix: update magic input component style" 2023-07-16 01:43:07 +00:00
Jingwei.Zhang
4dcccdd30d fix: add gaps for magic input tags
add gaps for tags in the magic input

Change-Id: I01e487dc07884db6c6d0acab992218fc2063ea07
2023-07-14 14:26:10 +08:00
Jingwei.Zhang
5b98220229 refactor: update magic input value
update magic input value by state

Change-Id: I019c3470a06304ced4357b37535ee740c5af16a9
2023-07-14 11:20:55 +08:00
Jingwei.Zhang
8732b9ef1f fix: update magic input component style
1. update close button style when focus the input
2. hide the search icon when focus the input
3. add gaps for multi tags

Change-Id: Ieef48447ccabc87f6088973bcb34a269d144d6d4
2023-07-14 11:20:54 +08:00
Jingwei.Zhang
4496eb4f05 feat: update layout styles
update layout styles by variables in the variables.less

Change-Id: I43fa54f52c791e629f9a04484c80947a04849556
2023-06-14 14:31:07 +08:00
Jingwei.Zhang
38c2939d65 fix: fix the error message
Fix the unreadable error messages with html characters.

Closes-Bug: #2023627
Change-Id: I06d09327d1423578efafc8e51107acb4025e992b
2023-06-13 14:44:48 +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
f395e0e2ec fix: fix MagicInput component
Fix when the current input value does not generate a tag, but click the clear button, the search menu can not be shown. Clear the input value in the state.

Closes-Bug: #2019065
Change-Id: Id985ee76db395a742152d5982af0766559e5a5da
2023-05-10 10:33:54 +08:00
Jingwei.Zhang
2a0b442921 fix: fix click link in the modal-button
Fix no jump when click the link in the modal of the modal-button component

Change-Id: I13c8b2a47a89c978d44f6aa6ba33aa1156b9e464
2023-04-21 10:50:52 +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
56230e524e feat: optimize the clicking event in the select-table
Optimize the clicking event in the select-table component, when click the row of the table in the component, the row will be selected, but when click the button in the row, the selection does not change.

Change-Id: I88f3a842bcf3a91d1cd8a0f20e847f1e5e57ed7d
2023-04-19 14:45:08 +08:00
Jingwei.Zhang
a9370ef261 feat: update zh-cn to zh-hans
Update zh-cn to zh-hans, and update the icon when switch language

Change-Id: I3e6d3e8aebec4584f863282082a11b36d7cee193
2023-03-28 10:15:57 +08:00
Jingwei.Zhang
235ee19da6 feat: support Korean i18n
Support Korean i18n

Change-Id: Idf5efce1ad02743f0ba8734009e1bb661038c087
2023-03-23 10:30:30 +08:00
Zuul
fbc8fde808 Merge "feat: add attributes to the ModalAction" 2023-01-29 11:58:15 +00:00
Jingwei.Zhang
2ebb26942a feat: add attributes to the ModalAction
Add the onFinishAction and onCancelAction which are from the ListPage component to the ModalAction, add the modalProps to the ModalAction, these attritubes will make custom operations in the ModalAction to easily control the ListPage

Change-Id: Ibd81bc6331fa09a3c70fcfc6f1f72ccc3e6f9c37
2023-01-29 16:46:15 +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
Jingwei.Zhang
ef353362fb feat: support component in the table header
Support custom component in the table header of the list page, the custom component is placed in front of the magicSearch component

Change-Id: I980552818bcb6375d3b412b63732c02597ff2a94
2022-12-06 17:37:57 +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
bd30f8c308 feat: add success and error status in Status component
1. add 'pass' key in successKeys
2. add 'refuse' key in errorKeys

Change-Id: I4e340785ef37c06b45342ac38ccdce560414623a
2022-11-18 17:50:49 +08:00
xusongfu
47b3cead09 feature: Support magnum in administrator platform
1. Show list and detail of cluster instance
2. Show list and detail of cluster template
3. Hide the keypair if in administrator platform

Change-Id: I61532a12312383cdedf2fdfca10633b16064f77b
2022-11-18 14:24:13 +08:00
Jingwei.Zhang
7e30ad6922 feat: update the click area of links in the global navigation
1. Update the click area of the links in the global navigation
2. Update the proptype of the globalNav component

Change-Id: Ie9f12f2d6747429966e62bbc0bbd72d9686864cd
2022-11-11 15:34:38 +08:00
Jingwei.Zhang
6ed2fb1a2d feat: support search in the global navigation
Support search menu in the global navagition

Change-Id: I4c12e5d57650f6ef2641ed8680e98d6919432124
2022-11-09 15:11:24 +08:00
Jingwei.Zhang
e3543ed1b5 feat: update menu in the layout
1. Update the menu style to adjust the global nav display
2. Update the menu open keys when the url change: the menu will auto open the current url's father menu

Change-Id: I567db87e369264d9b1d1372332868267b478cf46
2022-11-09 12:30:28 +08:00
Jingwei.Zhang
985c03af95 feat: add global navigation
1. Add global navigation at the left top position of the whole page
2. Update the right menu layout to adjust the global navigation
3. The global navigation show the extended menu in the console/user center/administrator

Change-Id: Iee64af2821bd034e3818166308512d946e44cbe7
2022-11-09 09:57:38 +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
Zuul
b971ad860f Merge "feature: Support custom button for the upload" 2022-10-28 10:07:49 +00: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
xusongfu
4639f2a85d fix: The scale of the x-axis is not updated in time
fix the scale of x-axis in the monitor chart

Closes-Bug: #1993997
Change-Id: Ie512a6eed4bec7794a5423bf0a9126ba16c05533
2022-10-25 02:46:11 +00:00
Zuul
2127390852 Merge "feat: Support download file progress and abort download" 2022-10-19 15:29:42 +00: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
xusongfu
b7a8b6f335 feat: Support download file progress and abort download
1.Support showing download progress when download file
2.Support abort download file

Closes-Bug: #1990355
Change-Id: I7d29ddfee7ddb79c8b2ddd4359846adee23d0b76
2022-10-19 14:38:22 +08:00
xusongfu
7c8f9f7e26 feat: Support for custom prometheus requests
1. Support custom prometheus request function
2. Support convert request url in prometheus request

Change-Id: I451282990346c187283dae1cf64e3cb4b9782cb6
2022-10-13 10:29:00 +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