From f06aa30758e3f172ffce28c313ec67a65e76c141 Mon Sep 17 00:00:00 2001 From: Nicole Rappe Date: Sat, 8 Nov 2025 20:33:50 -0700 Subject: [PATCH] Updated Assembly List Design --- .../src/Assemblies/Assembly_List.jsx | 113 ++++++++++-------- 1 file changed, 65 insertions(+), 48 deletions(-) diff --git a/Data/Engine/web-interface/src/Assemblies/Assembly_List.jsx b/Data/Engine/web-interface/src/Assemblies/Assembly_List.jsx index b5ef4bf0..bf1e907c 100644 --- a/Data/Engine/web-interface/src/Assemblies/Assembly_List.jsx +++ b/Data/Engine/web-interface/src/Assemblies/Assembly_List.jsx @@ -29,6 +29,9 @@ import { Apps as AppsIcon } from "@mui/icons-material"; ModuleRegistry.registerModules([AllCommunityModule]); +/** + * MagicUI Theme: Quartz base with Borealis aurora accents + */ const myTheme = themeQuartz.withParams({ accentColor: "#FFA6FF", backgroundColor: "#1f2836", @@ -51,6 +54,7 @@ const iconFontFamily = '"Quartz Regular"'; const BOREALIS_BLUE = "#58a6ff"; const DARKER_GRAY = "#9aa3ad"; const PAGE_SIZE = 25; + const SELECT_BASE_SX = { "& .MuiOutlinedInput-root": { bgcolor: "#1C1C1C", @@ -70,12 +74,17 @@ const SELECT_BASE_SX = { }, "& .MuiInputLabel-root.Mui-focused": { color: "#58a6ff" }, }; + const MENU_PROPS = { PaperProps: { sx: { - bgcolor: "#1C1C1C", - color: "#e6edf3", - border: "1px solid #2b3544", + background: + "radial-gradient(120% 120% at 0% 0%, rgba(76, 186, 255, 0.16), transparent 55%), radial-gradient(120% 120% at 100% 0%, rgba(214, 130, 255, 0.18), transparent 60%), #040711", + border: "none", + boxShadow: "none", + borderRadius: 0, + color: "#fff", + fontSize: "13px", "& .MuiMenuItem-root.Mui-selected": { bgcolor: "rgba(88,166,255,0.16)", }, @@ -503,7 +512,6 @@ export default function AssemblyList({ onOpenWorkflow, onOpenScript, userRole = () => ({ sortable: true, filter: "agTextColumnFilter", - // Remove floating textboxes at the top (use column menu filters instead) floatingFilter: false, resizable: true, flex: 0, @@ -578,12 +586,13 @@ export default function AssemblyList({ onOpenWorkflow, onOpenScript, userRole = return ( - - - Assemblies - - + + + + + Assemblies + + + Collections of scripts, workflows, and playbooks used to automate tasks across devices. @@ -609,7 +621,7 @@ borderRadius: "0", border: "1px solid rgba(148,163,184,0.35)", boxShadow: "0 25p onClick={handleRefresh} sx={{ color: "#ccc", - border: "1px solid #333", + border: "none", borderRadius: 1, "&:hover": { color: "#fff", borderColor: "#555" }, }} @@ -628,9 +640,16 @@ borderRadius: "0", border: "1px solid rgba(148,163,184,0.35)", boxShadow: "0 25p startIcon={} onClick={(event) => setNewMenuAnchor(event.currentTarget)} sx={{ - background: "linear-gradient(135deg,#7dd3fc,#c084fc)", borderRadius: 999, - "&:hover": { bgcolor: "#3975c7" }, + backgroundImage: "linear-gradient(135deg,#7dd3fc,#c084fc)", + color: "#0b1220", + borderRadius: 999, textTransform: "none", + boxShadow: "0 10px 26px rgba(124,58,237,0.28)", + "&:hover": { + backgroundImage: "linear-gradient(135deg,#86e1ff,#d1a6ff)", + boxShadow: "0 12px 34px rgba(124,58,237,0.38)", + filter: "none", + }, }} > New Assembly @@ -639,10 +658,7 @@ borderRadius: "0", border: "1px solid rgba(148,163,184,0.35)", boxShadow: "0 25p anchorEl={newMenuAnchor} open={Boolean(newMenuAnchor)} onClose={() => setNewMenuAnchor(null)} - PaperProps={{ sx: { background: "radial-gradient(120% 120% at 0% 0%, rgba(76, 186, 255, 0.16), transparent 55%), radial-gradient(120% 120% at 100% 0%, rgba(214, 130, 255, 0.18), transparent 60%), #040711", -border: "1px solid rgba(148,163,184,0.35)", -boxShadow: "0 25px 80px rgba(6, 12, 30, 0.8)", -borderRadius: "0", border: "1px solid rgba(148,163,184,0.35)", boxShadow: "0 25px 80px rgba(6, 12, 30, 0.8)", color: "#fff", fontSize: "13px" } }} + PaperProps={MENU_PROPS.PaperProps} > handleNewAssemblyOption("script")}>Script handleNewAssemblyOption("workflow")}>Workflow @@ -653,34 +669,26 @@ borderRadius: "0", border: "1px solid rgba(148,163,184,0.35)", boxShadow: "0 25p {