Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New URL formats in URLHelper #2229

Merged
merged 5 commits into from
Apr 26, 2024
Merged

New URL formats in URLHelper #2229

merged 5 commits into from
Apr 26, 2024

Conversation

AlexandruPopovici
Copy link
Contributor

@AlexandruPopovici AlexandruPopovici commented Apr 25, 2024

Description & motivation

Handles https://linear.app/speckle/issue/WEB-835/enable-new-url-formats-in-the-sandbox

Changes:

  • URLHelper moved to viewer so it can be optionally used
  • URLHelper now supports new and old urls
  • object-loader no longer attempts to read from the AuthToken local storage key

To-do before merge:

Screenshots:

Validation of changes:

Checklist:

  • My pull request follows the guidelines in the Contributing guide?
  • My pull request does not duplicate any other open Pull Requests for the same update/change?
  • My commits are related to the pull request and do not amend unrelated code or documentation.
  • My code follows a similar style to existing code.
  • I have added appropriate tests.
  • I have updated or added relevant documentation.

References

… to the viewer library so users can use it to transform speckle urls in loadable object urls. Disabled object-loader from reading the local storage for auth tokens.
Copy link

linear bot commented Apr 25, 2024

Copy link
Contributor

@fabis94 fabis94 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.

Copy link
Contributor

@fabis94 fabis94 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks ok for the most part, there's 1 remaining performance optimization opportunity I noticed

@AlexandruPopovici AlexandruPopovici merged commit af8c3e1 into main Apr 26, 2024
20 of 23 checks passed
@AlexandruPopovici AlexandruPopovici deleted the alex/WEB-835 branch April 26, 2024 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants