You are browsing as a guest. Sign up (or log in) to start making projects!

1h 32m 51s logged

Devlog #4 Groq is wired in and the popup actually feels like a product now
Groq is hooked up and the app does its actual job now
The summarize and enhance shortcuts now actually call Groq and return real text instead of just echoing back what I copied. The API call lives on the Rust side so the key never touches the frontend, and the popup shows a little loading state while it thinks. Seeing it summarize an actual paragraph for the first time was a moment this is finally the thing I set out to build.
The invisible icon bug
Then I hit a quick bug that made no sense at first. I added a copy button to the popup with a little icon and the icon just refused to show up. Blank space where it should be. The element was there right size, right color the DOM looked totally fine it just wasnt painting. Turns out its a WebView2 thing where svg icons go invisible specifically on a transparent acrylic window. Took me a minute to even believe that was the actual cause. For the fix I settled on emojis for now. A decent workaround but it works, and theres a little checkmark when you click now so you know the copy landed.
Polish pass
The rest was polish and it went fast. The window resize is animated now instead of snapping to size which makes it feel a lot smoother, I hid the scrollbars everywhere, and I fixed a button that kept coming out rectangular instead of square because of some default browser padding I didnt know about. Also settled on the proper acrylic glass blur after the mess from last session and gave it a tint.
Next up
is making the popup smart about screen edges so it cant open half off screen, esc to close it, and a little settings screen so I can change the hotkeys without editing code.

0
34

Comments 2

@boredvoid

i like the ui a lot, i think the copy button might need a custom icon though the emojis feel kinda out of place. overall looks pretty polished already def interesting project!

@firancly

Thanks! Spent quite a bit of time tinkering with the acrylic background to work wasn’t able to get it to work on typescript had to resort to rust code. I still have a lot to learn in rust so that explains the hours. I tried getting the custom icons too work but lucide icons (react lib for custom svg icons) wasn’t behaving probably just settled for the emojis for now. Will definitely change them later on!