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

Add "open in editor" action #61629

Closed
3 tasks done
fkling opened this issue Apr 5, 2024 · 6 comments
Closed
3 tasks done

Add "open in editor" action #61629

fkling opened this issue Apr 5, 2024 · 6 comments
Assignees
Labels

Comments

@fkling
Copy link
Contributor

fkling commented Apr 5, 2024

Tasks

@fkling fkling added this to the Web app rewrite/2 milestone Apr 5, 2024
@bahrmichael bahrmichael self-assigned this Apr 10, 2024
@bahrmichael
Copy link
Contributor

bahrmichael commented Apr 10, 2024

Recap of what the OpenInEditorActionItem.tsx is currently doing (i.e. the things we need to do in the svelte version):

Open questions:

  • Can we drop the code to migrate legacy settings? It's from September '22.

@bahrmichael
Copy link
Contributor

bahrmichael commented Apr 10, 2024

To reduce the scope for the first iteration, I would cut the following features:

  • Configuring an editor from the button. If the user has not configured a button, show a popover that tells them how they need to configure it in their user settings, and give them a link to there. Configuring an editor seems to have a lot of code that is just a nicer way than editing json in the user settings. This is a shortcut that we can remove later.
  • Small viewport handling. Just show the button anyway. We can then test if our assumptions about small viewports are still valid with the rewrite. Reworked this so that a small icon is shown on small viewports, in alignment with how the other buttons behave.
  • Telemetry recording. We don't seem to have that in the svelte app yet.
  • Markdown rendering in tooltips. Reworked the messaging so it doesn't need markdown support.

@camdencheek
Copy link
Member

@bahrmichael can this be closed after #61782?

@bahrmichael
Copy link
Contributor

If we're okay with not bringing back the popover to configure an editor, then yes. I was planning to work on that this week, but if it's low prio I can drop it.

@fkling
Copy link
Contributor Author

fkling commented Apr 30, 2024

@bahrmichael I don't know if we need the popover but we can also track this in a separate issue if we don't finish it soon-ish.

@bahrmichael
Copy link
Contributor

Will move the remaining work to a new task 👍

@fkling fkling added webapp-rewrite Issues related to the web app rewrite and removed webapp-rewrite Issues related to the web app rewrite labels May 22, 2024
@fkling fkling added the File label May 22, 2024 — with Linear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants