Skip to content

JetBrains: Add “login” to Find Action window

Warren Gifford requested to merge dv/jetbrains-add-login-to-find-action into main

Created by: vdavid

Fixes https://github.com/sourcegraph/sourcegraph/issues/37815

I’ve added a new “Log in to Sourcegraph” action to the Find Action window. It looks like this:

CleanShot 2022-07-11 at 10 49 27@2x

This always shows because on the Java side, we currently don’t know whether the user is logged in, without the user opening the popup first.

Also reused the action in the login notification balloon. Weirdly enough, when I tried to also reuse the action for the small cog icon at the top-right of our “Find with Sourcegraph” popup, it errored out with some weird message. Looking into that was outside the scope of this change, so I just didn’t reuse the logic there.

Test plan

App preview:

Check out the client app preview documentation to learn more.

Merge request reports

Loading