Commit Graph

317 Commits

Author SHA1 Message Date
Lucio Lelii 08df0219b1 fix(container): keep output sockets visible 2026-09-30 11:25:28 +02:00
Lucio Lelii 77daf0d728 style(editor): lighten zoom toolbar 2026-09-30 11:11:51 +02:00
Lucio Lelii 55f838193a style(editor): modernize zoom controls 2026-09-30 11:06:16 +02:00
Lucio Lelii 5216116a14 feat(execution): add right-side zoom controls 2026-09-30 10:47:10 +02:00
Lucio Lelii a37eacb238 style(execution): simplify credential authorization UI 2026-09-30 10:42:15 +02:00
Lucio Lelii e43063579e fix(execution): load source resources with step connections 2026-09-30 10:27:15 +02:00
Lucio Lelii 33732f34cc fix(execution): reload resources in read-only graph 2026-09-30 10:25:45 +02:00
Lucio Lelii a9e017c91f fix(execution): show resources and read-only settings 2026-09-30 10:23:20 +02:00
Lucio Lelii 758832edf7 feat(execution): reuse editor node renderers 2026-09-30 10:18:16 +02:00
Lucio Lelii 732398300f style(resource): offset fixed link socket lower 2026-09-30 10:03:32 +02:00
Lucio Lelii f15967039a style(resource): lower fixed link socket 2026-09-30 10:03:02 +02:00
Lucio Lelii b252af3448 fix(resource): anchor link socket at closed-card center 2026-09-30 10:02:22 +02:00
Lucio Lelii bc7fe4202a style(resource): center fixed link socket 2026-09-30 10:01:33 +02:00
Lucio Lelii e5b293f18b style(resource): enlarge fixed link socket 2026-09-30 10:00:37 +02:00
Lucio Lelii 7a2468b647 fix(resource): keep link socket height fixed 2026-09-30 09:57:20 +02:00
Lucio Lelii 5dc537146d merge: dynamic storage operations editor 2026-09-30 09:22:41 +02:00
Lucio Lelii 4e0d234763 fix(editor): retain wire selection for endpoints 2026-09-30 09:17:58 +02:00
Lucio Lelii bcc9009278 fix(editor): clear wire selection before node drag 2026-09-30 09:11:05 +02:00
Lucio Lelii 26b11a0203 fix(editor): follow only loop endpoints 2026-09-30 08:53:16 +02:00
Lucio Lelii 11bcfb5973 fix(editor): route loops from endpoint heights 2026-09-30 08:50:57 +02:00
Lucio Lelii 09abd7e3f6 fix(editor): keep loop routes at a fixed height 2026-09-30 08:44:34 +02:00
Lucio Lelii f33712a250 feat(editor): raise selected connection endpoints 2026-09-30 08:34:45 +02:00
Lucio Lelii aeead4bc6c feat(editor): name connected storage resources 2026-09-30 08:23:55 +02:00
Lucio Lelii 76fe788a16 style(editor): distinguish resource and dependency wires 2026-09-30 08:10:53 +02:00
Lucio Lelii 03b50ef989 fix(editor): raise only selected connection 2026-09-30 07:56:09 +02:00
Lucio Lelii c8085dad5a feat(editor): highlight selected connection endpoints 2026-09-30 07:52:12 +02:00
Lucio Lelii 421ef23518 fix(storage): refresh operations after resource change 2026-09-29 21:40:15 +02:00
Lucio Lelii d7e42ed253 fix(nodes): preserve open settings after replacement 2026-09-29 21:18:47 +02:00
Lucio Lelii d4ab8f8fb1 fix(nodes): preserve open settings after replacement 2026-09-29 21:18:37 +02:00
Lucio Lelii 2ea00386a8 style(resource): simplify card border 2026-09-29 21:10:40 +02:00
Lucio Lelii 95d33d218b style(resource): simplify card border 2026-09-29 21:10:40 +02:00
Lucio Lelii bbbae3632a feat(storage): refresh operation schema from resource links 2026-09-29 21:08:42 +02:00
Lucio Lelii 44a4ff09a9 ui: make node settings collapsible 2026-09-29 18:56:17 +02:00
Lucio Lelii d3f8ea3006 ui: refine admin workspace 2026-09-29 15:00:22 +02:00
Lucio Lelii f4a162a485 Make a node's fields, and their editor, easier to read
The fields sat in a grey box as blue chips, with a pencil on every one
of them and values printed as the constants they are stored as.

A field is now a quiet white card that lifts on hover, its label small
and grey above the value, and its pencil appears only when the field is
pointed at. A value that is one of a fixed set - CATALOG, PER_EXECUTION
- reads as words on a tinted plate, so it is clearly a choice and not
typed text; an empty one says so in grey rather than as a bare dash.
The dialog behind the pencil is roomier, with a focus ring on the
control and the same words in its dropdown.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-29 12:45:11 +02:00
Lucio Lelii 95ea013139 ui: make resource links visible and interactive 2026-09-29 11:41:57 +02:00
Lucio Lelii 67d6bc6b71 ui: align node sockets and widen resource cards 2026-09-29 11:14:11 +02:00
Lucio Lelii 97b174ac6e Expand and close a node with the icons a resource uses
Two pictures for one action: a node expanded with the fullscreen arrows
and closed with their inward twin, a resource with the diagonal arrows
and a plain ×. The node and the container now use the resource's pair.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-29 09:59:16 +02:00
Lucio Lelii 4b638414c9 Drop the coloured stripe from a step's left edge
The badge and the kind under the name already say what sort of step it
is; the stripe only added weight. A resource card keeps its own.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 09:56:44 +02:00
Lucio Lelii b6d61c2b8e Draw a step's header the way a resource card is drawn
The saturated blue (or amber) header bar gives way to a light one: a
tinted badge with the step's icon, its name in dark type with its kind
under it in the step's colour, and quiet borderless buttons that colour
on hover. The kind of step stays in a stripe on the left, as on a
resource card.

