three endpoint IDs under CSS truncate. all three read ep_2abcdEFGhijKL…
the end is the only part that differs, and the ellipsis eats it
mantle, our React library, now clips the middle and keeps the tail
the cost: a ResizeObserver per cell. page the table or virtualize it?
## long URLs, without the tricks
long URLs have been a pain in the ngrok dashboard for years. the usual fixes break the value into pieces or drop characters, so the page shows something that isn't the real value anymore
this only changes how it looks. hover or tab to it for the whole value, one click selects all of it, and a copy gets the full URL every time
for us it's the first answer to long URLs that doesn't feel like a hack
## why not flex
the issue proposed flex. it lays out fine and copies wrong: Chromium and WebKit put a newline between two flex items, so a copied ID pasted as two lines
two inline-block spans copy as one line in Chromium, Firefox, and WebKit (measured all three through Playwright first)
that broke the screen reader name. Chromium puts a space between two inline-block boxes, so the halves are aria-hidden and a hidden span holds the whole value
## keep the ellipsis tight
i wanted the ellipsis to hug the text the way plain CSS truncate does. two boxes leave a sliver of space that changes with every pixel you drag
so while a value overflows, the head rounds down to whole ch cells. in a monospace font the ellipsis steps one character at a time
the demos in the post run the real component from npm, so drag them yourself (haters will say it's fake)
as someone who was claude code maxxing in replacement of amp over the last 9 months..
i am once again @AmpCode pilled and have been addicted to steering orbs and using spaces all weekend
It took a sec to port all of my stuff from Claude code over. Likely to reduce my inertia now tho.
My early feedback and thoughts (will have more later surely):
It’s taking me a minute to get used to terminology, but spaces are great. The puck guy is unhinged and idk how I feel about it (it’s an emoji or seven in our slack)
So far I’m really enjoying that I can use orbs or my mbp as a runner. And that I can prompt from my phone. As @joelhans said to me, this is dangerous to my already nonexistent work life balance 😅 but it’s also awesome because I can kick off a thread from an idea that I have when hanging with my family or out and about running errands on the weekend. I have a ton of random ideas outside of work hours, it’ll be awesome to validate them immediately instead of having to wait to get back to my laptop.
Before the switch, I’ve been managing multiple Claude threads via multiple tabs in ghostty and multiple instances of vscode (with multiple integrated terminal tabs). A total mess and chaotic insane, but kinda intentionally so.. more focused on shrimping product instead of optimizing my agentic tooling. This feels like a massive improvement so far. It’s nice that someone else has figured out how to organize how I tend to work already.
ngl, I miss the leaderboard
I’m somewhat conflicted. I do have some amount of anxiety relying on amp given y’all’s history and alignment/stance on the frontier. But I also like the direction y’all are taking atm. I don’t want to change out my harness or really have to think about it, just wanna build cool shit with this magical tech