Skip to content

Remove open from clipboard menu item#157

Merged
sergeichestakov merged 1 commit intomainfrom
@sergeichestakov/rm-open-from-clipboard
May 9, 2024
Merged

Remove open from clipboard menu item#157
sergeichestakov merged 1 commit intomainfrom
@sergeichestakov/rm-open-from-clipboard

Conversation

@sergeichestakov
Copy link
Copy Markdown
Contributor

Why

It's currently broken for team repls since only the old Repl URL format is supported (and not the most correct one at that).

We can trivially add support for it but I'm thinking it's better to just remove this feature since it's not clear anyone is deriving value from this and it's pretty un-intuitive to use. We should instead follow up with an easier way to open a Repl with a given URL baked into the UI rather than a hidden / confusing menu item.

Closes WS-3389

What changed

Remove open from clipboard menu item

Test plan

  • Open desktop app
  • Click "File" at the top menu bar in macOS
  • Should not see "Open from clipboard"

@sergeichestakov sergeichestakov self-assigned this May 9, 2024
@linear
Copy link
Copy Markdown

linear bot commented May 9, 2024

WS-3389 Bug: "Open URL from clipboard" feature fails in desktop app

said:

bug: If you try to "open url from clipboard" in desktop app, it fails

@sergeichestakov sergeichestakov requested review from a team, pstoica and szymonkaliski and removed request for a team May 9, 2024 18:31
@sergeichestakov sergeichestakov merged commit 5de08e7 into main May 9, 2024
@sergeichestakov sergeichestakov deleted the @sergeichestakov/rm-open-from-clipboard branch May 9, 2024 18:42
@adidahiya
Copy link
Copy Markdown
Contributor

We should instead follow up with an easier way to open a Repl with a given URL baked into the UI rather than a hidden / confusing menu item.

agreed, one good way to this might be to check the clipboard for replit.com URLs when the application re-gains focus and show a toast notification if a valid URL is detected, offering to open that repl

@sergeichestakov
Copy link
Copy Markdown
Contributor Author

yep not a bad idea!

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.

3 participants