Commit Graph

17 Commits

Author SHA1 Message Date
zhangjingwei
84d1e7af72 fix: update long title style for menu
1. update long title style for the sub menu
2. update long title style for the menu which has no children

Change-Id: Id2b319e52ebf849de50af7303117868b4dd4d7d6
2024-04-12 09:47:39 +08:00
zhangjingwei
791176a485 feat: optimize menu display
Adjust the maximum number of characters in the menu based on the current language

Change-Id: I34e98bb6950105a7bb89a7671fcda93564349ad5
2024-04-08 16:44:36 +08:00
zhangjingwei
c9dc50a6cd feat: update menu styles
update menu styles to better display long titles

Change-Id: I4e766c7af18b30cb2751e433b11b61f5aaa01da7
2024-03-08 13:15:14 +08:00
zhangjingwei
8a1d7ab034 refactor: update icon render for menu
update icon render function for the menu

Change-Id: I16e27fe7bed46dd979b5a112a9c8fe926d6f5043
2024-01-26 15:14:41 +08:00
zhangjingwei
e018659955 feat: support a custom UI theme
support a custom UI theme

Change-Id: Ic2f25fcc4620b06710c3ff1f26f84aba43881762
2024-01-03 11:45:28 +08:00
Jingwei.Zhang
ce254bd808 fix: fix the menu title
Fix the menu title font size when hover the collapsed menu

Change-Id: I1befdc76351d390e33b8a82e265876a1723e070c
2023-05-05 09:55:01 +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
Jingwei.Zhang
6b05d343f1 fix: Fix menu click range
Fix menu click range

Change-Id: Iee68fac62d1f406b7f560ff16ca7e0829eda0c49
2021-12-03 16:00:57 +08:00
Jingwei.Zhang
86fd689e78 refactor: Remove useless func getUrl
Remove useless func getUrl

Change-Id: I12989c6efcfc4ba7fb4cd292860be9059b74497b
2021-11-18 09:13:18 +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
4e7268bdfb fix: In order to better control the display of the menu item name
Control the length from `>15` to `>=14` to show tooltip

Change-Id: I4fef4774a4b86bd261122bb93bab6d9e98984e92
2021-09-24 17:53:54 +08:00
xusongfu
7353c91f61 fix: Fix menu items name is too long
Show elipsis if menu items name is too long

Change-Id: I7ea77c0c27a281c0b84da6e53df82e2ad0195766
2021-09-24 14:24:08 +08:00
Jingwei.Zhang
318f7b195d fix: Remove useless component && update path && update image
1. Remove useless component: NotFound, EmptyTable
2. Update asset path according to alias in webpack
3. Update page path according to alias in webpack
4. Remove useless image
5. Update image name

Change-Id: I0c8fc48733d0a0f9df80e8cc37db63fdebaa166b
2021-09-15 11:56:56 +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
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
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