
JavaScript enthusiast | Maker of cool, innovative stuff | Turning code into magic ✨| IFB 🤝
Joined January 2024
- Tweets135
- Following107
- Followers41
- Likes295
OladejiDev retweeted
There's a version of this where the stickers sort of slap against the basketball. if anyone would like to see it.
OladejiDev retweeted
AI assisted edits in Mindmap:
- it can suggest both content and structure: edits to a node's document, new branches under it, or both in one suggestion. branches show up as ghost nodes on the canvas before you accept
- suggestions stream in so the wait doesn't feel stale: we parse the half-written tool call as it arrives, so the reason, change count and branch titles fill in while the model is still writing
- edits are modular: the model works on numbered blocks and only sends the ones that change, so each change can be skipped on its own and the rest is accepted in one save
- word-level highlights: small rewrites highlight just the words that changed, using invisible Unicode markers that pass through the normal markdown renderer. bigger rewrites fall back to whole lines
OladejiDev retweeted
Chat scrolling is easy to get mostly right and hard to make feel solid. The trick that made it stable in Mindmap: container queries.
- `container-type: size` on the chat, `min-height: 100cqh` on the current turn. That's all it takes for your message to land at the top when you scroll to the bottom. No measuring heights, no recalculating on resize. The browser does the math
- because that space is already there, a short reply never changes the scroll height, so there's nothing to correct and nothing to jitter. The box keeps its size after the reply ends too, so nothing jumps
- the only state in JS is one flag: are you at the bottom or not. A ResizeObserver keeps the bottom in view while you are. Window resizes and a growing composer go through the same path
OladejiDev retweeted
More tab details that didn't fit in the first post:
- tabs shrink to fit as you open more, and adjust when the window or the side panel changes size. Keeping them in place while the panel slides open.
- double-click a tab to rename it
- double-click the empty space in the strip to open a new tab, like a browser
- every tab remembers where you were: canvas or chat, the open panel. Close it, reopen it, you're back in the same spot
work for @rndr_realm
Spent way too long on tabs in Mindmap. Here are some of the things that went in:
- tabs are SSR'd, so they're just there when the page loads. Nothing pops in
- you can click a tab before the page has hydrated and it still works. A tiny inline script remembers the click and React picks it up once it's ready
- the active tab and the panel are one SVG shape, so switching tabs feels like the shape is sliding over
- hover a tab and you get a preview of the project. That same query warms the cache, so by the time you click, the canvas is already loaded
- drag to reorder and the tab snaps into place, with the shape moving right along with it
- closing, pinning, renaming, reordering are optimistic updates: instant, with the server catching up behind
- recover a closed tab with ⌥⇧T
- once you've got a lot of tabs open, ⌥K gives you a searchable list of all of them
- shortcuts live on ⌥ because the browser already owns ⌘T and ⌘W
OladejiDev retweeted
Spent way too long on tabs in Mindmap. Here are some of the things that went in:
- tabs are SSR'd, so they're just there when the page loads. Nothing pops in
- you can click a tab before the page has hydrated and it still works. A tiny inline script remembers the click and React picks it up once it's ready
- the active tab and the panel are one SVG shape, so switching tabs feels like the shape is sliding over
- hover a tab and you get a preview of the project. That same query warms the cache, so by the time you click, the canvas is already loaded
- drag to reorder and the tab snaps into place, with the shape moving right along with it
- closing, pinning, renaming, reordering are optimistic updates: instant, with the server catching up behind
- recover a closed tab with ⌥⇧T
- once you've got a lot of tabs open, ⌥K gives you a searchable list of all of them
- shortcuts live on ⌥ because the browser already owns ⌘T and ⌘W
OladejiDev retweeted
We made a skill that teaches your agent to build interactions that feel physical. Drags that keep their speed when you let go, sheets that land where you meant, swipe actions, swipe back, scrubbing, morphing cards. All interruptible.
npx skills add rndrealm/fluid-interactions
OladejiDev retweeted
Token updates feed for Cheq.
A list that draws its loader as you pull, and rubber bands when you swipe too far.






