Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(frontend): Update block UI #8260

Merged
merged 38 commits into from
Oct 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
a07a337
feat(platform): Update block UI
majdyz Oct 3, 2024
34283c5
add border on card
majdyz Oct 4, 2024
a092a65
Merge branch 'master' into zamilmajdy/block-ui-update
Swiftyos Oct 4, 2024
0679a89
added delay and badge data-id
Swiftyos Oct 4, 2024
43f7ddb
Merge branch 'master' into zamilmajdy/block-ui-update
majdyz Oct 4, 2024
5a1df69
Fix border & width for block control list
majdyz Oct 4, 2024
12663d5
More cleanup on border & shadow
majdyz Oct 4, 2024
c39a0b1
Nav border consistency
majdyz Oct 4, 2024
22706be
Simplify category badges
majdyz Oct 4, 2024
69d2659
Merge branch 'master' into zamilmajdy/block-ui-update
majdyz Oct 7, 2024
b3c703b
Merge branch 'master' into zamilmajdy/block-ui-update
Swiftyos Oct 7, 2024
bbd82f1
restored backward compatablility
Swiftyos Oct 7, 2024
af70b2a
Merge branch 'master' of github.com:Significant-Gravitas/AutoGPT into…
majdyz Oct 7, 2024
4da24d7
fix alignement of sub handles
Swiftyos Oct 7, 2024
4e6c336
Fix dynamic pin experience
majdyz Oct 7, 2024
4b2ada3
Merge remote-tracking branch 'origin/zamilmajdy/block-ui-update' into…
majdyz Oct 7, 2024
f8b5d92
Added a timeout to prevent losing focus whilst typing
Swiftyos Oct 7, 2024
db242bc
Merge branch 'zamilmajdy/block-ui-update' of github.com:Significant-G…
Swiftyos Oct 7, 2024
50fed39
Added flex-col back in removed timeout
Swiftyos Oct 7, 2024
9bbd547
Merge branch 'master' into zamilmajdy/block-ui-update
majdyz Oct 7, 2024
6db1cae
Merge branch 'master' into zamilmajdy/block-ui-update
majdyz Oct 7, 2024
c0f3b30
Clear nodes before tutorial
majdyz Oct 8, 2024
ca85cb6
Fix highlight on tutorial
majdyz Oct 8, 2024
bcba6fd
Merge branch 'master' into zamilmajdy/block-ui-update
majdyz Oct 8, 2024
eba354a
Resolve conflicts
majdyz Oct 10, 2024
d01a700
Merge branch 'master' into zamilmajdy/block-ui-update
majdyz Oct 10, 2024
32bbc13
Merge branch 'master' into zamilmajdy/block-ui-update
ntindle Oct 10, 2024
5750743
Sort blocks
majdyz Oct 11, 2024
8f16d4d
lint
majdyz Oct 11, 2024
340da29
Merge branch 'master' of github.com:Significant-Gravitas/AutoGPT into…
majdyz Oct 11, 2024
57b32ab
Fix tutorial and lint error
majdyz Oct 11, 2024
ed42a52
w-fit
majdyz Oct 11, 2024
38c5e65
Fix tutorial modals silly jumps!
majdyz Oct 11, 2024
956ad99
updates to tutorial
Bentlybro Oct 12, 2024
a9fdb6c
prettier
Bentlybro Oct 12, 2024
7185e07
Merge branch 'master' into zamilmajdy/block-ui-update
Bentlybro Oct 12, 2024
a0baefa
add data-id to save control bar
Bentlybro Oct 12, 2024
91c11df
prettier again
Bentlybro Oct 12, 2024
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 autogpt_platform/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"@radix-ui/react-avatar": "^1.1.0",
"@radix-ui/react-checkbox": "^1.1.1",
"@radix-ui/react-collapsible": "^1.1.0",
"@radix-ui/react-context-menu": "^2.2.1",
"@radix-ui/react-dialog": "^1.1.1",
"@radix-ui/react-dropdown-menu": "^2.1.1",
"@radix-ui/react-icons": "^1.3.0",
Expand Down
2 changes: 1 addition & 1 deletion autogpt_platform/frontend/src/app/marketplace/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ const AgentCard: React.FC<{ agent: Agent; featured?: boolean }> = ({

return (
<div
className={`flex cursor-pointer flex-col justify-between rounded-lg border p-6 transition-colors duration-200 hover:bg-gray-50 ${featured ? "border-indigo-500 shadow-md" : "border-gray-200"}`}
className={`flex cursor-pointer flex-col justify-between rounded-lg border p-6 transition-colors duration-200 hover:bg-gray-50 ${featured ? "border-indigo-500 shadow-md" : "border-gray-300"}`}
onClick={handleClick}
>
<div>
Expand Down
6 changes: 3 additions & 3 deletions autogpt_platform/frontend/src/components/CustomEdge.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ export function CustomEdge({
}>({ beads: [], created: 0, destroyed: 0 });
const { svgPath, length, getPointForT, getTForDistance } = useBezierPath(
sourceX - 5,
sourceY,
targetX + 3,
targetY,
sourceY - 5,
targetX - 9,
targetY - 5,
);
const { deleteElements } = useReactFlow<Node, CustomEdge>();
const { visualizeBeads } = useContext(FlowContext) ?? {
Expand Down
Loading
Loading