Skip to content

Update desktop app to support new org urls (desktop app update)#170

Merged
mikewesthad merged 2 commits intomainfrom
mikewesthad/INC-1725-2
Nov 1, 2024
Merged

Update desktop app to support new org urls (desktop app update)#170
mikewesthad merged 2 commits intomainfrom
mikewesthad/INC-1725-2

Conversation

@mikewesthad
Copy link
Copy Markdown
Contributor

@mikewesthad mikewesthad commented Nov 1, 2024

Why

Update the desktop app to support the new org URLs which are in the form /t/orgSlug/orgId/repls/replSlug.

What changed

  • add teamReplUrlRegex for /t/:orgSlug/repls/:replSlug
  • add legacyTeamReplUrlRegex for /t/:orgSlug/:orgId/repls/:replSlug

Test plan

  • create org repl
  • pnpm start:local
  • load the desktop homepage
  • log in
  • load the org repl
  • should work
2024-11-01.11-13-45.mp4

Copy link
Copy Markdown
Contributor

@sergeichestakov sergeichestakov left a comment

Choose a reason for hiding this comment

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

@mikewesthad mikewesthad changed the title INC-1725: update desktop app to support new org urls (desktop app update) Update desktop app to support new org urls (desktop app update) Nov 1, 2024
@mikewesthad mikewesthad marked this pull request as ready for review November 1, 2024 16:09
Copy link
Copy Markdown

@ryantm ryantm left a comment

Choose a reason for hiding this comment

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

Regex looks reasonable. Other changes too. I don't have a good setup to test this though.

@mikewesthad mikewesthad merged commit 7a59c4d into main Nov 1, 2024
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.

4 participants