Chrome Extension - Retool Embedder

Congratulations :boom: @khill-fbmc :tada:

5 Likes

This is a really good idea, so I started to implement it

I do have thoughts...
This was built initially as a sort of "singular" use. As in, I was only thinking about one direct embedding without having to tie anything in the extension to what Retool will host in the sidebar.
If we do have saved params like the screenshot, I foresee the issue of wanting to embed a different app, but then the params would need to be updated for the other app.

I don't want to clobber, and have people update those often, so I think I would need the "save" mechanism to be updated to store an array of urls with params. It currently only saves a single object defining the embed url.

1 Like

Hi everyone,

I appreciate all the positivity and people giving the extension a try. It was a fun side quest for me, but now I have no more time to work on it. Lakitu has brought me back to the race-track.

So this is a call to anyone who would like me to transfer the repo to them.

My hope is that someone else with more free time can finish what I started.

In the devel branch of the repo, I had started different a interface for adding multiple apps with saved query parameters

I am ADHD, so getting an idea 80% done and changing gears to another thing... is kinda my thing :laughing:

Hi, thank you for this and for sharing the repo. I had some time over the weekend and took a creak at it.

The use case we need for one project is to display CRM record of the email conversation.

I've managed to get the extension to capture and pass the current browser URL into the embedded app.
There was a bit of problem achieving this with iframe so I had to switch to the SDK.

URL is then captured in the Retool app with Parent Window query. The problem with using URL parameters was that the embedded app refreshed every time new parameter was set.
(Side note; I think parent window event handlers are not firing when a new value is received)

Here I have a question about the URL parameters that you stared implementing?
As far as I understand this would be statically set on the options page? What would be the use case? I can't seem to think of one, as this could be simply set directly in the apps.

1 Like

To be completly honest... I don't know. It was a while ago now, so I'm not sure the direction I was going. I think it was to be able to save links to the same Retool Apps, but with different settings passed in from the set options. Like maybe have two links to the same app, one set to prod and one to dev

1 Like

We've published the version where the active tab URL get's passed into the embedded app.

Our use case is to display relevant CRM records in the email client. But I can see some other use cases, where this might be helpful.

In case it's useful to someone else, here is the link: https://chromewebstore.google.com/detail/retool-dock/ghehbhimiaeaolhpncgahonpnjgelmok?hl=en-US&utm_source=ext_sidebar

4 Likes

:clinking_glasses: Nicely done, congrats!

1 Like