OladejiDev (@OladejiDev) profile picture

JavaScript enthusiast | Maker of cool, innovative stuff | Turning code into magic ✨| IFB 🤝

Joined January 2024
Photo by OladejiDev (@OladejiDev)Photo by OladejiDev (@OladejiDev)
OladejiDev retweeted
Keyboard accessible Command Palette with document previews.
7
1
23
987
OladejiDev retweeted
2
10
21
301
OladejiDev retweeted
There's a version of this where the stickers sort of slap against the basketball. if anyone would like to see it.
3
3
7
294
OladejiDev retweeted
Context aware gradients
3
8
1
29
1,501
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
2
7
10
401
OladejiDev retweeted
3
8
154
OladejiDev retweeted
Setting up in the backrooms. no sound design for now.
2
2
1
15
843
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
2
5
1
11
412
OladejiDev retweeted
wip
5
12
225
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
6
12
376
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
1
6
1
10
555
OladejiDev retweeted
Our new home for experiments Link below 👇
2
7
24
929
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
6
30
3
552
16,535
OladejiDev retweeted
Token updates feed for Cheq. A list that draws its loader as you pull, and rubber bands when you swipe too far.
1
7
18
816
OladejiDev retweeted
Active bet widget with market based events
1
10
22
778
OladejiDev retweeted
Easter egg - design and dev work for cheq
1
15
2
190
5,877
OladejiDev retweeted
Mindmap nav
3
19
2
204
5,611
OladejiDev retweeted
Auth - Mindmap
6
11
633
OladejiDev retweeted
Trade against your friends with Cheq - Brand work
6
1
8
507
OladejiDev retweeted
Get started - mindmap
7
13
623