Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
35ddfc2
update client
maciaszczykm Jul 24, 2026
c7c4bd9
add icons
maciaszczykm Jul 24, 2026
37132d1
add new custom actions
maciaszczykm Jul 24, 2026
a415135
add approval setting
maciaszczykm Jul 24, 2026
4c6f719
add missing query
maciaszczykm Jul 24, 2026
d6fd2b4
update awaiting review panel
maciaszczykm Jul 24, 2026
67f9547
regenerate client
maciaszczykm Jul 24, 2026
127ccff
regenerate client
maciaszczykm Jul 24, 2026
1bf2924
fix server code
maciaszczykm Jul 24, 2026
6c31ece
update query
maciaszczykm Jul 24, 2026
045f9b6
update workbench tooltip
maciaszczykm Jul 24, 2026
f7ec888
update lightning icon
maciaszczykm Jul 27, 2026
7dcfef0
initialize actions tab
maciaszczykm Jul 27, 2026
240d8df
fix panel content check
maciaszczykm Jul 27, 2026
8a6af64
allow activities filtering
maciaszczykm Jul 27, 2026
cfc1e7c
add pending actions icon
maciaszczykm Jul 27, 2026
6f1acd6
fix activity rejection
maciaszczykm Jul 27, 2026
2a54607
initial list action implementation
maciaszczykm Jul 27, 2026
8db02ce
fix tool form
maciaszczykm Jul 27, 2026
1c86a2c
update action buttons
maciaszczykm Jul 27, 2026
f78c536
add status chip
maciaszczykm Jul 27, 2026
a2724c6
add deny modal with optional reason field
maciaszczykm Jul 27, 2026
032513f
show action tab only if not empty
maciaszczykm Jul 27, 2026
2220bed
update styling
maciaszczykm Jul 27, 2026
29260db
update styling
maciaszczykm Jul 27, 2026
e21a27f
update icon
maciaszczykm Jul 27, 2026
7cf6469
handle all statuses
maciaszczykm Jul 27, 2026
53360c8
add cards in chat
maciaszczykm Jul 27, 2026
add8584
update actions
maciaszczykm Jul 27, 2026
c98c2b5
refactor
maciaszczykm Jul 27, 2026
6d09bcb
store info about user rejecting action
maciaszczykm Jul 27, 2026
80e7b47
add denial result
maciaszczykm Jul 27, 2026
3d8ad0d
style error display
maciaszczykm Jul 27, 2026
d48408b
update cards
maciaszczykm Jul 27, 2026
5cfca4a
update deny popover
maciaszczykm Jul 27, 2026
f196497
update card borders
maciaszczykm Jul 27, 2026
319824f
add configure actions step
maciaszczykm Jul 28, 2026
c8463d2
fix chip list
maciaszczykm Jul 28, 2026
4e75bcf
add checkboxes
maciaszczykm Jul 28, 2026
4dd1949
update awaiting review panel
maciaszczykm Jul 28, 2026
420c56d
Merge origin/master into prod-5064 branch.
maciaszczykm Jul 28, 2026
9d4a892
add k8s cards
maciaszczykm Jul 28, 2026
e216219
add k8s actions to actions panel
maciaszczykm Jul 28, 2026
4d16056
add delete variant
maciaszczykm Jul 28, 2026
be61aac
move diff viewer to design system
maciaszczykm Jul 28, 2026
ef44fc9
update memo display
maciaszczykm Jul 28, 2026
d45c101
protect secret bodies and make approval atomic
maciaszczykm Jul 28, 2026
3b96441
regenrate schema
maciaszczykm Jul 28, 2026
12e13e2
fix build
maciaszczykm Jul 28, 2026
964a4d0
elixir cleanup
michaeljguarino Jul 28, 2026
4f64e7e
cleanup elixir changes
michaeljguarino Jul 28, 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
1 change: 1 addition & 0 deletions assets/design-system/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
"mermaid": "11.16.0",
"react-animate-height": "3.2.4",
"react-aria": "3.50.0",
"react-diff-viewer-continued": "4.4.0",
"react-markdown": "9.1.0",
"react-merge-refs": "2.1.1",
"react-stately": "3.48.0",
Expand Down
2 changes: 2 additions & 0 deletions assets/design-system/src/components/ChipList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ function ChipList<TValue = string>({
{values.length > limit && (
<Chip
{...props}
closeButton={false}
clickable={false}
tooltip={
<Flex
gap="xsmall"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,26 +1,36 @@
import { useMemo } from 'react'
import ReactDiffViewer, {
ReactDiffViewerProps,
DiffMethod,
type ReactDiffViewerProps,
} from 'react-diff-viewer-continued'
import { useTheme } from 'styled-components'
import { Card, CardProps, WrapWithIf } from '@pluralsh/design-system'
import { merge } from 'lodash-es'
import chroma from 'chroma-js'
import { merge } from 'lodash'
import { useMemo } from 'react'
import { useTheme } from 'styled-components'

import Card, { type CardProps } from './Card'
import WrapWithIf from './WrapWithIf'

export { DiffMethod }
export type { ReactDiffViewerProps }

const opacity = (color: string, amount: number) =>
chroma(color).alpha(amount).hex()

const opacity = (color: string, opacity: number) => {
return chroma(color).alpha(opacity).hex()
export type DiffViewerProps = Omit<
ReactDiffViewerProps,
'leftTitle' | 'rightTitle'
> & {
asCard?: boolean
cardProps?: CardProps
}

export default function DiffViewer({
export function DiffViewer({
styles,
asCard = true,
cardProps,
hideSummary = true,
...props
}: Omit<ReactDiffViewerProps, 'leftTitle' | 'rightTitle'> & {
asCard?: boolean
cardProps?: CardProps
}) {
}: DiffViewerProps) {
const theme = useTheme()

const mergedStyles = useMemo(() => {
Expand All @@ -29,6 +39,7 @@ export default function DiffViewer({
gutterBackground: 'transparent',
codeFoldGutterBackground: 'transparent',
}

return merge(
{
content: {
Expand Down Expand Up @@ -97,3 +108,5 @@ export default function DiffViewer({
</WrapWithIf>
)
}

export default DiffViewer
42 changes: 42 additions & 0 deletions assets/design-system/src/components/icons/GoogleCloudRunIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
import createIcon from './createIcon'

const icon =

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

embedding a png seems like the wrong approach here. You can either generate an svg from it with a tool or ask the ai to do that for you.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've done a ton of these, I usually just prompt the ai to search for brand icons online, and generate the appropriate svg from them. It can normally figure it out, and often find one that's already availale online with web search.

'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAERElE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EGTHnaDGxNUV3Ljj4ob04NxPMfxaYtXZBOMQbslu3+qp8KcOT0pgeJg0kpHrHvhdWZQMEwkkPEIwsQkgB9EVRih291UjY6z5PcspuzpsOGUuJSB3nHspEFG2MyrqV8xzGgRl2VBOOUjZ2Nj4isf6jOFajc0KmHrF/5qb1Yw35GXesaWMSMUGIpTUsF5H3P7NcCFjOQGZuPTa9jgs9zxAX6LASEQc2cndReR7GvM893yKAzkrEID8Cfeu1M6y9l7QGq+CMcbA+CrIcsaVXTYOqHEhTAM8BqaRBLunpsrbZg0H8qxIADDN+fbF6unAj75T9ff5Bho6fP35COyq62/s3Nbf1NWaRmfrQOPMpaHLp3fMINNY5Nk/AAAA///Eup1SAAAABklEQVQDAKtD2E0fWLTJAAAAAElFTkSuQmCC'

export default createIcon(({ size, color, fullColor }) => (
<svg
width={size}
height={size}
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
{fullColor ? (
<image
href={icon}
width="24"
height="24"
/>
) : (
<>
<mask
id="google-cloud-run-icon-mask"
maskUnits="userSpaceOnUse"
style={{ maskType: 'alpha' }}
>
<image
href={icon}
width="24"
height="24"
/>
</mask>
<rect
width="24"
height="24"
fill={color}
mask="url(#google-cloud-run-icon-mask)"
/>
</>
)}
</svg>
))
42 changes: 42 additions & 0 deletions assets/design-system/src/components/icons/LambdaIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
import createIcon from './createIcon'

const icon =
'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABcAAAAYCAYAAAARfGZ1AAAD5UlEQVR4AYxVXWhcVRD+5tx79yfZ/DSbRJv0oSi1SvWhUAoRlEqeJKKVmqIgIhRa9MmiIKKWa4sW9EUQrQiCPvkHPolCRXwUIS+C0FJ8qKBttbtpm2x2s/fnjN/Zzf6km11zdubOOTNzvpk7d85Zg9vG6mt3TkWnijeiN4sJZdrhydX49fGH9TiC27b0XfaANz3FQMjoZmTV89/BzEyggGAbw2zDp+Xic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R21g+YmJ/0OkcO+PpwNj7/Yulw0G4fH7k7LXr/wEAAP//oYg0lgAAAAZJREFUAwB8uWLGeMjfdQAAAABJRU5ErkJggg=='

export default createIcon(({ size, color, fullColor }) => (
<svg
width={size}
height={size}
viewBox="0 0 23 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
{fullColor ? (
<image
href={icon}
width="23"
height="24"
/>
) : (
<>
<mask
id="lambda-icon-mask"
maskUnits="userSpaceOnUse"
style={{ maskType: 'alpha' }}
>
<image
href={icon}
width="23"
height="24"
/>
</mask>
<rect
width="23"
height="24"
fill={color}
mask="url(#lambda-icon-mask)"
/>
</>
)}
</svg>
))
16 changes: 6 additions & 10 deletions assets/design-system/src/components/icons/LightningIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,17 @@ import createIcon from './createIcon'
export default createIcon(({ size, color }) => (
<svg
width={size}
height={size}
viewBox="0 0 16 16"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M6.7002 15.5L11.2002 8.00005L8.3002 6.30005"
stroke={color}
strokeMiterlimit="10"
strokeLinejoin="round"
/>
<path
d="M9.2002 0.5L4.7002 8L7.6002 9.7"
stroke={color}
strokeMiterlimit="10"
strokeLinejoin="round"
d="M2.31845 13.9602C2.21613 13.917 2.1311 13.841 2.07677 13.7441C2.02245 13.6472 2.00193 13.535 2.01845 13.4252L2.92845 7.50018H0.513448C0.436885 7.50224 0.360872 7.48668 0.291275 7.45471C0.221677 7.42274 0.160355 7.3752 0.11204 7.31578C0.0637241 7.25635 0.0297068 7.18661 0.0126126 7.11196C-0.00448168 7.0373 -0.00419597 6.95971 0.0134475 6.88518L1.51345 0.385179C1.53984 0.273314 1.60397 0.173958 1.69504 0.103835C1.78611 0.0337133 1.89855 -0.00289298 2.01345 0.000178706H7.01345C7.08815 -7.52801e-05 7.16195 0.0164105 7.22944 0.0484249C7.29693 0.0804392 7.35639 0.127168 7.40345 0.185179C7.45117 0.243844 7.48497 0.312572 7.50229 0.386187C7.51961 0.459802 7.52001 0.536388 7.50345 0.610179L6.63845 4.50018H9.01345C9.10716 4.49999 9.19904 4.52614 9.2786 4.57565C9.35817 4.62516 9.42222 4.69603 9.46345 4.78018C9.49928 4.86095 9.51307 4.94977 9.5034 5.0376C9.49374 5.12543 9.46098 5.20913 9.40845 5.28018L2.90845 13.7802C2.86452 13.8453 2.80586 13.8992 2.73724 13.9374C2.66861 13.9756 2.59194 13.9971 2.51345 14.0002C2.44654 13.9989 2.38044 13.9854 2.31845 13.9602V13.9602ZM5.38845 5.50018L6.38845 1.00018H2.41345L1.14345 6.50018H4.09845L3.30345 11.6402L8.01345 5.50018H5.38845Z"
transform="translate(3.4864 1)"
fill={color}
fillRule="evenodd"
clipRule="evenodd"
/>
</svg>
))
42 changes: 42 additions & 0 deletions assets/design-system/src/components/icons/MicrosoftActionsIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
import createIcon from './createIcon'

const icon =
'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAVCAYAAABc6S4mAAACP0lEQVR4AaSVsW4TQRCGZ9e5hiYpAuItkKCJkyI2JQWPAUKCltZ2QUUJEgqPQY1wIoGDQATBYyCEoEgi4rvd7Le6ueyd75KTYvnP7s78/z+j2fPFSs/P8setaf7z5jzi6+ZH92H9myI/2HzYZdO7gBGZiDcjYE6KHe/kLpDwWdv9/S4srd9eBZbfb48q9dKJgDLgBtms3LYuvQqYQTFRtTkudCt+YF5f1j3EzgLDt4v59t6naeye0cAGZffGytHa+O+zrTeHI7ik2rBSIAr2Ft54f7B4vDOtiU4uutfRfH4y3Ic7DBq0NX441ApAMNbPjfiZmtfHkweJrIwGLhq0eERS+acqQAICRATka+MpR0PcFP5p8X7dK/L5xis0aPHACx6IBZg1CQgQSYC0e1l6kcxKDYGkdxG2ghYPvPAkZtl4MRMSEAhWSC/3xkD8RlZBOXoXesYDLzzxtt6YXZIkWFN4kVmKKse4Aroe09TLHj7aHouRfR61dHaYZXd+TVMQA/wW0tEQS4EXnhSyJGKRsGF2zSIhHL/xwtmFR9UU7sje/3ePYxOY89iqZywAiQCz6yqiF26Oc2nOHT2N8VvAnM6JgaoABxKdRbjw0H3b3DGnMbR44KWoFSAIASIChMTieMKl2tM8vh6IKeDARYNW47quFCABEQF7EMdz6r50zd07M0YDt4nWApAQ8J6J3Z/5kTj7gngTcEAzrufOAkpg9bl7edVrGV4bri7w/+xBtvXneZu4T+zSAvyvvY45DZwDAAD//45G9PoAAAAGSURBVAMARbFYWb7haUoAAAAASUVORK5CYII='

export default createIcon(({ size, color, fullColor }) => (
<svg
width={size}
height={size}
viewBox="0 0 24 21"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
{fullColor ? (
<image
href={icon}
width="24"
height="21"
/>
) : (
<>
<mask
id="microsoft-actions-icon-mask"
maskUnits="userSpaceOnUse"
style={{ maskType: 'alpha' }}
>
<image
href={icon}
width="24"
height="21"
/>
</mask>
<rect
width="24"
height="21"
fill={color}
mask="url(#microsoft-actions-icon-mask)"
/>
</>
)}
</svg>
))
3 changes: 3 additions & 0 deletions assets/design-system/src/icons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ export { default as GitPullIcon } from './components/icons/GitPullIcon'
export { default as GKEIcon } from './components/icons/GKEIcon'
export { default as GlobeIcon } from './components/icons/GlobeIcon'
export { default as GoogleCloudLogoIcon } from './components/icons/GoogleCloudLogoIcon'
export { default as GoogleCloudRunIcon } from './components/icons/GoogleCloudRunIcon'
export { default as GoogleLogoIcon } from './components/icons/GoogleLogoIcon'
export { default as GrafanaLogoIcon } from './components/icons/GrafanaLogoIcon'
export { default as GraphIcon } from './components/icons/GraphIcon'
Expand Down Expand Up @@ -161,6 +162,7 @@ export { default as KeyIcon } from './components/icons/KeyIcon'
export { default as KeyPairIcon } from './components/icons/KeyPairIcon'
export { default as KubernetesIcon } from './components/icons/Kubernetes'
export { default as KubernetesAltIcon } from './components/icons/KubernetesAltIcon'
export { default as LambdaIcon } from './components/icons/LambdaIcon'
export { default as LifePreserverIcon } from './components/icons/LifePreserverIcon'
export { default as LightningIcon } from './components/icons/LightningIcon'
export { default as LinearLogoIcon } from './components/icons/LinearLogoIcon'
Expand All @@ -180,6 +182,7 @@ export { default as MarketPlusIcon } from './components/icons/MarketPlusIcon'
export { default as McpLogoIcon } from './components/icons/McpLogoIcon'
export { default as MegaphoneIcon } from './components/icons/MegaphoneIcon'
export { default as MessagesIcon } from './components/icons/MessagesIcon'
export { default as MicrosoftActionsIcon } from './components/icons/MicrosoftActionsIcon'
export { default as MinusIcon } from './components/icons/MinusIcon'
export { default as MinimizeIcon } from './components/icons/MinimizeIcon'
export { default as MoonIcon } from './components/icons/MoonIcon'
Expand Down
5 changes: 5 additions & 0 deletions assets/design-system/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ export { default as CodeEditor } from './components/CodeEditor'
export { default as Codeline } from './components/Codeline'
export { ComboBox } from './components/ComboBox'
export { default as Date } from './components/Date'
export {
default as DiffViewer,
DiffMethod,
type DiffViewerProps,
} from './components/DiffViewer'
export { default as Divider } from './components/Divider'
export { default as EmptyState } from './components/EmptyState'
export { default as Flex } from './components/Flex'
Expand Down
62 changes: 62 additions & 0 deletions assets/design-system/src/stories/DiffViewer.stories.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
import { DiffMethod, DiffViewer } from '..'

const OLD_VALUE = `apiVersion: v1
kind: ConfigMap
metadata:
name: demo
namespace: default
data:
feature: enabled
`

const NEW_VALUE = `apiVersion: v1
kind: ConfigMap
metadata:
name: demo
namespace: default
data:
feature: disabled
extra: true
`

export default {
title: 'DiffViewer',
component: DiffViewer,
argTypes: {
splitView: {
control: 'boolean',
},
asCard: {
control: 'boolean',
},
hideLineNumbers: {
control: 'boolean',
},
},
}

function Template(args: any) {
return (
<div style={{ maxWidth: 720 }}>
<DiffViewer {...args} />
</div>
)
}

export const Default = Template.bind({})
Default.args = {
oldValue: OLD_VALUE,
newValue: NEW_VALUE,
splitView: false,
compareMethod: DiffMethod.LINES,
asCard: true,
}

export const DeletedFile = Template.bind({})
DeletedFile.args = {
oldValue: OLD_VALUE,
newValue: '',
splitView: false,
compareMethod: DiffMethod.LINES,
asCard: true,
}
1 change: 0 additions & 1 deletion assets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@
"query-string": "8.2.0",
"react": "19.2.7",
"react-diff-view": "3.3.3",
"react-diff-viewer-continued": "4.4.0",
"react-dom": "19.2.7",
"react-dropzone": "14.4.1",
"react-error-boundary": "4.1.2",
Expand Down
4 changes: 2 additions & 2 deletions assets/src/components/ai/insights/PrEvidenceDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ import {
AccordionItem,
CloseIcon,
CaretDownIcon,
DiffMethod,
DiffViewer,
FileIcon,
Flex,
IconFrame,
PrOpenIcon,
} from '@pluralsh/design-system'
import DiffViewer from 'components/utils/DiffViewer'
import { StackedText } from 'components/utils/table/StackedText'
import { useMemo } from 'react'
import { DiffMethod } from 'react-diff-viewer-continued'
import styled from 'styled-components'
import pluralize from 'pluralize'
import { getURLPath } from 'utils/url'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ export function AwaitingReviewAgentRunItem({
workbenchId={workbench.id}
workbenchName={workbench.name}
workbenchJobId={workbenchJob.id}
jobInsertedAt={workbenchJob.insertedAt}
onNavigate={onNavigate}
css={{ flexShrink: 0 }}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ export default function AwaitingReviewLauncher() {
setOpen(false)
})

const { stacks, agentRuns, count, loading, error } = useAwaitingReview()
const { stacks, agentRuns, activities, count, loading, error } =
useAwaitingReview()

useLayoutEffect(() => {
if (!open) return
Expand Down Expand Up @@ -95,6 +96,7 @@ export default function AwaitingReviewLauncher() {
<AwaitingReviewPanel
stacks={stacks}
agentRuns={agentRuns}
activities={activities}
loading={loading}
error={error}
onClose={() => setOpen(false)}
Expand Down
Loading
Loading