Commit Graph

52 Commits

Author SHA1 Message Date
zhangjingwei
48444e9ee7 feat: update i18n
1. fix tr language file in the gulp task
2. update i18n file for each languages
3. fix some i18n

Change-Id: I31f6324d79bb57c0721d6d771a199daa26856811
2024-03-06 18:07:43 +08:00
zhangjingwei
5fcc3b053e feat: support refresh button for SelectTable component
1. Support refresh button to refresh data for the SelectTable component.
2. When creating an instance/ironic/container, you can click to create a network/security group, then create a new resource in a new window, refresh the data in the previous window and select the newly created resource.

Closes-Bug: 2042928
Change-Id: I66bdbf848d375e45f0ab8941b0989165ad86a137
2024-01-31 14:21:55 +08:00
xusongfu
e31e47fa32 fix: Fix change password and password validation
1. Show detailed error messages when changing password with previous password

2. Fix user password validation to get better extensions

Change-Id: I5f323f2f622e2a8bdf81a8dc00bc3e674b4c0953
2023-10-31 16:51:51 +08:00
zhangjingwei
91aa92b55a feat: update record set of dns zone
1. update record set tab in the dns zone detail page
2. update create record set
3. update edit record set
4. update delete record set
5. update record set detail

Change-Id: I624c09b7ebab049371ffd0cbe73c6eec55f4a028
2023-10-26 14:29:32 +08:00
Numan MENEKŞE
ce20a90c1e Add Designate (DNS) UI to Skyline-Console
Change-Id: I68691c9743aca6196f1e2258cb2acaf2a82066dc
2023-04-10 13:11:40 +00: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
f4a24d04ad fix: fix the getValue of yaml
1. Fix the yaml value dump in the utils
2. Update the unit test

Change-Id: I3c2120593ff533d38fdc7cb026d0d2d3bf1e7132
2022-12-19 11:46:02 +08:00
zhangjingwei
27fb2b2db0 fix: fix the row auto selected when click the copy button edge
When click the copy button edge, the event target's node name maybe 'path', not 'svg', so add 'path' to the copy button click check

Change-Id: I48b12a4a002d097afa8703fe66157ba31bf6b126
2022-10-19 10:52:59 +08:00
zhangjingwei
a29d9dacd3 fix: update the click area of the id link
Reduce the click area of the id link, change the style from block to inline-block to update the click area

Change-Id: I4bfa45c28d6a5e910c802a807ffe3f9b71732c04
2022-10-17 17:39:20 +08:00
zhangjingwei
a17edb45fd fix: fix the row auto selected when copy id
Fix theselected state of the row changed when the id in the row is copied,  check the click event target, if the target is the copy button, then stop propagation.

Change-Id: I3bc2cd0802d2f7dd08a34c9628d282c9c1a09dd4
2022-10-17 17:29:11 +08:00
Jingwei.Zhang
265e3c7916 feat: remove id link in the name column in the role list page
1. remove id link in the name column in the role list page
2. update the bold name style check: if the name column has the withoutId attribute with the true value, the name defaults unbold

Change-Id: Ia03397d064ae67193382aca483943b92805cfd7c
2022-10-12 11:09:24 +08:00
Jingwei.Zhang
fb3078f740 feat: update id render to support number format
Update the getIdRender func to support resource id of numeric type

Change-Id: I0bec014d1b8e1726ae6092f8d2dd0710151283fb
2022-10-12 11:01:42 +08:00
Jingwei.Zhang
115015821f feat: update name column in the keypair list page
1. Update nameRender to support without id
2. Update name column in the keypair list page: only show the name with link to the detail page
3. Fix the id value in the keypair detail page

Change-Id: I8c983875425b1c9b31f8b3ea8eb80667b5cfabf6
2022-10-11 14:54:06 +08:00
Jingwei.Zhang
6371effd7c feat: support id/name in non-bold form
Update the nameRender in the column, to support id/name in non-bold form, usually only the name of the first id/name column is shown in bold, and the id/name of the other associated resource columns does not need to be shown in bold, such as the volume backup list page: the backup name is bold, but the releated volume name is non-bold

Change-Id: I2cff14d64d4a4aa2521b2147f478518fd5203617
2022-10-11 10:09:14 +08:00
Jingwei.Zhang
c3abea1572 feat: update the generic projectRender
1. only show the first 8 character of the project id
2. support id copy
3. the projectRender can be used in the select-table in the actions or
table in the list page

