Spaces:
Paused
Paused
dushyantsingh0 commited on
Commit ·
db46be8
1
Parent(s): 80c64a4
backend stabilization
Browse files
alembic/env.py
CHANGED
|
@@ -92,7 +92,6 @@ async def run_async_migrations() -> None:
|
|
| 92 |
config.get_section(config.config_ini_section, {}),
|
| 93 |
prefix="sqlalchemy.",
|
| 94 |
poolclass=pool.NullPool,
|
| 95 |
-
prepared_statement_cache_size=0,
|
| 96 |
connect_args={
|
| 97 |
"ssl": "require",
|
| 98 |
"statement_cache_size": 0
|
|
|
|
| 92 |
config.get_section(config.config_ini_section, {}),
|
| 93 |
prefix="sqlalchemy.",
|
| 94 |
poolclass=pool.NullPool,
|
|
|
|
| 95 |
connect_args={
|
| 96 |
"ssl": "require",
|
| 97 |
"statement_cache_size": 0
|
frontend/apps/internal/src/components/DashboardOverview.tsx
CHANGED
|
@@ -8,13 +8,12 @@ import styles from './DashboardOverview.module.css';
|
|
| 8 |
|
| 9 |
interface DashboardOverviewProps {
|
| 10 |
workspaceId?: string;
|
| 11 |
-
onSelectTicket?: (ticket: any) => void;
|
| 12 |
}
|
| 13 |
|
| 14 |
const CATEGORY_COLORS = ['#6366F1', '#8B5CF6', '#EC4899', '#F59E0B', '#10B981', '#3B82F6', '#64748B'];
|
| 15 |
|
| 16 |
|
| 17 |
-
export const DashboardOverview: React.FC<DashboardOverviewProps> = ({ workspaceId
|
| 18 |
const { user } = useAuth();
|
| 19 |
const { stats, loading: statsLoading, refresh: refreshStats } = useDashboardStats(workspaceId);
|
| 20 |
const { daily, loading: reportsLoading, refresh: refreshReports } = useReports(workspaceId);
|
|
|
|
| 8 |
|
| 9 |
interface DashboardOverviewProps {
|
| 10 |
workspaceId?: string;
|
|
|
|
| 11 |
}
|
| 12 |
|
| 13 |
const CATEGORY_COLORS = ['#6366F1', '#8B5CF6', '#EC4899', '#F59E0B', '#10B981', '#3B82F6', '#64748B'];
|
| 14 |
|
| 15 |
|
| 16 |
+
export const DashboardOverview: React.FC<DashboardOverviewProps> = ({ workspaceId }) => {
|
| 17 |
const { user } = useAuth();
|
| 18 |
const { stats, loading: statsLoading, refresh: refreshStats } = useDashboardStats(workspaceId);
|
| 19 |
const { daily, loading: reportsLoading, refresh: refreshReports } = useReports(workspaceId);
|
frontend/apps/internal/src/components/TopBar.module.css
CHANGED
|
@@ -22,22 +22,34 @@
|
|
| 22 |
.left {
|
| 23 |
display: flex;
|
| 24 |
flex-direction: column;
|
|
|
|
|
|
|
| 25 |
}
|
| 26 |
|
| 27 |
.title {
|
| 28 |
-
font-size: 24px;
|
| 29 |
font-weight: 800;
|
| 30 |
color: #0f172a;
|
| 31 |
letter-spacing: -0.02em;
|
|
|
|
|
|
|
|
|
|
| 32 |
}
|
| 33 |
|
| 34 |
.subtitle {
|
| 35 |
-
font-size: 11px;
|
| 36 |
font-weight: 700;
|
| 37 |
color: #64748b;
|
| 38 |
letter-spacing: 0.1em;
|
| 39 |
text-transform: uppercase;
|
| 40 |
margin-top: -2px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
}
|
| 42 |
|
| 43 |
.right {
|
|
|
|
| 22 |
.left {
|
| 23 |
display: flex;
|
| 24 |
flex-direction: column;
|
| 25 |
+
min-width: 0; /* Allow title to shrink if needed */
|
| 26 |
+
flex: 1;
|
| 27 |
}
|
| 28 |
|
| 29 |
.title {
|
| 30 |
+
font-size: clamp(16px, 2.5vw, 24px);
|
| 31 |
font-weight: 800;
|
| 32 |
color: #0f172a;
|
| 33 |
letter-spacing: -0.02em;
|
| 34 |
+
white-space: nowrap;
|
| 35 |
+
overflow: hidden;
|
| 36 |
+
text-overflow: ellipsis;
|
| 37 |
}
|
| 38 |
|
| 39 |
.subtitle {
|
| 40 |
+
font-size: clamp(9px, 1.2vw, 11px);
|
| 41 |
font-weight: 700;
|
| 42 |
color: #64748b;
|
| 43 |
letter-spacing: 0.1em;
|
| 44 |
text-transform: uppercase;
|
| 45 |
margin-top: -2px;
|
| 46 |
+
opacity: 0.8;
|
| 47 |
+
}
|
| 48 |
+
|
| 49 |
+
@media (max-width: 900px) {
|
| 50 |
+
.subtitle {
|
| 51 |
+
display: none;
|
| 52 |
+
}
|
| 53 |
}
|
| 54 |
|
| 55 |
.right {
|