Commit Graph

49 Commits

Author SHA1 Message Date
Zuul
e30ac3a06f Merge "refactor: optimize the rendering of data with unit" 2022-08-30 07:21:02 +00:00
Jingwei.Zhang
ffe6e3a982 fix: update port forwarding filters by front-end
1. Support port forwarding filters with protocol, external port/port range, internal port/port range, internal ip address and description by front-end fuzzy query
2. Update SimpleTable/List component to support filterFunc with origin data

Change-Id: Ib14cabdbe7295296caf770849c1fc6a1adc118c6
2022-08-30 09:54:31 +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
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
01ff5c9306 refactor: update the List component prop
Change the name of the List component's property isCourier to ableSkipPageByBackend, which is used when backend paging supports page jumping.

Change-Id: I1222cc3cafd49f329a47b1a23bbdf3716ceab537
2022-08-22 09:40:11 +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
2543838a5e fix: Fix the display of the row actions when the volume status is being created
Fix: when the volume's status is being created, the sub menu actions in the row actions are hidden.
Trigger reason: When the More Actions drop-down menu contains disabled actions and the only submenu that can be used normally, the submenu items are not displayed successfully

Change-Id: Ide3f06716d1df71593fd654f24feedabe4f68da7
2022-08-08 17:24:25 +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
xusongfu
3ed9d74791 fix: fix policy for all modules
Add prefix to policy

Change-Id: I492f2215af5d02284ce6e24137e190eab5bb355a
2022-06-30 15:20:35 +08:00
Jingwei.Zhang
bf6c765fb1 feat: support show quota info when create router
1. Support show quota info when create router
2. Disable click submit button when lef quota is zero
3. Update size of large modal with quota info

Change-Id: I8f651d58af0b3d7a5915116ea488bc70a3ed902d
2022-06-23 13:00:44 +08:00
Jingwei.Zhang
514b213ca7 feat: Show quota info when create server group
1. Update Form/ModalAction/ActionButton to support right extra info display in modal
2. Add quota info when create server group
3. Support disable click submit button in modalAction / formAction

Change-Id: I511c383f0ffa256b76c1a8fd123c6326e7a43ed3
2022-06-22 17:49:33 +08:00
Zuul
50f465eb13 Merge "fix: Fix row hide in base table" 2022-06-07 01:19:20 +00:00
xusongfu
0a4508d016 fix: Fix row hide in base table
Get the latest hideable columns using the getter method

Change-Id: I1d41e9671ea6943a2299d3608338a999789c7235
2022-06-06 17:29:10 +08:00
Jingwei.Zhang
39259b4fbd [Animbus]fix: Fix danger button style in batch actions
1. Fix danger button style in table batch actions
2. Update reboot vm button to danger
3. Update resize vm button to danger

Change-Id: Ibabc1259e4914042214842acecde4c16f7e6d19e
2022-06-06 10:33:07 +08:00
Jingwei.Zhang
3fd5c14d5f refactor: Refactor danger from buttonType to isDanger
1. Add isDanger prop to support danger style button, remove danger value from buttonType
2. Update docs according to isDanger
3. Add waiting time when close e2e success notice

Change-Id: I87a72ce05f519ce6717f072dc7397f646dfb4ab1
2022-06-02 14:06:44 +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
395084d022 fix: Optimize the directory structure of the resources folder
Optimize the directory structure of the resources folder

Change-Id: If33e899550823a66b4784dc6fd23f06d9f5cff11
2022-05-13 17:39:01 +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
81c037de41 feat: Add tags to nova service and so on
1.Lists tags, creates, replaces tags for a server
2.Fix input autocomplete in Chrome browser
3.Fix some e2e test bugs

Change-Id: I6236da8670d36c88978317d34a50cde3974b83d9
2022-03-26 20:11:15 +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
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
xusongfu
0aaca80308 fix: Fix the value of the name column in the network list which use the simple table
Show id and name to match column headings

Change-Id: Ifea9927b024ae613d2db4f402aa4ad020d767c6e
2021-12-16 15:37:01 +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
Jingwei.Zhang
f50df3da8d feat: Refactor project list page
1. Refactor project list page
2. Remove useless func

Change-Id: I65ae489bf29e61e9745a987c0a42d9aeafc97014
2021-09-15 16:10:52 +08:00
Jingwei.Zhang
5d69f66eac feat: Update download file name in detail page
Add detail resource name and detail id in download file name, such as ,`instance-fd3ec1bb-9423-4537-b74e-8f967ed011c7-volumes-all-2021-09-13 16_15_20.csv` means downlaod all the volumes in instance fd3ec1bb-9423-4537-b74e-8f967ed011c7 detail page

Change-Id: Ied8e9ae5104b821866d44137679cccafc0f69656
2021-09-13 16:56:05 +08:00
zhangjingwei
61f21da7e6 feat: Update datas to data
1. Update datas to data
2. Update metadatas to metadata
3. Update data intro && codes in docs