Change-Id: I92a0df708e8d406c8b0e09eadacc8295334f87dc
2022-10-10 18:00:06 +08:00
Jingwei.Zhang
26d6935bed feat: update project id/name column display
Update project column in the list page and selectTable component:

1. update project id to the first 8 characters
2. support copy the project id

Change-Id: Ic7563db2b3d3e99a5bc2b100e7c7d6fc5d54ca68
2022-10-10 17:08:00 +08:00
Jingwei.Zhang
88eb2ad8b6 feat: update the generic idNameColumn
1. only show the first 8 character of the id
2. support id copy
3. bold the name to make it stand out
4. the idNameColumn can be used in the action codes

Change-Id: I5b0cdb0b1d76b795ae5dc83ebb3f6e8d3f4c3eec
2022-10-10 16:35:29 +08:00
Jingwei.Zhang
3026f4fca4 feat: update id/name column display
1. only show the first 8 characters of the id in table
2. can copy the id
3. bold the name to make it stand out
4. update cypress command clickLinkInColumn, click link with the left
position, to avoid clicking the copy button on the right

Change-Id: I91046cac9631bd8d2da5dfd236a8e1f14196e6f9
2022-10-10 16:35:19 +08:00
xusongfu
c7c7b8b8b5 fix: validate error when clear input-name
1.The input is not required, when clear the input, the validator error
2.Fix some value to '-' if the value is empty string

Closes-Bug: #1990367
Change-Id: I2edd71e484518c423de2156ec41b06b7ecf00c68
2022-09-21 17:16:01 +08:00
Jingwei.Zhang
d3eea42e48 refactor: optimize the rendering of data with unit
Update Table/SimpleTable/DetailCard/TabDetail component to optimize the rendering of data with unit, such as size value

Change-Id: I0e4971eeee1353bce03e6ae1f583c8b6ace87489
2022-08-30 09:29:52 +08:00
Zuul
506055cbba Merge "refactor: optimize the rendering of data with map values" 2022-08-26 05:00:35 +00:00
Jingwei.Zhang
74f2f03e88 refactor: optimize the rendering of data with map values
Update Table/SimpleTable/DetailCard/TabDetail component to optimize the rendering of data with map values, such as status value, which has a value map to deal with the i18n display

Change-Id: I9696c194e15db14197334f31d09a49de8170fe20
2022-08-25 17:11:39 +08: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
xusongfu
bef7387e1c fix: update some data in zun detail
1. Hide containers card if value is empty
2. Fix addrss showing
3. Fix networks,ports and security groups showing
4. Remove links and labels in detail

Change-Id: I4a04893a370b387d7a3e9ebcc5073f02d508aeaa
2022-08-15 17:26:36 +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
4643795bcb fix: fix lang local storage after logout
1. Retain the lang value in LocalStorage when logging out
2. Add clearLocalStorage func && add unit test

Change-Id: I84cf361bfcaa40d2a6d80f687d02f43665cef3d3
2022-08-02 16:16:43 +08:00
xusongfu
da823ae523 fix: fix getNameRender in table list
1. fix the getNameRender to get rigth rowkey
2. fix the name column showing in user center credentials

Change-Id: I59d79937c388c77142b09494f0b3f351440ddddd
2022-07-08 15:43:08 +08:00
Jingwei.Zhang
5a8ec658d5 feat: Support domain actions
1. Support create/edit/delete/enable/disable domain actions
2. Set enableColumn to deal with enable column for domain/user/project
3. Update domain detail e2e
4. Update domain store for better fetch user/project data

Change-Id: I37bf708bca9c819f0d5a63d59dafef1959ec8503
2022-06-06 17:47:47 +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
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
2d130b5e37 feat: Function optimization in certificate
1. Add client_authentication:'MANDATORY' to the params if use CA certificate
2. Add validator for domain name
3. Add pem validator for certificate content and private key

Change-Id: If6197357ee995678e25bb73e44787c016e66e83e
2022-05-20 17:36:47 +08:00
Zuul
c0d9e39d12 Merge "fix: Optimize the directory structure of the resources folder" 2022-05-13 07:38:01 +00: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
Jingwei.Zhang
3d8014c2d9 feat: Support manila share server
1. Add share server in administrator
2. Add share server detail in administrator
3. Add share tab in share server detail
4. Add delete && batch delete share server
5. Remove access info from share detail base info tab
6. Add link to network/share/server in share instance page