A step's icon now follows its kind - automated, human, decision, end,
branches rejoin - with the pictures the palette already uses for them,
instead of one raster image for every automated block. A schema that
names an icon still wins.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 09:52:46 +02:00
Lucio Lelii 3f4fb97626 Let a resource be expanded to edit it at full size
Like a block, a resource can now be lifted out of the canvas into a
panel at full size, with every field open, whatever the zoom - an init
script above all is unreadable in a card on a zoomed-out canvas. The
settings button still opens the fields in place for a quick look.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 09:47:11 +02:00
Lucio Lelii 2bf0f40804 Put a resource's handle bar on its right edge
Its links now leave to the right from the bar's middle, as a step's
outputs do, and come into the step's handle from the left.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 09:36:20 +02:00
Lucio Lelii 0afe66d372 Make a resource's handle a bar along its top edge
A small square on the edge was hard to see and hard to grab, and Rete
anchored its links 12px to one side of it - the offset it gives an
output on a node's right. The handle now runs along the whole top edge,
and its links start from the bar's middle.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 09:27:18 +02:00
Lucio Lelii 733de8df7a Draw a resource as a compact card, not one more step
A resource looked like a step: a header bar, a "Used by / Steps" row
with the handle on the right, every field open. It is now a card - its
type's icon, its name, one line saying where the store is - with the
fields behind a settings button and its handle on the top edge. Its
links leave that handle vertically and come into the step from the
left, so they read as something the steps hang from rather than one
more connection in the chain.

Saved links to a resource were not drawn at all when the resource
types had not been fetched yet - which was always, unless the
Resources palette had been opened - because the link was checked
against a kind nobody knew. The editor now fetches the resource types
before drawing, and puts saved links back without checking them again:
the server has.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 09:23:42 +02:00
Lucio Lelii b60fc3c1d6 Show each kind of store as a resource of its own
The resource palette now lists an S3 storage and a PostgreSQL database
as two cards, each with the label and icon its type declares, and the
node on the canvas takes the same. A step's resource field names a
kind, so a storage operation links to either store.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 09:09:47 +02:00
Lucio Lelii 52b26acddd Describe a resource node from the resource catalog, not the block one
The resource node inherited the generic node's schema lookup, which asks
the block catalog. Storage is not a block, so the lookup found nothing:
the node showed no fields, and every click on it fetched the catalog
again and covered it with the loading overlay, so nothing inside could
be clicked.

The lookup is now a hook the resource node overrides with the resource
catalog, and a resource is never recreated on the server - it has no
ports for the server to recompute.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 08:58:23 +02:00
Lucio Lelii 612fe41515 Give resources a palette of their own, beside blocks and containers
They were squeezed into the blocks palette as one more kind of block,
which is exactly the confusion the model change was meant to end. The
sidebar now has a third entry with its own icon and its own list, and
the blocks palette knows nothing about resources again.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-29 08:53:22 +02:00
Lucio Lelii 067cd2f287 Draw a resource as its own kind of node, not a block
A storage was a block with a visual role that said "not a step", which
left resource-shaped exceptions scattered through the editor, the node
components, the palette and the execution view.

The flow now carries resources beside its blocks, and the canvas draws
them with a component of their own: no ports, no dependencies, one
handle for the steps that use it. What a step links is read from the
schema flag x-resource-ref, so the editor no longer knows the word
"storage" anywhere - a new kind of resource needs no code here.

The configuration form the two kinds of node share is now a component of
its own (app-node-parameters), so a resource is edited exactly as a
block while it is drawn differently.

Resource types come from /resources/types, and share the palette with
the blocks under the Resource kind.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-29 08:24:18 +02:00
Lucio Lelii ee2696814c Link storage operations to a Storage node on the canvas
A Storage node has a 'Used by' handle and a storage operation a 'Works
on' one; the link drawn between them, teal and dotted, is what sets the
operation's storageNode. It is neither a connection nor a dependency: it
carries no value and orders nothing, and loops leave it out. An
operation works on one node, so a new link replaces the old one, and
removing the link empties the field. On load the links are drawn back
from what each operation says.

Fields the schema marks x-ui-hidden are left out of every form and chip
- storageNode is set by the link, not typed - and kept in the
configuration.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-28 17:39:37 +02:00
Lucio Lelii 1a7d139535 Put the palette's kind filter in a menu on the search field
The chips took four lines of a narrow sidebar. A filter button at the
end of the search field opens the kinds as checkboxes instead, and
shows how many are picked; its tooltip says which. The menu lives in
the overlay, so its font is set globally, where the palette's own
styles do not reach. A storage's icon is 'storage': 'database' is not
in the icon font, and showed nothing.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-28 16:09:23 +02:00