Bastien-and-Gauvain / monorepo

A chrome extension to help recruiters 1-click export LinkedIn profiles in their Notion databases.
https://chromewebstore.google.com/detail/recruitivity/gahcfmlnmednhnbkifdoffblfffpeljf
3 stars 0 forks source link

🐛 fix(front): toggle extension using react state only #102

Closed bvelitchkine closed 4 months ago

bvelitchkine commented 4 months ago

Context

101 : a big problem.

Solution

Never use messaging or storage unless absolutely necessary. I think this should be our development razor in the future. That's what I did here with the toggling of the side panel. More explantions here

Priority

Very High

GauvainThery commented 4 months ago

Before having a look at the code, I disagree with the behaviour. Now it always open a /me page? I think we should clarify what we expect from clicking the icon. I find the behaviour here super confusing.

GauvainThery commented 4 months ago

Just added a few comments! Let's see in sync tomorrow what's best to do 👌

bvelitchkine commented 4 months ago

Call feedback:

bvelitchkine commented 4 months ago

@GauvainThery for some reason, can't see your comments and past review, apart from the comments above. So the only thing I did is implement what we talked about live, but maybe I missed a few things you'd have liked me to change 🤷‍♂️

bvelitchkine commented 4 months ago

Better for sure but still not okay for me. See my comments. Also, not a big fan that everytime I come back onLinkedin I have a very intrusive panel opening that I have to click on to close it. This would make me uninstall the extension...

Why do we display a sidepanel on a page that is not a profile?

Why not just having the popup explicitly say that this extension works on profiles only, and a checkbox "Open automatically whenever I open a profile"

On that last point:

Tell me if you agree (at least for this PR)!

bvelitchkine commented 4 months ago