Commit Graph

8285 Commits

Author SHA1 Message Date
andrewwallacespeckle 49a0b2ec6e fix(fe): external link dialog open model 2025-07-21 16:11:37 +01:00
Adam Hathcock 67bd1341aa dispose cache as it should (#5119) 2025-07-21 14:59:58 +01:00
andrewwallacespeckle 07ba6dbc03 feat(fe): Allow clickable links in Selection Info panel
feat(fe): Allow clickable links in Selection Info panel
2025-07-21 14:14:38 +01:00
Daniel Gak Anagrov 9ecb3bf0f2 fix(ci): fix code cov noise (#5118)
* fix: testcov noise due to nyc empty reports

* fix: codecov yml format
2025-07-21 15:14:19 +02:00
andrewwallacespeckle 5ffe2b56bc feat(fe): Allow selection info link clicks 2025-07-21 12:40:20 +01:00
andrewwallacespeckle 52641b0e1c Fix comment editor 2025-07-21 12:13:27 +01:00
Adam Hathcock 477db6ef02 All BatchedQueues should drain when disposed (also adds query string for output: "debug=true") (#5098)
* ensure disposal is correct

* add tests for disposal of batching queue

* fixes for draining disposal

* Update packages/objectloader2/src/queues/batchingQueue.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix comment

* fix tests and build

* add query string inspection of debug parameter

* Update packages/objectloader2/src/queues/batchingQueue.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update packages/objectloader2/src/core/objectLoader2Factory.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix test

* fix AI

* export getQueryParameter to avoid dup code.  Sandbox uses it too

* add tests for functions

* prettier fix

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-21 12:01:27 +01:00
andrewwallacespeckle 8b73e63bc2 fix(fe): global external link (#5116) 2025-07-21 11:36:59 +01:00
Adam Hathcock 390e587709 Cache By Reference count (#5096)
* we don't want to break eviction checking for first item...continue the check

* always include size when adding

* scan for references and count them...request when found and don't clean up if referenced

* add display of closure calculation

* add always output to sandbox

* formatting fixes

* removed tracking of deferments, moved caching to separate concern and class

* fixed cache checking and simplifed deferment

* add tests for new deferment and cache

* formatting

* Update packages/objectloader2/src/deferment/BaseCache.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update packages/objectloader2/src/deferment/BaseCache.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update packages/objectloader2/src/core/objectLoader2.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update packages/objectloader2/src/core/objectLoader2.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update packages/objectloader2/src/core/objectLoader2.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix AI suggestions

* rename BaseCache to MemoryCache

* use private method

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-21 11:31:21 +01:00
Iain Sproat 6d7f4c8eb7 chore(docs): update mermaid diagram (#5115) 2025-07-21 11:19:45 +01:00
andrewwallacespeckle 0577783393 feat(fe): global external-link guard
feat(fe): global external-link guard
2025-07-21 11:14:43 +01:00
andrewwallacespeckle c737abee19 Merge branch 'main' into andrew/web-3471-support-clickable-links-in-selection-info-panel 2025-07-21 10:46:38 +01:00
Daniel Gak Anagrov 6d33b4989c feat(file_upload): update observability metrics (#5079)
* feat: added count of background jobs
* feat: added repository function to count background jobs
* feat: addapted metrics to new queueing system
* feat: added duration to fileuploads
2025-07-21 10:51:14 +02:00
andrewwallacespeckle 870a5cb8d2 Changes from Fabs CR 2025-07-21 09:43:43 +01:00
andrewwallacespeckle 2397ca5722 Merge branch 'main' into andrew/web-3471-support-clickable-links-in-selection-info-panel 2025-07-21 09:26:21 +01:00
Daniel Gak Anagrov e5fb1361c6 fix: getting all user projects on deletion and user filter (#5112)
* fix: getting all user projects on deletion and user filter
2025-07-21 10:07:46 +02:00
Daniel Gak Anagrov add942f36d feat(ci): deployment will continue on testfailure for test branches (#5107) 2025-07-18 15:09:23 +02:00
Iain Sproat 964bc0fd44 Revert "chore(server/logging): logging for user deletion issue in prod (#5106)" (#5109)
This reverts commit 61ebb8f34e.
2025-07-18 12:26:34 +01:00
Kristaps Fabians Geikins 7bda848013 feat: a couple of logging improvements (#5110) 2025-07-18 13:56:25 +03:00
Iain Sproat 61ebb8f34e chore(server/logging): logging for user deletion issue in prod (#5106) 2025-07-18 11:15:00 +01:00
Iain Sproat 3d1346ff06 chore(server/logging): preview resurrector logs database region (#5104) 2025-07-18 11:07:24 +01:00
Iain Sproat f85f346285 chore(server/errors): add message to error (#5105) 2025-07-18 10:47:28 +01:00
Mike 92c091c813 Fix: Update connector labels (#5102) 2025-07-17 16:48:37 +02:00
Iain Sproat fd4588c99b feat(server/previews): retry dead preview resurrection if no backpressure (#5099) 2025-07-17 13:09:29 +01:00
Mike 37bf431025 Fix: Update auth watcher (#5100) 2025-07-17 13:34:55 +02:00
Iain Sproat 6b9a0e78d5 feat(helm chart): optionally deploy ifc importer service (#5077) 2025-07-17 12:22:53 +01:00
Chuck Driesler d2f2d7bcfd feat(automate): allow function authors to regenerate function tokens (#5057)
* feat(automate): expose function regeneration endpoint

* chore(automate): remember to call the function

* fix(automate): use correct auth code action

* fix(automate): token regenerate policy

* fix(automate): expose function regen token policy

* feat(automate): workspace automation settings tab

* feat(automate): function token regeneration dialog

* fix(automate): improve gql usage in vue components

* chore(authz): tests for automate function policies

* fix(automate): use paginated query

* fix(automate): resolve initial result
2025-07-17 11:24:58 +02:00
Gergő Jedlicska 1465df5923 chore(server): bump sharp to fix CI (#5094) 2025-07-17 11:02:17 +02:00
Daniel Gak Anagrov cda606adbb feat(ci): upload logs on failure (#5097) 2025-07-17 10:51:39 +02:00
Mike fd30917f27 Feat: Add resource ID to token table (#5093) 2025-07-17 10:10:11 +02:00
Kristaps Fabians Geikins b4cf23f856 feat(fe2): more accessible error reference (#5090)
* feat(fe2): more accessible error reference

* use wrench icon

* michals comments

* more michals comments
2025-07-17 10:25:04 +03:00
Mike 0a57689469 Feat: Add private embeds to the pricing table (#5092) 2025-07-16 18:28:02 +02:00
andrewwallacespeckle 83b6aa48dc feat(fe): global external-link guard 2025-07-16 15:52:03 +01:00
Iain Sproat 875a1a1783 feat(previews): retry errored previews if feature flag enabled (#4498) 2025-07-16 15:30:19 +01:00
Kristaps Fabians Geikins b3e216a1ef feat(fe2): improved auth error logging (#5089) 2025-07-16 17:04:37 +03:00
Mike 0e8e27f415 Feat: Improve private embed alert message (#5088) 2025-07-16 15:49:11 +02:00
Mike c6e0239ccf Fix: Remove clearToken function (#5087) 2025-07-16 14:33:59 +02:00
Mike 5ae27ca5e1 Fix: Dont use cookie for auth token (#5086) 2025-07-16 14:17:42 +02:00
andrewwallacespeckle b59f232ed3 feat(fe): Support hyperlinks in comments
feat(fe): Support hyperlinks in comments
2025-07-16 10:02:20 +01:00
Mike 394b33d7d7 Fix: Rename embed token (#5084) 2025-07-16 10:39:59 +02:00
Mike 929cc14fe6 Fix: Private embed mixpanel track event and warning (#5082) 2025-07-15 19:16:17 +02:00
Jedd Morgan 537d58dd9e Update Dockerfile (#5080) 2025-07-15 16:57:33 +01:00
andrewwallacespeckle d79f2eeafb fix(fe): horizontal tabs underline alignment
fix(fe): horizontal tabs underline alignment
2025-07-15 15:53:17 +01:00
andrewwallacespeckle d2736f8211 fix(fe): horizontal tabs underline alignment 2025-07-15 15:43:15 +01:00
andrewwallacespeckle 8f104dcd24 Remove comment 2025-07-15 15:10:38 +01:00
andrewwallacespeckle ef742150ae Small improvements 2025-07-15 14:58:40 +01:00
andrewwallacespeckle c0f998b7c3 Show confirmation dialog before opening link 2025-07-15 14:50:11 +01:00
andrewwallacespeckle 8eb1376606 Add links. "Remove link" button 2025-07-15 14:02:13 +01:00
Alexandru Popovici f3974dd9d0 Alex/text updates (#5012)
* feat(viewer-lib): Text updates:
- Update to latest troika-three-text version
- Started working on the new TextBatch whoich will actually batch texts
- Augmented BatchedText type from troika
- Renamed old SpeckleText to TextLabel

* feat)viewer-lib): Copied over the batched version for the speckle text into our text material since troika won't export it

* feat(viewer-lib): First draft on text batching

* feat(viewer-lib): WIP on TextBatch and SpeckleText

* feat(viewer-lib): SpeckleText batch now has working TAS and BAS. Overloaded getBatches to also take an array of geometry types and added GeometryType.TEXT in places where required alongisde MESH

* feat(viewer-lib): Text batch has correctly transformed texts

* feat(viewer-lib): Patched troika BatchedText to allow per text opacity. Draw ranges for text batches are now functional

* feat(viewer-lib): Fixed an issue with the BAS not correctly reporting bounds. Had to override two methods completely in our SpeckleText extension of the BatchedText just so that we don't do stupid things and still get good performance when dealing with a huge number of texts

* feat(viewer-lib): Added text batch object count limit. Default is 5k. Implemented proper material caching and cloning inside SpeckleText. Overriden the default updateBounds function so that we don't waste tens of millisecons per frame!!! pointlessly

* feat(viewer-lib): Implemented TextBatchObject along with individual text batch object transform manipulation at batch level.

* chore(viewer-lib): Updated the pipelines to not render text geometries twice

* feat(viewer-lib): Implemented RTE for batched text rendering. As with the rest of the geometry types, RTE is automaic and will only be used when needed

* feat(viewer-lib): Integrated remaining text v3 features: alignments and maxWidth

* feat(viwer-lib): Implemented billboarding and RTE billboarding for text.

* feat(viewer-lib): Text batches now report correct object materials and can be filtered properly

* fix(viewer-lib): Some Fixes:
- The need for text RTE is now correctly being computed on the right text dimensions
- Sequential update ranges now correctly apply materials to all of them

* fix(viewer-lib): RTE text box is now correctly transformed. The text batch object only uses the TAS for intersecting since it's BAS is redundant.

* feat(viewer-lib): Text batches now correctly use gradient/ramp textures along with sample indices for colored filtering.

* feat(viewer-lib): Implemented raycasting for billboarded text batches in the most simple and robust way I was capable of. Lacks TAS speedup but it's a compromise we have to make and one which we probably will never regret

* feat(viewer-lib): Good progress on reworking TextLabel, which replaces the old multi purpose SpeckleText, which we use internally for measurements. More precise rendering, no more rogue margins between text and background. Regular billboarding now also works, along with non-billboarded rendering

* feat(viewer-lib): Finally a unified billboarding solution in SpeckleBasicMaterial. Supporting both world and screen billboarding; SpeckleTextMaterial now extends SpeckleBasicMaterial; TextLabel now has proper control over size and margins. No more weird offsets. Added background margins to the text params which work in both world and screen space.

* feat(viewer-lib): Implemented raycasting for all billboarding types. Spent quite some time on the screen billboarding one because of a stupid mistake

* chore(viewer-lib): Added (vibed) type declaration file for troika's Text class and fixed compiler errors for TextLabel

* chore(viewer-lib): Renamed SpeckleText to SpeckleBatchedText and fixed all compiler errors. Updated type definition file

* feat(viewer-lib): Integrated TextLabel with measurements. Simplified a lot of code

* fix(viewer-lib): Some updates and fixes to text and measurements integration
- Screen space billboarding now also takes an NDC offset alongside the size.
- Added auto margin calculation for TextLabel background so it's always centered regardless of anchor-ing
- DPR is automatically factored in for TextLabel
- Some changes to sizes and margins for measurements

* fix(viewer-lib): Bunch of fixes and tweaks

* fix(viewer-lib): Area measurement's area plane no longer overdraws on top of the area value text label via simple stenciling

* fix(viewer-lib): Fixed CI build

* fix(viewer-lib): Fixed CI build

* feat(viewer-lib): Slightly reduces the size and h margin of text gizmos for measurements

* fix(viewer-lib): Fixed incorrect text transformation when neither RTE nor billboarded

* chore(viewer-lib): Added review suggestions
2025-07-15 14:48:13 +03:00
Mike ed875f0134 Feat: Enable embedding private/workspace projects (#5047) 2025-07-15 13:25:12 +02:00