JetBrains: Add “login” to Find Action window
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:
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
- Tested: 41-sec Loom
App preview:
Check out the client app preview documentation to learn more.