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

More Efficient Database Fetching #57

Open bvelitchkine opened 7 months ago

bvelitchkine commented 7 months ago

Context

Databases are fetched each and every time the dropdown select of the form mounts, which makes it fairly inefficient.

Solution

Launch

When a user uses the extension for the first time, and the dd select mounts, it should obviously look for eligible Notion databases. When that happens:

Run

Afterwards, we should only fetch eligible databases when:

Resources

TODO: design wireframes in Figma to spec the new 'refresh db' (🔄) button.