Change-Id: Ifa1efb75aebb32a2928f7d7db07e228d41d0894b
2022-05-12 14:56:30 +08:00
Jingwei.Zhang
3e76cb2ffa feat: Support manila share group
1. Add manila share group page in console and administrator
2. Add console create share group
3. Add console edit share group
4. Add delete share group in console and administrator
5. Add share group detail page in console and administrator

Change-Id: Ia96f38c2155210007faedb99bcf3ff49ae291245
2022-04-28 16:29:04 +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
ace9ca0ece feat: Add swift
1. Add swift container list page
2. Add swift container object list page
3. Add create/delete container
4. Add create/edit/delete/copy/cut/paste/rename file
5. Add create/delete folder

Change-Id: Id4a675688b4a8beb40921173d7637e331a77b77e
2021-12-01 16:20:02 +08:00
Jingwei.Zhang
7af0a9e9c1 fix: Fix link jump
1. Fix fip detail link
2. Fix lb listener detail link
3. Fix network qos policy detail link
4. Fix barematil node detail link

Change-Id: Ib1cbd29182afb8ad15c073e25eecf53c8dd20fb8
2021-11-15 15:12:21 +08:00
Zuul
d261aaf92a Merge "feat: Make phone number input international & change library related" 2021-11-12 04:03:51 +00:00
zhuyue
98cf22128f feat: Make phone number input international & change library related
1. make phone number input international
2. change phone number library to libphonenumber

Change-Id: I25bb8006646d8f54b5e4bd0f84f713823f45ec5f
2021-11-11 18:54:48 +08:00
Jingwei.Zhang
6d2ea1bf34 refactor: Refactor path jump
Refactor path jump by routeName which is defined in menu as key

Change-Id: I82cda19a2b92b29498238b85c75181848e51e072
2021-11-11 09:59:51 +08:00
xusongfu
a612794349 fix: Fix the convert shell code to base64 errors
Control input must be ASCII code to match StringIO function in cloud-init

Change-Id: I9dd468847043ed1c3e936c6a9605c10367cff21a
2021-11-04 16:58:18 +08:00
zhuyue
096e6db691 fix: Fix for phone number validate
use `phone` to validate phone number with different countries

Change-Id: I4f716f9df31af5f0d9643a0a48a64a13a15d2d02
2021-09-14 17:30:40 +08:00
Jingwei.Zhang
2b68f2a3d7 fix: Update component && validate
1. Add 'ready' status to State component
2. Add price render in table
3. Support children column in table
4. Fix image/instance name validate
5. Support loading in Label component
6. Fix MagicInput component style
7. Fix role check in layout
8. Update class export
9. Remove useless component

Change-Id: I0e5d7e4a23fb0a68e17ae57eba83608be3a3df0e
2021-09-08 15:49:11 +08:00
zhuyue
4297fa2d34 fix: Fix unit test case
fix unit test case

Change-Id: Id08e37e603a897e9da895e229fa2b82a460718d5
2021-09-06 15:14:09 +08:00
zhuyue
a24a4bc4a9 feat: Add user-center page
add user-center page

Change-Id: Ic973390c74ede418426e101fc71a01a67e3bee42
2021-09-02 15:32:30 +08:00
zhuyue
4a41e9a9bf fix: Fix for getGBValue return
fix for getGBValue return

Change-Id: I530fa6fe1359696b10ddf879ff99093cbbbd1e88
2021-09-01 14:38:45 +08:00
zhuyue
9029c35277 fix: Fix for null/undefined column
fix for null/undefined column to render "-"

Change-Id: Ic6bd5b66ff2ba06f4ac3623eac76e0e754fd46e6
2021-09-01 12:04:24 +08:00
xusongfu
1ab6cf9b34 fix: Add error status for volume and polyfill allSettled
1. Add error status for update status in volume
2. Add allSettled polyfill

Change-Id: I4d2cb54b3f4d57ce40806978c20191c101e864c0
2021-08-26 11:18:17 +08:00
Jingwei.Zhang
c960f06c1a feat: Support client module
1. Add client module to request openstack api
2. Remove window.request, stores use client to request api
3. Remove window.globals, use globalRootStore to deal with user info

Change-Id: I5657cfd8cf142dbacce8716991f805bbbb4a9222
2021-08-24 15:58:45 +08:00