Change-Id: I2041b69c6d9a9e9ec61c3861ad8860af5ac5cc0b
2021-09-13 14:34:25 +08:00
Jingwei.Zhang
fd69957fcf fix: Fix loading for ConfirmAction component
Fix loading status after click submit button in confirm modal

Change-Id: I27499a5ee0e568bef202cf6367c7ed22344e6c37
2021-09-13 13:22:06 +08:00
Jingwei.Zhang
299efc2ee1 fix: Update Table component && update stack codes
1. Update Table component
2. Remove useless action: extend root volume
3. Update export of stack codes
4. Remove useless func of stack codes

Change-Id: I47b9aaa92d0cc8fa6cf8d00ebc185e6b15bd2568
2021-09-09 11:01:53 +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
a6f387d67e feat: Add application credential
add application credential

Change-Id: Id07525e3bc8709aa4226dabd8084d9a09821c397
2021-09-08 15:24:46 +08:00
zhuyue
31575ba70c fix: Close batch action modal when error
close batch action modal when error

Change-Id: I0c1e6a4e9f961b32dd171caae9be83fe8ec6ffaf
2021-09-03 15:43:17 +08:00
zhangjingwei
23083c1643 fix: Update List component to support init filter
Update List component to support init filter

Change-Id: I0a20e9d57b958be73b144e7eb026459f05699d9f
2021-09-02 12:52:17 +08:00
zhangjingwei
4767477cd6 fix: Fix download csv
1. Fix download security goup rule
2. Fix export for SetGateway && RouterPortDetail

Change-Id: I07ea1f8aa683c64116fbb6da373b1d52a25bff60
2021-09-02 11:31:21 +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
zhangjingwei
1b122869f7 fix: Support cancel upload && show progress
1. Support cancel upload file
3. Show upload progress when upload image
4. Fix delete file after select file

Change-Id: I021fee23980e203be68252246d5eb1b5418774fc
2021-08-30 10:34:45 +08:00
zhangjingwei
1f80bdee8d fix: Support download 1W data when total count is more
Support download 1W data when total count is more than 1W

Change-Id: I312c38e764cdcdca605d4c94006b836d8dc61d7c
2021-08-27 14:34:32 +08:00
Zuul
4135fc378d Merge "fix: Fix callback after action submit" 2021-08-26 06:18:47 +00:00
xusongfu
10f1020591 fix: Fix columns and download file
1. Split column of XXX ID/NAME when download file
2. Remove useless stringify in columns
3. Remove some columns in volume backup list which is useless
4. Add the data judgment to prevent the wrong content of the downloaded file

Change-Id: I412975e3fdb87c255d8252efa0240f4593b5f95d
2021-08-26 13:43:35 +08:00
zhangjingwei
af6446ceb2 fix: Fix callback after action submit
Fix callback after action submit

Change-Id: I6b63e3219402e9ac0008145fddff7f417fc7b6df
2021-08-26 13:40:19 +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
9d438cdb77 fix: Fix copy volume id in backup detail page && error hint
1. Fix copy volume id in backup detail page
2. Fix error hint display

Change-Id: I6e6f482f13c891313a9ef853fb76699efffa1fea
2021-08-25 12:26:21 +08:00
xusongfu
e504f7e3c6 fix: Fix the prompts in batch deletion
When batch deletion error, the error message will pop up according to the queue

Change-Id: I3b3cf4b2a76aad13ebe79fc1a02d036ed163b9c4
2021-08-25 11:03:03 +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
xusongfu
42a5e8331d fix: Fix white screen problem
Change layouts stack to avoid the white screen problem when route change

Change-Id: Ie14b4cde7f0e4ac347b1fc108c648fef91b8e0c9
2021-08-23 17:09:38 +08:00
xusongfu
8eb796e9c7 feat: Add cache setting for table list
Realize the caching of the table list through loacalstorage function

Change-Id: I87ae129d5adc8649787d6a3626abd3bf9b9e7c67
2021-08-23 14:20:17 +08:00
zhuyue
15128f67e3 fix: Fix for 5xx error & errorWithDetail params
1. fix for 5xx error
2. change the order of errorWithDetail params

Change-Id: I7a6807aeb5ca6d6c508d8bdf8dfdbd7e507705d9
2021-08-23 04:34:01 +00:00
Jingwei.Zhang
34c13a2dcb fix: Fix system_reader role operation permission bug
1. Fix system_reader role has operation permissions on administrator page
2. Mark TODO of supported system scope roles

Change-Id: Icd697e0b5238a25307c3d24fc6742600f892b547
2021-08-20 14:34:33 +08:00
xusongfu
ad94bb6345 fix: Fix securityGroup Rule creating
1. Change protocol list
2. Add creating button in securityGroup list
3. Add link for remote group id

Change-Id: I76f10ffbd513d4e40f658ec8acb61e3311cfedf1
2021-08-19 17:05:12 +08:00
Hanxiang Gao
4eb68e7fb2 feat: Add initial code of skyline-console
Add initial code of skyline-console

Change-Id: Icba2152a014761f53789357b5085d0779cd0e2a4
2021-06-01 23:29:30 +08:00