Commit Graph

6218 Commits

Author SHA1 Message Date
claude[bot] cb4d57cb62 feat: allow editing messages in AI chat (#6117)
* feat: add message editing functionality to AI chat

- Add editMessage() method to AIChatManager for editing user messages
- Add edit button UI that appears on hover for all user messages  
- Transform message display into textarea when editing
- Remove subsequent messages and resend on Enter
- Add keyboard shortcuts: Enter to save, Escape to cancel
- Maintain existing restart generation functionality

Co-authored-by: Ruben Fiszel <rubenfiszel@users.noreply.github.com>

* fix

* big cleaning

* use aichatinput when editing message

* cleaning

* fix

* remove logs

* better retry button

* fix

* Update frontend/src/lib/components/copilot/chat/ContextTextarea.svelte

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* cleaning

* fix retry logic

---------

Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: Ruben Fiszel <rubenfiszel@users.noreply.github.com>
Co-authored-by: centdix <farhadg110@gmail.com>
Co-authored-by: centdix <40307056+centdix@users.noreply.github.com>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-07-04 13:11:29 +02:00
wendrul 1f03eb96de feat: Better tracing for audit logs, including a graph to visualize them (#6078)
* Migrate audit log page to svelte 5

* Add email and span cols to audit table

* Add token_prefixs to audit logs (into AuditAuthorable trait)

* Add audit logs graph (wip)

* Add audit span on push and jwt

* Unify same job audit into the same audit span

* Improve the graph visually

* Fix typo

* functioning graph with svelte issue

* Fix leak

* feat: migrate AuditLogsTable from DataTable to VirtualList for performance

- Replace DataTable component with VirtualList for handling thousands of rows
- Migrate to Svelte 5 runes ($props, $bindable, $derived, $state)
- Implement flattenLogs() for virtual scrolling with grouped date headers
- Add sticky indices and dynamic height calculation
- Update parent component to use callback prop pattern instead of events
- Preserve all existing functionality: filtering, selection, pagination
- Follows RunsTable.svelte implementation pattern

Resolves performance issues when displaying large audit log datasets.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-authored-by: Ruben Fiszel <rubenfiszel@users.noreply.github.com>

* Fix remaining virtual list issues

* WIP graph

* Fix chart styling

* Fix npm check

* Fix missing audit_span arguments

* Update sqlx

* use varchar 255 for email as in other tables

* Remove syntax inconsistency

* Match struct with ee crate

* Update ee-repo-ref.txt

* Update worker_flow.rs

* Remove redefinition of trait to prevent shadowing

* Re add trait on oss but only when no `private` flag

---------

Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: Ruben Fiszel <rubenfiszel@users.noreply.github.com>
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2025-07-03 21:02:45 +00:00
Diego Imbert 4205b47746 Fix unstable flow layout (#6126) 2025-07-03 08:48:56 +00:00
Alexander Petric 421d1b55fe fix: carousel app component, expose current index (#6120)
* feat: carousel app component, expose current index

* minimal diff
2025-07-02 16:31:43 +00:00
Ruben Fiszel 4b9e94f21b chore(main): release 1.502.2 (#6108)
* chore(main): release 1.502.2

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com>
2025-07-02 05:47:44 +00:00
centdix e2c84759eb fix ai chat tooltip position issue (#6114) 2025-07-01 22:15:06 +00:00
Guilhem 224bad1fc2 fix(frontend): improve step job load (#6109)
* fix(frontend): improve step job load

* nit
2025-07-01 23:41:26 +02:00
HugoCasa dc8f967dbc fix: bad spacing ai chat context elements (#6111) 2025-07-01 23:39:01 +02:00
pyranota 5565f1b72d nit: remove Assistants button for Nushell (#6113)
Signed-off-by: pyranota <pyra@duck.com>
2025-07-01 23:38:06 +02:00
Guilhem 8666069c76 fix(frontend): only show test button for script modules (#6107)
* fix(frontend): only show test button for script modules

* nit
2025-07-01 18:14:06 +02:00
Ruben Fiszel 0094fb5f11 chore(main): release 1.502.1 (#6103)
* chore(main): release 1.502.1

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com>
2025-07-01 14:16:13 +02:00
Guilhem 1637feac88 fix(frontend): update test job logs (#6102) 2025-07-01 12:09:33 +00:00
Ruben Fiszel 77035ea8fd chore(main): release 1.502.0 (#6082)
* chore(main): release 1.502.0

* Apply automatic changes

---------

Co-authored-by: rubenfiszel <275584+rubenfiszel@users.noreply.github.com>
2025-06-30 20:18:34 +00:00
windmill-internal-app[bot] f99f8ec441 fix: add support for GCS object storage (#6083)
* AI: Updates to files (run 15923369101)

* all

* ee ref

* unneeded

---------

Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
Co-authored-by: HugoCasa <hugo@casademont.ch>
2025-06-30 20:11:57 +00:00
Ruben Fiszel d8bf7d22d5 fix: fix s3 settings reset 2025-06-30 20:05:26 +00:00
HugoCasa 66cbcf562b fix: test up to broken due to mutable flow ai chat preview (#6096) 2025-06-30 16:27:44 +00:00
Ruben Fiszel 4bcedf26e0 fix drawer issues 2025-06-30 08:08:51 +00:00
Ruben Fiszel 12a46e5b9f fix drawer issues 2025-06-30 08:00:14 +00:00
Ruben Fiszel 108ff955de lazy load nits 2025-06-30 00:07:35 +00:00
Ruben Fiszel 4b17f0e4f7 nit 2025-06-29 22:48:22 +00:00
Ruben Fiszel 41c8ac1c92 fix: optimize public apps rendering 2025-06-29 22:46:27 +00:00
Ruben Fiszel e2128b854e minor perf nits 2025-06-29 20:15:03 +00:00
Ruben Fiszel 5910a898f2 minot perf nits 2025-06-29 20:05:32 +00:00
Ruben Fiszel 3bd8f31258 lazy load superadmin settings 2025-06-29 19:41:34 +00:00
Ruben Fiszel 7968d8cfc4 finish migrating app editor to svelte 5 (#6090)
* all

* all

* all

* all
2025-06-29 19:01:06 +00:00
Ruben Fiszel 56dd79c518 recompute all fix 2025-06-29 10:09:16 +00:00
Ruben Fiszel e19c8f47d0 app svelte 5 improvements 2025-06-29 09:29:28 +00:00
Ruben Fiszel b5c561f09e improve arraystaticinputeditor 2025-06-29 09:03:35 +00:00
Ruben Fiszel 6327c88628 more app svelte 5 migrations 2025-06-29 08:43:37 +00:00
Ruben Fiszel 779eb050f0 fix appDisplayComponentByJobId 2025-06-29 08:18:46 +00:00
Ruben Fiszel cfe769d908 fix delete issue of app 2025-06-29 07:54:41 +00:00
Ruben Fiszel 0191d27d7d svelte 5 nits 2025-06-29 07:43:36 +00:00
Ruben Fiszel 587ae31f4e svelte 5 nits 2025-06-28 21:54:36 +00:00
Ruben Fiszel 0aabe1c974 svelte 5 nits 2025-06-28 21:46:49 +00:00
Ruben Fiszel bd187eb9ac nits svelte 5 migration 2025-06-28 20:13:55 +02:00
Ruben Fiszel 93b2acf315 fix: public url in app menu 2025-06-28 19:41:12 +02:00
Alexander Petric 7f41fa9524 hubpaths for git sync gpg improvement: add commit author (#6087) 2025-06-28 08:10:56 +00:00
Ruben Fiszel 4dc60a5dd6 nit resource picker 2025-06-28 08:09:21 +00:00
Diego Imbert 673c18e6dc nit flow ai button (#6084) 2025-06-27 22:34:49 +02:00
Ruben Fiszel b46660519d nit fix 2025-06-27 21:58:13 +02:00
Ruben Fiszel 9ce34f9591 fix resource select broken 2025-06-27 21:46:30 +02:00
Alexander Petric d0149b99a0 only refresh token token expires in <30mins (#6085)
* fix: align frontend with backend session invalidity time

* simplify

* no more async

* align

* also change the other interval
2025-06-27 18:48:29 +02:00
Guilhem 2eef1d91db fix(frontend): improve flow editor settings bar UX (#6049)
* move settings and static inputs into top node

* Move test button in the top nodes

* Revert "Move test button in the top nodes"

This reverts commit 1c8648a538.

* Add error handler to top toolbar

* nit

* polishing

* add flow settings to topbar dropdown

* remove unused files

* progress

* progress

* fixes

* fix

* fix

* fix

* fix

---------

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2025-06-27 15:26:03 +00:00
claude[bot] ac7738652e Allow change_workspace_id on CLOUD_HOSTED for superadmins (#6073)
* feat: allow change_workspace_id on CLOUD_HOSTED for superadmins

- Import is_super_admin_email function from windmill_common::auth
- Modify CLOUD_HOSTED restriction to bypass for superadmin users  
- Resolves request to allow workspace ID changes for superadmins only

Co-authored-by: Ruben Fiszel <rubenfiszel@users.noreply.github.com>

* feat: allow superadmins to change workspace ID on cloud hosted environments

Update frontend conditional logic to show workspace ID change button for superadmins on cloud hosted environments. This complements the backend changes that already allow superadmins to perform the workspace ID change operation.

Changes:
- Add superadmin import from $lib/stores
- Update condition from `!isCloudHosted()` to `!isCloudHosted() || $superadmin`

Co-authored-by: Ruben Fiszel <rubenfiszel@users.noreply.github.com>

---------

Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: Ruben Fiszel <rubenfiszel@users.noreply.github.com>
2025-06-27 08:50:07 +00:00
HugoCasa ac1daf2439 feat: use FIM for code autocomplete (#6081)
* feat: use FIM for code autocomplete

* nits
2025-06-27 08:09:09 +00:00
dieriba 6bb9d98024 show placeholder for select in script picker (#6074)
* add clearbable for script picker

* fix
2025-06-27 08:06:21 +00:00
Alexander Petric 71642a4fd0 add GitHub app popover to ResourceEditor + refactor (#6079)
* Add GitHub App functionality to ResourceEditor and extract reusable component

- Extract GitHub App logic from ApiConnectForm into reusable GitHubAppIntegration component
- Add GitHub App functionality to ResourceEditor for consistent experience across workflows
- Create githubApp.ts service layer with comprehensive error handling and state management
- Maintain all existing functionality while improving code reusability

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Fix code formatting for GitHub App integration files

Apply Prettier formatting to newly created and modified components to ensure
consistent code style across the GitHub App integration implementation.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* linter

* Update frontend/src/lib/githubApp.ts

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Update frontend/src/lib/components/GitHubAppIntegration.svelte

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-06-27 08:04:46 +00:00
Alexander Petric e901e94ee2 center icon if no label present (#6080) 2025-06-26 21:59:03 +00:00
dieriba 1d390a8e84 add clearbable for script picker (#6071) 2025-06-26 17:22:09 +02:00
Diego Imbert 09ba1522da fix no feedback on folder deletion (#6070) 2025-06-26 17:19:23 +02:00