feat: unify real activity tracking, admin monitoring, and error UX

This commit is contained in:
Stalin
2026-04-19 17:50:53 +05:30
parent cfc159d105
commit 9115fc5ffd
86 changed files with 9002 additions and 2838 deletions
+84 -4
View File
@@ -28,8 +28,8 @@ const config: Config = {
primary: {
DEFAULT: "hsl(var(--primary))",
foreground: "hsl(var(--primary-foreground))",
blue: "#2563eb", // Primary blue
purple: "#7c3aed", // Primary purple
blue: "#2563eb",
purple: "#7c3aed",
},
secondary: {
DEFAULT: "hsl(var(--secondary))",
@@ -56,10 +56,10 @@ const config: Config = {
foreground: "hsl(var(--card-foreground))",
},
success: {
DEFAULT: "#059669", // Success green
DEFAULT: "#059669",
},
warning: {
DEFAULT: "#f59e0b", // Warning orange
DEFAULT: "#f59e0b",
},
},
borderRadius: {
@@ -67,6 +67,20 @@ const config: Config = {
md: "calc(var(--radius) - 2px)",
sm: "calc(var(--radius) - 4px)",
},
transitionDelay: {
"0": "0ms",
"100": "100ms",
"200": "200ms",
"300": "300ms",
"500": "500ms",
"700": "700ms",
"800": "800ms",
"1000": "1000ms",
"1200": "1200ms",
"1600": "1600ms",
"2000": "2000ms",
"4000": "4000ms",
},
keyframes: {
"accordion-down": {
from: { height: "0" },
@@ -76,10 +90,76 @@ const config: Config = {
from: { height: "var(--radix-accordion-content-height)" },
to: { height: "0" },
},
"blob": {
"0%, 100%": { transform: "translate(0, 0) scale(1)" },
"33%": { transform: "translate(30px, -50px) scale(1.1)" },
"66%": { transform: "translate(-20px, 20px) scale(0.9)" },
},
"float": {
"0%, 100%": { transform: "translateY(0px)" },
"50%": { transform: "translateY(-20px)" },
},
"wiggle": {
"0%, 100%": { transform: "rotate(0deg)" },
"25%": { transform: "rotate(-1deg)" },
"75%": { transform: "rotate(1deg)" },
},
"rotate-slow": {
"0%": { transform: "rotate(0deg)" },
"100%": { transform: "rotate(360deg)" },
},
"spin-slow": {
"0%": { transform: "rotate(0deg)" },
"100%": { transform: "rotate(360deg)" },
},
"pulse-subtle": {
"0%, 100%": { opacity: "0.7" },
"50%": { opacity: "1" },
},
"morph": {
"0%, 100%": { borderRadius: "60% 40% 30% 70% / 60% 30% 70% 40%" },
"50%": { borderRadius: "30% 60% 70% 40% / 50% 60% 30% 60%" },
},
"morph-reverse": {
"0%, 100%": { borderRadius: "30% 60% 70% 40% / 50% 60% 30% 60%" },
"50%": { borderRadius: "60% 40% 30% 70% / 60% 30% 70% 40%" },
},
"wobble": {
"0%, 100%": { transform: "translateX(0%)" },
"15%": { transform: "translateX(-5px) rotate(-5deg)" },
"30%": { transform: "translateX(5px) rotate(3deg)" },
"45%": { transform: "translateX(-5px) rotate(-3deg)" },
"60%": { transform: "translateX(2px) rotate(2deg)" },
"75%": { transform: "translateX(-2px) rotate(-1deg)" },
},
"slide-in-up": {
"0%": { opacity: "0", transform: "translateY(30px)" },
"100%": { opacity: "1", transform: "translateY(0)" },
},
"glow": {
"0%, 100%": { textShadow: "0 0 10px rgba(255, 255, 255, 0.5)" },
"50%": { textShadow: "0 0 20px rgba(255, 255, 255, 0.8)" },
},
"shimmer": {
"0%": { backgroundPosition: "-1000px 0" },
"100%": { backgroundPosition: "1000px 0" },
},
},
animation: {
"accordion-down": "accordion-down 0.2s ease-out",
"accordion-up": "accordion-up 0.2s ease-out",
"blob": "blob 7s infinite",
"float": "float 3s ease-in-out infinite",
"wiggle": "wiggle 0.7s ease-in-out infinite",
"rotate-slow": "rotate-slow 20s linear infinite",
"spin-slow": "spin-slow 3s linear infinite",
"pulse-subtle": "pulse-subtle 2s ease-in-out infinite",
"morph": "morph 8s ease-in-out infinite",
"morph-reverse": "morph-reverse 8s ease-in-out infinite",
"wobble": "wobble 0.8s ease-in-out infinite",
"slide-in-up": "slide-in-up 0.6s ease-out",
"glow": "glow 2s ease-in-out infinite",
"shimmer": "shimmer 2s linear infinite",
},
},
},