Commit Graph

829 Commits

Author SHA1 Message Date
andrewwallacespeckle fcb924d3a5 DO NOT MERGE - refactor: new design system implementation (#2537)
* refactor WIP

* Button design changes

* FE2 FormButton Updates

* ts composition api

* CommonTextLink Changes

* CommonTextLink prop updates

* Add disabled styles

* WIP

* Design system updates

* Colour Updates

* New Text Styles. Initial FE2 changes

* More fe2 styling classes

* Minor update

* Minor update

* Fix build

* More updates for discussion

* More styling updates

* Minor updates to inputs

* Revert change to size options

* More text updates

* More font class swapping

* Revert dui3 changes

* Confirmed Lineheights

* Add story files for new text styles

* Minor copy changes

* Minor typo

* Revert variant>color

* New Colours WIP

* andrew/web-1371-misalignment-in-account-dropdown

* andrew/web-1374-settings-text-styles-are-not-right

* andrew/web-1375-nav-texts-should-be-14px

* andrew/web-1376-decrease-size-of-versions-header

* andrew/web-1377-version-card-title

* Updates

* semibold>medium

* Colour updates

* Sizing updates

* Colour updates

* Colour updates

* Measure mode

* Updates

* Fix build

* Fix build

* WIP Updates

* Changes from PR

* Updated login, registration and reset password styling

* Make share dropdown bg white

* Updated viewer titles

* Fix: Resize panel highlight color in the viewer should be blue

* Fix: Blue + Add link in Models. And other blue links in Viewer

* Add labelPosition Prop. Fix Button stories

* Updated CommonLink to remove default underline

* Add Highlight Color

* Card updates from Michal

* Updated discussion icon on version card

* Small tweaks to version card

* Small tweaks to version card

* Fix: Ghost button doesn't have padding

* Fix: Write Delete...

* Fix: Version hover border color

* Updates to Project Card. Updates to PageTabs

* Fix: Adjust title in announcement modal

* Updates from Comments

* Select Background Colour

* Fix: Select dropdown color

* Improve list view. Improve discussions

* Fix: Minor tweaks to onboarding checklist

* Fix: Clean up nav

* Hide third item when not >md

* Change project heading size

* Add border to version card

* Adjust spacing in dropdowns

* Slight change

* Update button style in Version card

* Tweaked nav menu

* Tweaked nav menu

* Various styling tweaks

* Fix settings modal subheader

* Various styling tweaks and fixes

* Tweak settings dialog styling

* Tweak simple scrollbar

* Minor tweaks to model page

* Minor tweaks to model page

* Minor tweak to login

* Tweak discussion card

* Tweak settings page

* Tweak vertical tabs

* Tweak Dialog alignment

* Fix some paddings

* Change IconVersions to ClockIcon

* Tweak spacing between icons

* Updates to Card Icons

* Bold "connectors" in empty project message

* Remove padding in Profile field

* Update inline model create

* Remove icons from share menu

* Updated Delete dialog

* Wrong text positioning in alert

* Updated copy in dropdown

* Change bg to bg-foundation in select dropdown component

* Fix merge conflicy

* Selection Info title colour

* Wrong text class

* Update card colours based on call

* Update card colours

* Update empty state

* Input label font weight

* Updates to Embed

* Various styling fixes

* Fix; Viewer panel header styling

* Fix; Adjust BG in dev mode list items

* Fix; Fix button placement in video modal

* Fix: Share menu is not using LayoutMenu

* Fix: Buttons clash under filters

* Fix: Adjust spacing in selection info

* Fix: Adjust gray BG behind model preview images

* Fix: No hover cursor on model card

* Fix: Align text styling in dev mode and selection info panel

* Fix for menu width

* Fix mobile problems

* Fix Add spacing on new login screens

* Revert prose change. Add prose-sm

* Text - Use contain for bg image

* Fix onboarding screens

* Responsive fixes

* Fix hydration errors

* Added padding to Add Model Dialog

* Fix versions buttons

* Fix build problem

* Changes PRE PR

* Final Pre PR Changes

* Remove DUI3 change

* Fix small issue with dialog after merge conflict

* Remove label classes from Visibility Select

* Revert changes made in Controls.vue

* Remove old-webhooks

* Add highlight colours to Storybook

* Add v-keyboard-clickable

---------

Co-authored-by: Mike Tasset <mike.tasset@gmail.com>
2024-07-30 15:34:41 +01:00
Kristaps Fabians Geikins d4f90a83e8 chore: cleaning up betaAutomations (#2413) 2024-06-20 15:35:39 +03:00
Kristaps Fabians Geikins 83d8035dc2 chore: upgrade to eslint 9 (#2348)
* root + server

* frontend

* frontend-2

* dui3

* dui3

* tailwind theme

* ui-components

* preview service

* viewer

* viewer-sandbox

* fileimport-service

* webhook service

* objectloader

* shared

* ui-components-nuxt

* WIP full config

* WIP full linter

* eslint projectwide util

* minor fix

* removing redundant ci

* clean up test errors

* fixed prettier formatting

* CI improvements

* TSC lint fix

* 'buildBatch' needs to be async since some batch types (like Text) require it. Removed a disabled liniting rule from ObjLoader

* removed unnecessary void

---------

Co-authored-by: AlexandruPopovici <alexandrupopoviciioan@gmail.com>
2024-06-12 14:38:02 +03:00
Kristaps Fabians Geikins 2f8272b6ae feat(shared): modularized package & node16 support (#2336)
* feat(shared): modularized package & node16 support

* lockfile update

* various fixes

* moar fixes

* added znv and zod as devdeps of shared

* lockfile update
2024-06-11 14:12:13 +03:00
andrewwallacespeckle 1a1b46b6e4 fix(fe1): Undefined 'commentSlideShow' error in CommentThreadViewer.vue (#2334)
* Fix undefined 'commentSlideShow' error in CommentThreadViewer.vue

* Revert changes to fix console error
2024-06-06 12:44:16 +02:00
andrewwallacespeckle 6c4aeedb1b feat(fe1): WEB-734 - dissuade fe1 signups (#2237)
* New messaging on Login FE1

* Add register dialog and env check

* Only show messaging when env is true

* Registration page dialog

* Updates from Feedback

* Remove unused Dialog
2024-05-02 10:46:24 +02:00
Iain Sproat 2c19c621f5 chore(slogan): rephrase interoperability to connectivity (#2215) 2024-04-18 19:35:54 +01:00
andrewwallacespeckle a489a7bb9a Replace YouTube video with Vimeo (#2152)
* Update Whats New Dialog

* Loop Vimeo Video

* Update FE1 Video to vimeo

* Fix fe1 warning
2024-03-21 13:25:14 +00:00
andrewwallacespeckle 3c83d31459 [WBX-103] - FE1 to FE2 Messaging (#2121)
* Home page & Nav Footer

* FE1 Changes

* FE2 Changes WIP

* Dark mode onboarding

* FE2 Cookie for Banner/Dialog

* FE1 DIalog WIP

* Local Storage for FE1

* Add bgcolour to segmentation

* Add responsive message to fe1 login

* Update SVGS

* Fix build WIP

* Skip to Close

* Changes from Agi testing

* Update announcement banner

Updated icons, copy, spacings

* Update FE2 announcement copy and links

* Add video to FE2 announcement dialog

* Add video to FE1

* Minor Updates pre CR

* Update blog link

* Remove menu item

* Rename Dismissed

* added fe2 messaging query field

* Updates from CR

* helm chart changes

* Use new env for displaying fe2 messaging

* Fix build

* fixed helm readme values

* Updates from CR

---------

Co-authored-by: Benjamin Ottensten <benjamin.ottensten@gmail.com>
Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com>
2024-03-14 13:19:29 +00:00
Kristaps Fabians Geikins 23b07e82a5 precommit fix + more version fields 2024-02-22 15:48:06 +02:00
Dimitrie Stefanescu 39ca24258b Update EmbeddedCommitObjectViewer.vue 2024-02-22 11:44:56 +00:00
Kristaps Fabians Geikins 9caa2a37c8 feat(fe): auto accept stream/project invite on email link click [WBX-73] (#2017)
* feat(fe2): project invite auto accept

* fix(fe2): improved CSR error logging

* feat(fe1): auto accept stream invite on email link click

* minor type fix

* tests fix
2024-02-07 14:26:59 +02:00
andrewwallacespeckle ff6433128a FE2 - Embedding (#1979)
* Add Dialog

* Add options to embed dialog

* Min Height of Clipboard Input multiline to 3 lines

* Check for visibility

* Link to change access of project

* Rename to guided mode

* Change icon when user clicks copy button

* Update Menu styles based on agi feedback

* Update graphql.ts

* Embed Options as hashState

* Auto grow Clipboard Input

* embed state and more options

* Tidyups

* Footer only shows when !embedOptions.isTransparent

* Add auto/manual Load

* Add Pre setup component

* WIP Button Group mobile

* Updates around manual load

* Viewer Share nav

* Add embed dialog to project page

* Minor fixes

* Check for federated

* Responsive Tidyups

* Responsive Fixes. Fix console issues

* Add Alert to Version Embed

* Disable Zoom

* GQL updates

* Comment Slideshow

* GraphQl changes

* Fix visibility

* Build fix

* Revert "Build fix"

This reverts commit 0e706cbd9fde78204032bb1ec4421b1742d023ac.

* remove unneeded change, revert yarn.lock

* Test Commit

* Remove commit test

* Fix build

* Update Tailwind. Add base url env

* fix for portal scope issue

* useLogger

* useLogger

* chore(fe2): include NUXT_PUBLIC_BASE_URL in deployment manifests

* lazy load optimization

* lint fixes

* Updates

* Re-add guided open Dialog sections

* Prevent login popup on embed

* Tidy up mobile combined button group

* Tidy up embed Dialogs

* Small styling issues

* Update scrolling in embed dialog

* Move selection info when embed

* Testing fixes

* Discuss in Speckle

* Responsive Dialog Changes

* Fix bug

* WIP Manual Load

* Fix nuxt errors

* Fix nuxt logger issue

* Fix embed dialog overflows

* New Dialog layout

* Responsive Breakpoint change

* Preview Image

* Fix bug with dialogSection

* Hide selection info on mobile when thread is open

* Footer Model Name

* Overflow on ClipboardInput

* Style fixes

* Tidy ups

* Responsive updates

* Responsive fixes

* Update button

* Changes from testing

* Fix embed height with footer

* Fix Dialog Section

* Fixes from testing

* Move "reset filters" on embed

* Small fixes

* Updates from CR 1

* CR Comments 2

* Updates from CR

* Add deserializeEmbedOptions helper

* DialogSection changes

* Revert changes in TextArea

* Updates from CR

* Only check for noscroll in watch

* Update useRoute

* Comment Slideshow mode

* Changes from testing

* Fix mobile share button

* onMounted warn fixes

* Updates from testing

* Remove nesting of ManualLoad

* Keep Speckle text on mobile

* minor cleanup & bugfixes

* Add target prop to Logo

* navbar flash fix + more cleanup

* Fix urls

* Footer Logo changes

* Remove viewer-transparent from layout

* Add Reply in Speckle

* Remove Anchored Points from embed

* Final changes pre CR

* Fix Anchored Points

* Update packages/frontend-2/components/project/model-page/dialog/embed/Embed.vue

Co-authored-by: Kristaps Fabians Geikins <fabians@speckle.systems>

* Fixes from CR

* Updates from cr

* Changes WIP

* Fix for dialog opening

* Changes from PR

* Updates to check embed in activity

* fix(fe2): project settings dialog error

* Make Team open section on click of "Manage"

* Fixes from merge

* Changes from cr

* Compare old to new in watch

* Fix logo in footer of embed

* Fixes from merge

* Fix build. Fix lazy load

* Updates from Benjamin

* Fix transparent bg

---------

Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com>
Co-authored-by: Iain Sproat <68657+iainsproat@users.noreply.github.com>
Co-authored-by: Kristaps Fabians Geikins <fabians@speckle.systems>
2024-02-06 10:38:22 +00:00
Kristaps Fabians Geikins 6c9973995b fix(fe1): super spammy stream file uploads page requests (#1893) 2023-12-04 10:55:40 +02:00
Gergő Jedlicska e32f666964 bump fe1 branch query limit and disregard broken pagination logic (#1875) 2023-11-17 13:11:21 +01:00
Kristaps Fabians Geikins 60a096d3db fix: making Edit Branch respond to errors correctly 2023-10-18 14:55:31 +03:00
Kristaps Fabians Geikins a0e1f6f14d fix: added support for backwards slashes in branch names 2023-10-18 14:46:22 +03:00
andrewwallacespeckle 6052be26df Allow files with uppercase file formats. Maintain casing from point of upload. (#1812) 2023-10-06 14:47:32 +02:00
Kristaps Fabians Geikins 6b6c6b3bfa chore: updating various dependencies (#1774)
* chore: updating nuxt & apollo client

* global tsc update
2023-08-25 14:31:08 +03:00
Kristaps Fabians Geikins 1249d5115f fix: improvements not really related to "guest role" launch (#1773)
* fix: issues not really caused by guest role changes

* tippy types fix
2023-08-25 09:53:26 +03:00
Kristaps Fabians Geikins 875f03dd5d more guest role fixes 2023-08-24 10:45:02 +03:00
Kristaps Fabians Geikins 069f64afc9 feat(fe1 & fe2): guest role (#1768)
* feat: user guest role switching in FE1

* removed stream create buttons

* fe1 done

* fe1 - specifying role in invite dialogs

* fe1 - bulk invites

* WIP FE2 changes

* fe1: allow role select condition fixes

* xtra limitations on createForOnboarding

* more invite creation validations

* no longer able to set guest as project owner in invite

* preparations for server role select in invite dialog

* team management dialog done

* server invite dialog updated

* hiding invite dialog

* fixed mocks
2023-08-24 09:30:09 +02:00
Matteo Cominetti 6a5419c208 feat: add users to groups (#1748)
* feat: add users to groups

* feat(fe2): add users to groups
2023-08-08 09:55:32 +02:00
Gergő Jedlicska 1a46f1fee3 feat(frontend1): enable guest role mapping in user admin 2023-08-01 16:03:10 +02:00
Iain Sproat 37a0fa4094 fix(frontend & frontend-2): x-frame-options header for /authn routes should be DENY (#1719)
* fix(frontend-2): routes to /authn should set x-frame-options header to deny
* fix(frontend1): do not render authn route if in an iframe
* fix(nginx): should log in json format
2023-07-24 15:17:16 +01:00
Kristaps Fabians Geikins a50f8dca3a fix(fe1): post-auth redirect broken after access_code querystring removal 2023-07-03 17:08:41 +03:00
Kristaps Fabians Geikins 30fdc71fcd fix(fe2 & fe1): log out on invalid auth token on any GQL call (#1666)
* fix(fe2): log out on invalid auth token on any GQL call

* fix(fe1): redirecting to login page on any 403 GQL req

* WIP invalid token

* stricter toker invalidation checks in FE1

* stricter token check in FE2 as well
2023-07-03 15:04:57 +03:00
Kristaps Fabians Geikins 1c1a5eaf36 fix(fe1): log out on invalid auth token 2023-06-30 11:23:23 +03:00
dependabot[bot] 2dd79d52a7 build(deps-dev): bump vite from 3.1.0 to 4.x (#1610)
* build(deps-dev): bump vite from 3.1.0 to 4.x

Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 3.1.0 to 3.2.7.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v3.2.7/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v3.2.7/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

* fixing deps

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com>
2023-06-12 16:18:54 +03:00
Kristaps Fabians Geikins 62eb807512 feat: stopping subscriptions at >100 errors per minute (#1592)
* feat: stopping subscriptions at >100 errors per minute

* chore: added explanatory comments

* added error state banner in fe1

* feat: error state banner in fe2
2023-05-24 14:07:10 +03:00
Kristaps Fabians Geikins a42ee35c09 fix(server): self-cleaning sub dataloaders + Comment.data type change 2023-05-22 21:00:27 +03:00
Kristaps Fabians Geikins 057894e14f fix(fe1): comments not auto-expanding correctly 2023-05-22 20:15:51 +03:00
Kristaps Fabians Geikins b02a07e2b6 feat: Frontend 2.0 MVP 2023-05-08 10:47:01 +03:00
Kristaps Fabians Geikins 483a28c211 fix(server): correct server_id format (#1495) 2023-03-30 16:37:24 +03:00
Kristaps Fabians Geikins 5d0fceaaf3 feat: proper sign up tracking (#1489)
* feat: register flag passed to fe

* feat: mixpanel tracking for all sign ups

* feat: utm first touch & last touch tracking

* feat(helm): Allows Environment Variable for MP to be configured
- default is enabled
- renames environment variable to ENABLE_MP

* feat(helm network policy): allowlist analytics.speckle.systems

---------

Co-authored-by: Iain Sproat <68657+iainsproat@users.noreply.github.com>
2023-03-30 12:21:59 +03:00
Kristaps Fabians Geikins 7aec9bf29d fix(frontend): viewer dragging not working in some cases (#1357) 2023-02-02 16:34:46 +02:00
Kristaps Fabians Geikins 815d46d3ac fix(frontend): viewer object properties not being scrollable (#1356) 2023-02-02 12:01:23 +02:00
Kristaps Fabians Geikins 3dc4c57653 possible post auth redirect fix 2023-02-02 11:16:31 +02:00
Alexandru Popovici 071e6382ca Queries update (#1341)
* Separated Point queries from Intersection queries. Defined query result types for both

* Updated exports

* Update Utils

* Updated frontend after the queries updates

* Allowed the objects field in the IntersectionQueryResult to be null
2023-01-26 12:12:09 +02:00
Alexandru Popovici 96b3a4923b Viewer queries (#1331)
* Added the concept of queries with a minimalistic implementation. Implemented PointQuerySolver which handles occlusion, projection and unprojection of points

* Added and tested the 'Pick' PointQuery operations which works just like an onclick viewer event

* Small fixes and changes to query and point query.

* Better approach on the occlusion query solving by using our universal scene intersection routine

* Tested and fixed occlusion testing for points

* Added optional custom width and height to NDC<->Screen helper functions

* Integrated queries in the frontend. Projection queries replace projecting by hand, and also added occlusion queries as a demonstration

* Added refactor comment
2023-01-20 18:59:01 +02:00
Kristaps Fabians Geikins 9245aa6db2 fix(frontend): branch infinite loading (backported from fe2) (#1269) 2022-12-14 17:17:58 +02:00
Jonathon Broughton 14617cd07e Enhancement: Adds Navisworks to the application avatars (#1261)
* Adding Navisworks to the application swatch list

* Short name changed NW to NAVIS
2022-12-12 13:37:32 +01:00
Kristaps Fabians Geikins d0a3f811fe fix(frontend): post-auth redirects fixed (#1259) 2022-12-09 16:12:40 +01:00
AlexandruPopovici ef7f4b550a Fixed the commnet bubbles issues with orthographic projection, so we can bring it back in the frontend. Also fixed some issues with camera zooming in orthographic mode and the rendering pipeline, and the zoom in animation 2022-11-30 17:03:29 +02:00
Alexandru Popovici 5ac043ac6a Fixed an issue in the frontend which was causing the views not to work. Fixed an issue with object selection camera animation where the dolly lerp factor was much too high for smooth animation (#1225) 2022-11-25 16:31:45 +02:00
Kristaps Fabians Geikins 8daa427d62 fix(frontend): fix commit share btn looking off in light theme (#1153) 2022-10-27 12:22:28 +03:00
Kristaps Fabians Geikins 9860be7fd8 fix: various dependabot vulnerability fixes (#1143)
* fix: updating minimist to resolve vulnerability

* fix: upgrade mocha to fix minimatch vuln

* fix: terser vuln fix

* fix: moment.js vuln fix

* fix: getting rid of perfect toolbar (which resolves vulns)
2022-10-25 17:01:20 +03:00
Kristaps Fabians Geikins 55c736118b feat(frontend): share buttons directly on commit cards + batch commit actions UX improvements (#1122)
* feat(frontend): help message for disabled checkboxes on commit cards

* refactor: share-stream-dialog cleanup

* refactor: further share-stream-dialog prep for more usages

* feat(server): sharing directly from commit grid cards

* feat(server): sharing directly from commit list cards

* refactor: removing unnecessary dev tests
2022-10-25 13:16:33 +03:00
Kristaps Fabians Geikins 3f3f399ce6 feat(frontend): auto-focus on 1st comment in embed slideshow mode (#1109) 2022-10-25 12:57:19 +03:00
Matteo Cominetti 1f4dd333c0 Update SourceAppAvatar.vue (#1116) 2022-10-17 09:18:17 +01:00