mirror of
				https://github.com/Telecominfraproject/wlan-cloud-ucentralgw-ui.git
				synced 2025-10-31 02:38:01 +00:00 
			
		
		
		
	Compare commits
	
		
			5 Commits
		
	
	
		
			v3.2.0
			...
			release/v3
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|   | fa2b923111 | ||
|   | 9b56a5ea87 | ||
|   | 2ec6837dce | ||
|   | 9e3df09fb2 | ||
|   | 2445935627 | 
| @@ -8,7 +8,7 @@ fullnameOverride: "" | |||||||
| images: | images: | ||||||
|   owgwui: |   owgwui: | ||||||
|     repository: tip-tip-wlan-cloud-ucentral.jfrog.io/owgw-ui |     repository: tip-tip-wlan-cloud-ucentral.jfrog.io/owgw-ui | ||||||
|     tag: v3.2.0 |     tag: v3.0.2-RC1 | ||||||
|     pullPolicy: Always |     pullPolicy: Always | ||||||
|  |  | ||||||
| services: | services: | ||||||
|   | |||||||
							
								
								
									
										21
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										21
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							| @@ -1,12 +1,12 @@ | |||||||
| { | { | ||||||
|   "name": "ucentral-client", |   "name": "ucentral-client", | ||||||
|   "version": "3.1.0(5)", |   "version": "3.0.2(9)", | ||||||
|   "lockfileVersion": 3, |   "lockfileVersion": 3, | ||||||
|   "requires": true, |   "requires": true, | ||||||
|   "packages": { |   "packages": { | ||||||
|     "": { |     "": { | ||||||
|       "name": "ucentral-client", |       "name": "ucentral-client", | ||||||
|       "version": "3.1.0(5)", |       "version": "3.0.2(9)", | ||||||
|       "license": "ISC", |       "license": "ISC", | ||||||
|       "dependencies": { |       "dependencies": { | ||||||
|         "@chakra-ui/anatomy": "^2.1.1", |         "@chakra-ui/anatomy": "^2.1.1", | ||||||
| @@ -5671,9 +5671,8 @@ | |||||||
|       "license": "MIT" |       "license": "MIT" | ||||||
|     }, |     }, | ||||||
|     "node_modules/ejs": { |     "node_modules/ejs": { | ||||||
|       "version": "3.1.10", |       "version": "3.1.8", | ||||||
|       "resolved": "https://registry.npmjs.org/ejs/-/ejs-3.1.10.tgz", |       "license": "Apache-2.0", | ||||||
|       "integrity": "sha512-UeJmFfOrAQS8OJWPZ4qtgHyWExa088/MtK5UEyoJGFH67cDEXkZSviOiKRCZ4Xij0zxI3JECgYs3oKx+AizQBA==", |  | ||||||
|       "dependencies": { |       "dependencies": { | ||||||
|         "jake": "^10.8.5" |         "jake": "^10.8.5" | ||||||
|       }, |       }, | ||||||
| @@ -6683,9 +6682,9 @@ | |||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "node_modules/follow-redirects": { |     "node_modules/follow-redirects": { | ||||||
|       "version": "1.15.6", |       "version": "1.15.4", | ||||||
|       "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz", |       "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.4.tgz", | ||||||
|       "integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==", |       "integrity": "sha512-Cr4D/5wlrb0z9dgERpUL3LrmPKVDsETIJhaCMeDfuFYcqa5bldGV6wBsAN6X/vxlXQtFBMrXdXxdL8CbDTGniw==", | ||||||
|       "funding": [ |       "funding": [ | ||||||
|         { |         { | ||||||
|           "type": "individual", |           "type": "individual", | ||||||
| @@ -10443,9 +10442,9 @@ | |||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "node_modules/vite": { |     "node_modules/vite": { | ||||||
|       "version": "4.5.3", |       "version": "4.5.2", | ||||||
|       "resolved": "https://registry.npmjs.org/vite/-/vite-4.5.3.tgz", |       "resolved": "https://registry.npmjs.org/vite/-/vite-4.5.2.tgz", | ||||||
|       "integrity": "sha512-kQL23kMeX92v3ph7IauVkXkikdDRsYMGTVl5KY2E9OY4ONLvkHf04MDTbnfo6NKxZiDLWzVpP5oTa8hQD8U3dg==", |       "integrity": "sha512-tBCZBNSBbHQkaGyhGCDUGqeo2ph8Fstyp6FMSvTtsXeZSPpSMGlviAOav2hxVTqFcx8Hj/twtWKsMJXNY0xI8w==", | ||||||
|       "dependencies": { |       "dependencies": { | ||||||
|         "esbuild": "^0.18.10", |         "esbuild": "^0.18.10", | ||||||
|         "postcss": "^8.4.27", |         "postcss": "^8.4.27", | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
| { | { | ||||||
|   "name": "ucentral-client", |   "name": "ucentral-client", | ||||||
|   "version": "3.2.0", |   "version": "3.0.2(9)", | ||||||
|   "description": "", |   "description": "", | ||||||
|   "private": true, |   "private": true, | ||||||
|   "main": "index.tsx", |   "main": "index.tsx", | ||||||
|   | |||||||
										
											Binary file not shown.
										
									
								
							| Before Width: | Height: | Size: 294 KiB | 
										
											Binary file not shown.
										
									
								
							| Before Width: | Height: | Size: 394 KiB | 
| @@ -173,7 +173,7 @@ const DeviceActionDropdown = ({ | |||||||
|           isLoading={isRtty} |           isLoading={isRtty} | ||||||
|           onClick={handleConnectClick} |           onClick={handleConnectClick} | ||||||
|           colorScheme={connectColor} |           colorScheme={connectColor} | ||||||
|           hidden={isCompact} |           hidden={isCompact || deviceType !== 'ap'} | ||||||
|         /> |         /> | ||||||
|       </Tooltip> |       </Tooltip> | ||||||
|       <Tooltip label={t('controller.configure.title')}> |       <Tooltip label={t('controller.configure.title')}> | ||||||
|   | |||||||
| @@ -25,7 +25,6 @@ import { useTranslation } from 'react-i18next'; | |||||||
| import { Modal } from '../Modal'; | import { Modal } from '../Modal'; | ||||||
| import { lowercaseFirstLetter } from 'helpers/stringHelper'; | import { lowercaseFirstLetter } from 'helpers/stringHelper'; | ||||||
| import { useTelemetry } from 'hooks/Network/Telemetry'; | import { useTelemetry } from 'hooks/Network/Telemetry'; | ||||||
| import { secondsDuration } from 'helpers/dateFormatting'; |  | ||||||
|  |  | ||||||
| export type TelemetryModalProps = { | export type TelemetryModalProps = { | ||||||
|   serialNumber: string; |   serialNumber: string; | ||||||
| @@ -147,7 +146,8 @@ const _TelemetryModal = ({ serialNumber, modalProps }: TelemetryModalProps) => { | |||||||
|               {t('controller.telemetry.interval')}: {form.interval} {lowercaseFirstLetter(t('common.seconds'))} |               {t('controller.telemetry.interval')}: {form.interval} {lowercaseFirstLetter(t('common.seconds'))} | ||||||
|             </p> |             </p> | ||||||
|             <p> |             <p> | ||||||
|               {t('controller.telemetry.duration')}: {secondsDuration(form.lifetime, t)} |               {t('controller.telemetry.duration')}: {form.interval}{' '} | ||||||
|  |               {lowercaseFirstLetter(t('controller.telemetry.minutes'))} | ||||||
|             </p> |             </p> | ||||||
|             <p> |             <p> | ||||||
|               {t('controller.telemetry.types')}: {form.types.join(', ')} |               {t('controller.telemetry.types')}: {form.types.join(', ')} | ||||||
|   | |||||||
| @@ -59,7 +59,6 @@ export type DeviceInterfaceStatistics = { | |||||||
|       dynamic_vlan?: number; |       dynamic_vlan?: number; | ||||||
|       inactive: number; |       inactive: number; | ||||||
|       ipaddr_v4: string; |       ipaddr_v4: string; | ||||||
|       fingerprint?: object; |  | ||||||
|       rssi: number; |       rssi: number; | ||||||
|       rx_bytes: number; |       rx_bytes: number; | ||||||
|       rx_duration: number; |       rx_duration: number; | ||||||
|   | |||||||
| @@ -65,8 +65,6 @@ const DeviceSummary = ({ serialNumber }: Props) => { | |||||||
|   const getDeviceCompatible = () => { |   const getDeviceCompatible = () => { | ||||||
|     if (!getDevice.data?.compatible) return undefined; |     if (!getDevice.data?.compatible) return undefined; | ||||||
|  |  | ||||||
|     if (getDevice.data.compatible.includes(' ')) return getDevice.data.compatible.replaceAll(' ', '_'); |  | ||||||
|  |  | ||||||
|     return getDevice.data?.compatible; |     return getDevice.data?.compatible; | ||||||
|   }; |   }; | ||||||
|  |  | ||||||
|   | |||||||
| @@ -28,7 +28,6 @@ export type ParsedAssociation = { | |||||||
|   txNss: number | string; |   txNss: number | string; | ||||||
|   recorded: number; |   recorded: number; | ||||||
|   dynamicVlan?: number; |   dynamicVlan?: number; | ||||||
|   fingerprint?: object; |  | ||||||
| }; | }; | ||||||
|  |  | ||||||
| type Props = { | type Props = { | ||||||
| @@ -78,14 +77,6 @@ const WifiAnalysisAssociationsTable = ({ data, ouis, isSingle }: Props) => { | |||||||
|         isMonospace: true, |         isMonospace: true, | ||||||
|         alwaysShow: true, |         alwaysShow: true, | ||||||
|       }, |       }, | ||||||
|       { |  | ||||||
|         id: 'ssid', |  | ||||||
|         Header: 'SSID', |  | ||||||
|         Footer: '', |  | ||||||
|         accessor: 'ssid', |  | ||||||
|         customWidth: '35px', |  | ||||||
|         alwaysShow: true, |  | ||||||
|       }, |  | ||||||
|       { |       { | ||||||
|         id: 'ips', |         id: 'ips', | ||||||
|         Header: 'IPs', |         Header: 'IPs', | ||||||
| @@ -93,13 +84,6 @@ const WifiAnalysisAssociationsTable = ({ data, ouis, isSingle }: Props) => { | |||||||
|         Cell: (v) => ipCell(v.cell.row.original), |         Cell: (v) => ipCell(v.cell.row.original), | ||||||
|         disableSortBy: true, |         disableSortBy: true, | ||||||
|       }, |       }, | ||||||
|       { |  | ||||||
|         id: 'fingerprint', |  | ||||||
|         Header: 'Fingerprint', |  | ||||||
|         Footer: '', |  | ||||||
|         Cell: (v) => Object.values(v.cell.row.original.fingerprint ?? {}).join(', '), |  | ||||||
|         disableSortBy: true, |  | ||||||
|       }, |  | ||||||
|       { |       { | ||||||
|         id: 'vendor', |         id: 'vendor', | ||||||
|         Header: t('controller.wifi.vendor'), |         Header: t('controller.wifi.vendor'), | ||||||
|   | |||||||
| @@ -105,7 +105,6 @@ const parseAssociations = (data: { data: DeviceStatistics; recorded: number }, r | |||||||
|           txNss: association.tx_rate.nss ?? '-', |           txNss: association.tx_rate.nss ?? '-', | ||||||
|           recorded: data.recorded, |           recorded: data.recorded, | ||||||
|           dynamicVlan: association.dynamic_vlan, |           dynamicVlan: association.dynamic_vlan, | ||||||
|           fingerprint: association.fingerprint, |  | ||||||
|         }); |         }); | ||||||
|       } |       } | ||||||
|     } |     } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user