fix(frontend): remove version string from sidebar, bump to v1.0.0
CD - Develop / build-and-deploy (push) Failing after 12m52s
CD - Develop / build-and-deploy (push) Failing after 12m52s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Generated
+4
-4
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "hiveops-APPNAME-frontend",
|
"name": "hiveops-aria-frontend",
|
||||||
"version": "1.0.1-dev",
|
"version": "1.0.0",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "hiveops-APPNAME-frontend",
|
"name": "hiveops-aria-frontend",
|
||||||
"version": "1.0.1-dev",
|
"version": "1.0.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"axios": "^1.6.0"
|
"axios": "^1.6.0"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"name": "hiveops-aria-frontend",
|
"name": "hiveops-aria-frontend",
|
||||||
"version": "1.0.1-dev",
|
"version": "1.0.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
|||||||
@@ -9,9 +9,6 @@
|
|||||||
import { authApi } from './lib/api';
|
import { authApi } from './lib/api';
|
||||||
import type { ThreatSeverity } from './lib/api';
|
import type { ThreatSeverity } from './lib/api';
|
||||||
|
|
||||||
declare const __APP_VERSION__: string;
|
|
||||||
const appVersion: string = __APP_VERSION__;
|
|
||||||
|
|
||||||
let userInfo: { name?: string; email?: string; role?: string } | null = null;
|
let userInfo: { name?: string; email?: string; role?: string } | null = null;
|
||||||
let sidebarCollapsed = localStorage.getItem('ariaSidebarCollapsed') === 'true';
|
let sidebarCollapsed = localStorage.getItem('ariaSidebarCollapsed') === 'true';
|
||||||
|
|
||||||
@@ -58,9 +55,6 @@
|
|||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
{#if !sidebarCollapsed}
|
|
||||||
<span class="sidebar-version">v{appVersion}</span>
|
|
||||||
{/if}
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<nav class="sidebar-nav">
|
<nav class="sidebar-nav">
|
||||||
@@ -184,7 +178,6 @@
|
|||||||
.aria-brand-text { display: flex; flex-direction: column; }
|
.aria-brand-text { display: flex; flex-direction: column; }
|
||||||
.aria-name { font-size: 1.1rem; font-weight: 800; letter-spacing: 2px; color: white; }
|
.aria-name { font-size: 1.1rem; font-weight: 800; letter-spacing: 2px; color: white; }
|
||||||
.aria-sub { font-size: 0.65rem; color: rgba(255,255,255,0.55); letter-spacing: 0.3px; margin-top: 1px; }
|
.aria-sub { font-size: 0.65rem; color: rgba(255,255,255,0.55); letter-spacing: 0.3px; margin-top: 1px; }
|
||||||
.sidebar-version { font-size: 0.7rem; color: rgba(255,255,255,0.4); padding-left: 2px; }
|
|
||||||
|
|
||||||
.sidebar-nav { display: flex; flex-direction: column; padding: 0.75rem 0; flex: 1; }
|
.sidebar-nav { display: flex; flex-direction: column; padding: 0.75rem 0; flex: 1; }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user