Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
f0e9d88
fix: add flex wrap to forecasted yeild assumptions row
Roaring30s Jan 8, 2026
c0101db
fix: enable auto instead of scroll for table overflows
Roaring30s Jan 8, 2026
432c451
fix: add margin to align wrapped items
Roaring30s Jan 8, 2026
7b702e5
feat: Add mobile-responsive card view for orchestrator list
Roaring30s Jan 8, 2026
c19a5f7
Merge branch 'main' of https://github.com/Roaring30s/explorer into fi…
Roaring30s Jan 10, 2026
50624c7
refactor(Table): add optional card rendering support for mobile views
Roaring30s Jan 10, 2026
a72f697
fix: adjust popover ui
Roaring30s Jan 10, 2026
65aeef4
refactor(PaginationControls): add PaginationControls to table
Roaring30s Jan 10, 2026
a4a3ae8
refactor: add OrchestratorActionsMenu
Roaring30s Jan 10, 2026
8f618a7
refactor: move roi functions to utils
Roaring30s Jan 10, 2026
525d503
refactor(orchestrator-list): extract components and centralize view m…
Roaring30s Jan 10, 2026
bdd859e
refactor(orchestrator-list): unify mobile and desktop rendering throu…
Roaring30s Jan 10, 2026
172ab2a
fix(orchestrator-list): fix card overflow and responsive layout issues
Roaring30s Jan 11, 2026
622e206
Merge branch 'main' into fix-orch-table
Roaring30s Jan 11, 2026
d4d9f33
Merge branch 'main' into fix-orch-table
ECWireless Jan 13, 2026
c15b198
Merge branch 'main' into fix-orch-table
Roaring30s Jan 14, 2026
2d8156b
Merge branch 'main' into fix-orch-table
Roaring30s Jan 14, 2026
bf31189
fix: resolve linter errors
Roaring30s Jan 14, 2026
9ad3ebc
feat: add selectors
Roaring30s Jan 14, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
121 changes: 121 additions & 0 deletions components/OrchestratorList/OrchestratorActionsMenu.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
import PopoverLink from "@components/PopoverLink";
import {
Box,
Flex,
IconButton,
Popover,
PopoverContent,
PopoverTrigger,
Text,
} from "@livepeer/design-system";
import { DotsHorizontalIcon } from "@radix-ui/react-icons";

type OrchestratorActionsMenuProps = {
accountId: string;
isMobile?: boolean;
};

export function OrchestratorActionsMenu({
accountId,
isMobile = false,
}: OrchestratorActionsMenuProps) {
return (
<Popover>
<PopoverTrigger
onClick={(e) => {
e.stopPropagation();
}}
asChild
>
<IconButton
aria-label="Orchestrator actions"
css={{
cursor: "pointer",
opacity: 1,
transition: "background-color .3s",
"&:hover": {
bc: "$primary5",
transition: "background-color .3s",
},
}}
>
<DotsHorizontalIcon />
</IconButton>
</PopoverTrigger>
<PopoverContent
css={{
borderRadius: "$4",
bc: "$neutral4",
...(isMobile && {
marginLeft: "$3",
marginRight: "$3",
}),
}}
onClick={(e) => {
e.stopPropagation();
}}
onPointerEnterCapture={undefined}
onPointerLeaveCapture={undefined}
placeholder={undefined}
>
<Box
css={{
borderBottom: "1px solid $neutral6",
paddingLeft: "$1",
paddingRight: "$1",
paddingTop: "$1",
paddingBottom: "$2",
}}
>
<Text
variant="neutral"
size="1"
css={{
marginLeft: "$3",
marginTop: "$2",
marginBottom: "$2",
fontWeight: 600,
textTransform: "uppercase",
}}
>
Actions
</Text>

<PopoverLink href={`/accounts/${accountId}/orchestrating`}>
Delegate
</PopoverLink>
</Box>
<Flex
css={{
flexDirection: "column",
padding: "$1",
}}
>
<Text
variant="neutral"
size="1"
css={{
marginLeft: "$3",
marginTop: "$2",
marginBottom: "$2",
fontWeight: 600,
textTransform: "uppercase",
}}
>
Account Details
</Text>

<PopoverLink href={`/accounts/${accountId}/orchestrating`}>
Orchestrating
</PopoverLink>
<PopoverLink href={`/accounts/${accountId}/delegating`}>
Delegating
</PopoverLink>
<PopoverLink href={`/accounts/${accountId}/history`}>
History
</PopoverLink>
</Flex>
</PopoverContent>
</Popover>
);
}
Loading