Commit Graph

3350 Commits

Author SHA1 Message Date
Kristaps Fabians Geikins b54fea0a7c feat: various automate fe2 fixes (#2321)
* minor cleanup

* fix(web-982): hide Open View button if already on that view

* fix(web-1000): showing updated notification when creating automation

* fix(web-1014;web-1016): clearing model select when project changed + listing only valid projects
2024-06-04 13:21:49 +03:00
Chuck Driesler 3f4cc4d34f clarify copy (#2317) 2024-06-03 16:48:21 +02:00
Kristaps Fabians Geikins 95aa58958f feat: authenticate user as function author (#2316)
* feat: check if user is fn author w/ exec engine

* WIP auth redirect

* finalized
2024-06-03 17:24:28 +03:00
Gergő Jedlicska 8f2974f8d4 chore(server): remove conditional migration flag (#2313) 2024-06-03 16:23:10 +02:00
Chuck Driesler 9eea906158 Merge pull request #2309 from specklesystems/chuck/chuckTestAutomationRuns
WEB-1033 Add ability to create test automation runs
2024-06-03 14:56:30 +01:00
AlexandruPopovici 88b64bf1ab Fixed sandbox linting error 2024-06-03 14:40:07 +03:00
andrewwallacespeckle d8d1173c38 fix(fe2): View menu not outputting correct names (#2298)
* fix: use view.view.name rather than view.name

* Remove headlessui from Views Menu to prevent close on click

* Fix mobile view

* Remove unused active ref

* Update SpeckleView type to include view.view.name

* Changed the SpeckleView type to no longer use the legacy structure. It's now just another SpeckleObject with some extra props which may or may not exist

* Adapted the viewer library and sandbox to the current SpeckleView model

* Use new SpeckleView. Remove old truncation method.

---------

Co-authored-by: AlexandruPopovici <alexandrupopoviciioan@gmail.com>
2024-06-03 12:04:11 +02:00
Gergő Jedlicska 30408c5127 chore(server): remove whatt log (#2312) 2024-06-03 07:28:34 +02:00
Charles Driesler d202fd8803 remove flag for test automations 2024-06-01 14:41:05 +01:00
Charles Driesler 1960d2296a Merge branch 'main' into chuck/chuckTestAutomationRuns 2024-06-01 13:29:37 +01:00
Alexandru Popovici 8550d3f762 preview-generation service Fix (#2311)
* Fix for broken preview-generation service running inside a docker image

* Reverted some possible dubious changes
2024-05-31 18:22:29 +03:00
Chuck Driesler 3be53f6db5 WEB-1052 Create test automations (#2302)
* fighting migrations

* test automation type

* fix type in tests and add test

* split `storeAutomation` and `storeAutomationToken`

* add `createTestAutomation`

* fix test usage of `storeAutomation`

* do not trigger functions if automation is a test automation

* whoops

* create test automations, almost

* encryption keys on autoamation revisions are NOT optional

* function selection in create test automation step

* update tests, lint

* Align input stylings

Also update the general select input component so the placeholder text aligns with other inputs

* Explain test automation and tweak copy

* Update form components on parameters step

To align with the form component updates I made in previous commits in this branch

* create dialog enhancements

* test automation badges

---------

Co-authored-by: Benjamin Ottensten <benjamin.ottensten@gmail.com>
2024-05-31 16:33:15 +02:00
Kristaps Fabians Geikins 7c68543e3c feat: check if user is fn author w/ exec engine (#2310) 2024-05-31 16:15:53 +03:00
Charles Driesler 26fa2d96ac connect service function to resolver 2024-05-31 11:24:48 +01:00
andrewwallacespeckle fed383b9e2 feat(fe2): add tooltip to "Open selection in new window" (#2308)
* feat(fe2): add tooltip to "Open selection in new window"

* Add screen reader text
2024-05-31 12:06:19 +02:00
andrewwallacespeckle 235ba37a44 fix(webhooks): hide switch label 2024-05-31 10:45:18 +02:00
Alexandru Popovici cd5a8b9779 Flickerless Depth Texture Read (#2300)
* Added extension for readingfrom the depth framebuffer. So that when getting the depth for gendo the image doesn't flicker anymore

* Updated the fronetend to use the new PassReader extension

* Removed PassReader from sandbox. Catered to typescript
2024-05-31 11:13:27 +03:00
Charles Driesler 7fb810e89b something like this... 2024-05-30 19:06:23 +01:00
Dimitrie Stefanescu 5759f8a059 Merge pull request #2306 from specklesystems/dim/dev-mode-quick-fixes
Dim/dev mode quick fixes
2024-05-30 18:20:48 +01:00
Dimitrie Stefanescu f4c6d52559 feat(dataviewer): linting fixes 2024-05-30 17:57:49 +01:00
Dimitrie Stefanescu 3cf6c1c8d5 feat(dataviewer): adds isolation button 2024-05-30 17:45:59 +01:00
AlexandruPopovici 5983c5e86b Fixed sandbox linting 2024-05-30 19:27:07 +03:00
Dimitrie Stefanescu 304833b332 feat(dataviewer): detachable fixes 2024-05-30 17:24:55 +01:00
Dimitrie Stefanescu 7a2989afaa Merge pull request #2285 from specklesystems/alex/WEB-999
WEB-999/Regression fixes
2024-05-30 16:36:30 +01:00
Charles Driesler 846665675a Merge branch 'main' into chuck/createTestAutomation 2024-05-30 13:26:26 +01:00
Dimitrie Stefanescu 3c15e888be adds a raw data viewer for advanced users (#2296)
* feat(gendo): scaffolding

* feat(gendo): wip

* feat(gendo): wip

* feat(gendo): wip

* feat(gendo): wip

* feat(gendo): wip

* feat(gendo): it's alive

* feat(gendo): wip

* feat(gendo): blobifies responses to make gergo happy

* feat(gendo): ratelimiting + lints

* feat(gendo): prettier fix

* feat(gendo): last fixes

* feat(gendo): clarifications

* feat(gendo): helm base

* feat(dataviewer): raw first pass

* feat(dataviewer): some styling

* feat(dataviewer): objects in new + fixes

* feat(dataviewer): resources support for object cards

* feat(dataviewer): adds selected object support

* feat(dataviewer): removes button from main sidebar, integrates with explorer

* feat(dataviewer): some value handling fixes

* feat(dataviewer): linting fixes

* feat(dataviewer): show raw viewer within Scene Explorer

* feat(dataviewer): Update copy and labels

* feat(dataviewer): Improve row borders and divider

* Apply suggestions from code review

* feat(dataviewer): Make sure arrow doesn't shrink

---------

Co-authored-by: andrewwallacespeckle <139135120+andrewwallacespeckle@users.noreply.github.com>
Co-authored-by: Benjamin Ottensten <benjamin.ottensten@gmail.com>
2024-05-30 14:12:49 +02:00
Charles Driesler d34bae6f5e update tests, lint 2024-05-30 13:03:23 +01:00
Charles Driesler fb7a095967 function selection in create test automation step 2024-05-30 12:20:25 +01:00
Kristaps Fabians Geikins bd7dd40d71 feat(server): posting origin to automate (#2301) 2024-05-30 14:14:44 +03:00
Charles Driesler 9fb829eeb9 encryption keys on autoamation revisions are NOT optional 2024-05-30 11:56:46 +01:00
Charles Driesler a8d7af5084 Merge branch 'chuck/testAutomationsNewEndpoints' into chuck/createTestAutomation 2024-05-30 11:08:39 +01:00
Charles Driesler 2cb5ce29ea Merge branch 'chuck/testAutomationsDatabaseTypes' into chuck/testAutomationsNewEndpoints 2024-05-30 10:45:57 +01:00
Charles Driesler 7232fd7a8a create test automations, almost 2024-05-29 16:20:35 +01:00
andrewwallacespeckle ffbc616fca fix: Remove z-index causing explode menu to be hidden 2024-05-29 14:08:22 +02:00
Charles Driesler 2df4c4a233 whoops 2024-05-29 12:45:45 +01:00
Charles Driesler 01f349bc57 do not trigger functions if automation is a test automation 2024-05-29 12:36:02 +01:00
Kristaps Fabians Geikins 7f0b29db55 feat: retry + better handling of failing exec engine api calls (#2292) 2024-05-29 12:18:16 +02:00
Dimitrie Stefanescu 35ed179799 Dim/gendo (#2283)
* feat(gendo): scaffolding

* feat(gendo): wip

* feat(gendo): wip

* feat(gendo): wip

* feat(gendo): wip

* feat(gendo): wip

* feat(gendo): it's alive

* feat(gendo): wip

* feat(gendo): blobifies responses to make gergo happy

* feat(gendo): ratelimiting + lints

* feat(gendo): prettier fix

* feat(gendo): last fixes

* feat(gendo): clarifications

* feat(gendo): helm base

* update helm values and deployment to use secrets and allow them to be configured

* Allow the rate limiter to be configured

* Use valid Gendo AI api as default

* fix(helm chart): environment variables should be strings

---------

Co-authored-by: Iain Sproat <68657+iainsproat@users.noreply.github.com>
2024-05-29 11:48:17 +02:00
Charles Driesler 894b56b54f fix test usage of storeAutomation 2024-05-28 17:09:33 +01:00
Charles Driesler 16dfefd0bd add createTestAutomation 2024-05-28 13:20:10 +01:00
Kristaps Fabians Geikins c3676a9d27 fix: extra safety for when automate is disabled (#2294) 2024-05-28 15:12:02 +03:00
Charles Driesler 960c646bee split storeAutomation and storeAutomationToken 2024-05-28 12:33:52 +01:00
Benjamin Ottensten 7a6b772491 Proper fix of model and function card truncation (#2293)
* Improve model card grid

* Rewrite function card grid classes to fix truncation
2024-05-28 13:03:18 +02:00
Kristaps Fabians Geikins 961577eaf6 fix(fe2): pw being set as query param when login/register form submitted too early (#2289) 2024-05-28 10:01:16 +03:00
Benjamin Ottensten a92db00f5f Overflow and alignment bugs on automation page (#2291) 2024-05-27 17:06:59 +02:00
Kristaps Fabians Geikins dc102d04ed fix(server): automation migration down problems 2024-05-27 15:20:00 +03:00
Charles Driesler 62ec38a49b fix type in tests and add test 2024-05-26 16:54:39 +01:00
Charles Driesler a67038a342 test automation type 2024-05-26 16:44:16 +01:00
Chuck Driesler e2064386cc hide New Function button (#2286) 2024-05-24 21:19:39 +02:00
AlexandruPopovici e256d6766d Updated the ExtendedSelection from sandbox to latest version. InstancedBatchObject type is now being exported. Fixed an issue where instances were not having their runtime transformations updated. Fixed an issue where transparenct objects were incorrectly casting and receiving shadows 2024-05-24 19:32:20 +03:00