Commit Graph

3589 Commits

Author SHA1 Message Date
andrewwallacespeckle 76cef613cd Updates to Dialog - UI Components (#1809)
* Updates to Dialog after conversations with Agi

* Fix z-indexing

* Add throttle to onScroll
2023-10-05 17:03:00 +02:00
Gergő Jedlicska 11bcb8d4a2 gergo/ifcParsingMaterialIdFix (#1807)
* feat: add source app name const

* chore: cleanup

* fix(ifc parser): calculate material ids

* fix: broken package ref
2023-10-03 08:11:54 +02:00
Kristaps Fabians Geikins dbe74fef12 Merge branch 'main' of github.com:specklesystems/speckle-server 2023-09-30 21:20:26 +03:00
Kristaps Fabians Geikins 1fcd4fbe2a feat(ui-components): source apps improvements 2023-09-30 21:20:11 +03:00
Gergő Jedlicska 5e43ac9266 feat: add source app name const (#1802)
* feat: add source app name const

* chore: cleanup
2023-09-29 11:28:25 +02:00
Kristaps Fabians Geikins a89446a216 feat(ui-components): textarea styling improvements 2023-09-28 15:54:40 +03:00
AlexandruPopovici 7aeeb987c3 Fixed issue #1805 where point clouds which had their material inherited from higher up in the hierarchy would not display vertex colors 2023-09-28 14:56:27 +03:00
Kristaps Fabians Geikins 39a6bf18d3 feat(fe2): improved loadedVersionsOnly label 2023-09-27 11:18:26 +03:00
Kristaps Fabians Geikins a3c4778a09 feat(server): disable mixpanel in test/dev envs 2023-09-27 10:57:31 +03:00
andrewwallacespeckle 0045c353c6 Feature: FE2 - Project Webhooks Page (#1792)
* Layout Pages

* Add Multi Select with Badges

* Add MultiBadge

* Add prevent close on click outside

* Fix import issue

* Import Table

* Add Classnames to buttons

* Add Switch Component

* Update for webhooks

* skip precommit hooks

* Remove Infinite Load. Update Types

* Create Webhook Dialog

* Tidy Ups

* Edit Webhook dialog

* WIP Breadcurmbs

* Changes from calls with Fabians

* Breadcrumbs

* Reorders

* Fix Create Dialog

* Rename MultiBadge to BadgeSelected

* Fix and update Story file for Table

* Adjust Padding for Buttons in Table

* Add extra story, adjust padding for no buttons

* Fix bug with Edit Select

* fixed Webhook sorting + added Webhook.hasSecret and Webhook.projectId

* fixed hydration mismatch

* Changes from PR feedback

* Validation Rule for Select

* Reset Dialogs on Cancel. Conditionally render headers in Table

* stricter webhook gql types

* stricter webhook gql types

* Fix initial dialogs

* Quick Fixes

* Add projectWebhooksRoute

* Remove TableItemType

* Fixes from PR

* Fix broken Query

* Fixes from PR

* Fix based on PR

* Fix from PR

* Changes to index

* Fix in index

* Updates to Validation and Table

* Add "by" prop to FormSelectBadges and renamed component

* Use defineModel for Switch

* Revert "Use defineModel for Switch"

This reverts commit 6bc9e07a767cdc64f06c03b028150915e013ed4f.

* Replace breadcrumbs with projectWebhooksRoute

* Rename FormValues to WebhookFormValues

* Add target blank and simplify trigger mapping

* Fix casing of webhookFormValues

* Change webhookModel to prevent props mutation

* Remove unnecessary typecast

* Webhook deletion now uses fieldNameWhitelist.

* Use convertThrowIntoFetchResult and getFirstErrorMessage in Create

* Use defineModel for handling open state of Dialogs

* Optimise Switch component with defineModel

* Merge Create and Edit Dialogs

* Fix issue with Status Icons

* Remove console log

* WIP Merge of Edit and Create

* Add optional placeholder to SelectBase. Update Events placeholder.

* Add secret to Create webhook dialog

* Update Watch

* Rename Dialogs. Fix active select items

* Fix Select active items

* Simplify triggers, add secret to create call

* Remove $webhooksId: String

* fix: stale form state across edit/create webhook dialog sessions

* Fix from PR

* Swap t.text for t.id

* Use enum for historyStatus

* Use consistent story formatting

* More consistent create/edit mutations

* fix be linting errors

---------

Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com>
2023-09-26 15:41:29 +02:00
Kristaps Fabians Geikins 877b1930e8 feat(fe2): copy id action for model & version cards 2023-09-22 14:38:31 +03:00
Kristaps Fabians Geikins 7419189b6e feat(ui-components): more consistent FormSelectBase error/required state 2023-09-22 10:23:59 +03:00
Kristaps Fabians Geikins 696c09e807 feat(ui-components): new CommonAlert features 2023-09-21 14:20:11 +03:00
Kristaps Fabians Geikins 144819a2b6 fix(fe2): move versions not working 2023-09-21 11:14:47 +03:00
Kristaps Fabians Geikins 9423d2f827 fix(server): automate FKs disallowing project deletion (#1797) 2023-09-20 16:29:32 +03:00
Kristaps Fabians Geikins 1738c07e55 fix(fe2): made onboarding bar load in SSR (#1796) 2023-09-20 16:17:48 +03:00
Kristaps Fabians Geikins 9a0933d3ab fix(fe2): @apollo/client d edupe to resolve mismatched versions 2023-09-20 12:13:27 +03:00
Kristaps Fabians Geikins bec2ffde16 fix(fe2): viewer resources fully unloading when adding/removing models 2023-09-20 11:56:06 +03:00
Alexandru Popovici 842ff79591 The converter no longer throws errors on null display values inside arrays as display values. It ignores them and logs a warning message (#1795) 2023-09-19 15:44:12 +03:00
Kristaps Fabians Geikins a5b29970a9 Merge branch 'main' of github.com:specklesystems/speckle-server 2023-09-19 10:38:56 +03:00
Alexandru Popovici edcd1b64f8 Viewer Embedded Textures (#1770)
* With Fabian's help we changed the way the default textures are loaded. They are now embeded using another rollup plugin as base64 directly into the js module

* Embedded textures

* Yarn lock stuff
2023-09-19 08:37:40 +01:00
Kristaps Fabians Geikins 9209ed6601 fix(fe2): more automationStatus subscription improvements 2023-09-19 10:35:35 +03:00
Kristaps Fabians Geikins 894c869749 fix(fe2): automation status subscription not working for new status 2023-09-18 16:47:57 +03:00
Kristaps Fabians Geikins 407646f633 fix(fe2): fixed nested anchor hydration mismatches (#1794) 2023-09-18 16:27:26 +03:00
Kristaps Fabians Geikins eb441d7f4f feat(fe2): automations status subscriptions (#1793)
* fe subscriptions working

* minor adjustment
2023-09-18 15:03:42 +03:00
Kristaps Fabians Geikins 79d293e178 fix: preparing automation backend for use in FE (#1790)
* fix: preparing automation backend for use in FE

* minor migration adjustment

* modelId only

* more CR fixes

* improved validation

* WIP model automation status (#1791)

* additional run status insert validations

* model card dialog

* show view automation btn

* story mock fixes

* version card dialog

---------

Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com>
2023-09-18 11:49:11 +03:00
Gergő Jedlicska 7b40f25c74 feat(server): change default name of a server (#1786)
* feat(server): change default name of a server

* Update 000-core.js
2023-09-12 18:12:01 +02:00
Gergő Jedlicska 8063652dbf automations backend (#1789)
* feat(server): WIP automations api

* feat(server): Automations Backend api WIP take 2

* feat(automations): add validation to automation run schema with zod

* fix(server): add zod to package.json

* fix(server): automations pr cleanup
2023-09-11 14:38:15 +02:00
Kristaps Fabians Geikins dd20c22a63 more layoutdialog improvements 2023-09-08 15:55:17 +03:00
Gergő Jedlicska e2c2719232 fix ifc argb material calculation (#1788) 2023-09-08 14:06:24 +02:00
andrewwallacespeckle 44bfa6d2c8 Fe2 server management bugfixes (#1787)
* fix(server): inviteList pagination

* Fixes from call with fabians

* more BE bufxies

* reducing server invite precision

* Infinite Scroll fixes. Slight design change to "update available"

* fixed tests

---------

Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com>
2023-09-08 12:55:03 +01:00
Kristaps Fabians Geikins d95d03605e feat(ui-components): LayoutDialog form support 2023-09-08 11:51:50 +03:00
AlexandruPopovici 924a82ea40 Fix: Ignore batch entirely when there are no valid render views 2023-09-07 13:21:47 +03:00
Iain Sproat 683c76cda4 Revert "fix(package.json): tidy resolutions - attempt 2 (#1784)" (#1785)
This reverts commit 3af833ceb5.
2023-09-06 09:57:39 +01:00
Iain Sproat 3af833ceb5 fix(package.json): tidy resolutions - attempt 2 (#1784)
* Revert "Revert "fix(server/package.json): tidy resolutions (#1782)" (#1783)"
* Explicitly provide dependency in frontend-2
2023-09-06 09:31:38 +01:00
Iain Sproat e1f32cddde Revert "fix(server/package.json): tidy resolutions (#1782)" (#1783)
This reverts commit c2419f038b.
2023-09-05 13:59:57 +01:00
Iain Sproat c2419f038b fix(server/package.json): tidy resolutions (#1782)
* fix(package.json): resolutions should not be pinned to the minor
* fix(package.json): remove unnecessary resolutions
2023-09-05 13:26:14 +01:00
Kristaps Fabians Geikins 90a5d8b383 feat(server): Project.webhooks query 2023-09-05 14:11:55 +03:00
Kristaps Fabians Geikins 7b57b83eeb another lock file fix 2023-09-05 09:36:22 +03:00
Kristaps Fabians Geikins 3aa2162fa0 fix for snyk reported vulnerabilities 2023-09-05 09:24:28 +03:00
Kristaps Fabians Geikins 1ff33e7255 feat(fe2): admin panel guest role switching (#1781) 2023-09-05 08:35:25 +03:00
andrewwallacespeckle 671979e012 Feature - Frontend2 - Server Settings Pages (#1764)
* Add server management menu item

* Server Management Page & Settings Dialog

* escape from the precommits hooks

* Add Delete User Dialog

* Add invitations page

* Add Projects Page

* Pulling in GraphQL Data

* Settings Mutations

* Fix cardinfo type

* GraphQL in Active Users

* Add icons

* Infinite Load on Active Users

* Tidy Ups

* TS fixes

* Add Update button functionality

* Add Delete User

* Projects

* Home Done

* New query

* Delete User

* WIP User Roles

* Overflow fix

* Table Update

* Add Onclick to rows

* Fix bugs

* Fix console error

* Admin Middleware

* Role Update Dialog

* TS Fixes

* Latest updates

* Tidyups

* Tidy Up Nav Menu

* Tidy Up Card

* ChangeUserRoleDialog Tidyup

* Fix bubbling issue on Table

* Design fixes

* fix: speckle server version hydration mismatch

* Remove Dialog bg-white

* Rename Query, Fix Export

* fix: allowing FormSelectBase to reject updates

* feat: cache policies for new admin graph fields

* feat: cache updates so no refetch necessary

* PR Changes

* Fix Projects Page

* Updates to Roles

* Project Delete Mutation

* Add Resend & Delete Invite Mutation

* Fix console warnings

* Disable active user role select

* Linting fixes

* Reorder

* Linting fixes

* Changes from PR

* Fixes from PR

* Ui Fixes

* Update Settings Dialog Cache on Save

* Fix colours

* Delete Invitation Mutation Moved

* Delete Project Logic moved

* Delete Mutation moved to component

* Change User Role mutation moved to Dialog

* Reorder

* WIP - Checkbox Bug

* attempted checkbox fix

* Update Caching

* Rollback tsc

* Update to Resend Button

* Add new buttons

* Use defineModel

* Re-add emits

* Move mutation

* serverInfo cache update fix

* fixed delete invite cache update

* Updates to Project Delete Dialog Caching

* Remove unneeded props

* Fix caching in DeleteUserDialog

* Improved error handling in server info update

* Swap Invite modal to new style

* updated evictObjectFields details

* Update cache on successfull invite

* Add Invite dialog

* Add project Dialog Update

* defineModel

* Remove emits from Add Project and Invites

* Add missing Dialog

* Updates from PR

* Adjust query

* Remove need for items in admin data query

---------

Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com>
2023-09-04 11:57:34 +01:00
Kristaps Fabians Geikins 74ad0999f2 chore: moving writableAsyncComputed to ui-components (#1778) 2023-09-04 11:03:28 +03:00
Iain Sproat fac01c518e fix(objectloader, viewer, & shared): relax required node version to >=18.0.0 (#1779)
* fix(objectloader): relax required node version to >=18.0.0

* Viewer is now more tolerant of node versions
2023-09-01 23:53:46 +01:00
AlexandruPopovici a2107d2c72 Null render material with vertex colors had incorrectly modulated the vertex color with the defaul gray. Now the base color is white, so vertex colors are preserved correctly 2023-08-31 17:22:31 +03:00
Kristaps Fabians Geikins 0c293b0615 fix(fe2): reverting vue/nuxt downgrade (#1776)
* fix(fe2): reverting vue/nuxt downgrade

* fix for broken vue 3.3 build?

* storybook fix

* storybook fix

* fe2 storybook update

* minor update to rerun CI
2023-08-29 09:52:48 +03:00
AlexandruPopovici 8aa9cf010a Revert for async render tree building since walkAsync is our own defined function and it already takes the root node 2023-08-29 00:25:11 +03:00
AlexandruPopovici 631b8023b8 Fix for #1777 2023-08-29 00:16:56 +03:00
Kristaps Fabians Geikins c41dd17d01 fix(fe2): revert vue 3.3 cause of game breaking bugs (#1775)
* fix(fe2): revert vue 3.3 cause of game breaking bugs

* reverting ui-components as well

* attempt 2

* good now?
2023-08-28 11:43:33 +03:00
Kristaps Fabians Geikins d9a06a01d1 chore(fe2): defineModel test 2023-08-25 18:08:18 +03:00