This is very cool. Lining up with the text by matching blockquotes is very clever!
Yeah absolutely. I’m curious: how difficult was it to implement this feature? Utilizing blockquotes that way means you don’t have to store side comments any differently really, so maybe it was easy to implement. Then again, things are never as easy as you’d initially expect.
You can see the PR here: https://github.com/ForumMagnum/ForumMagnum/pull/6023. Calendar-time from first starting on the first prototype to today was ~6 weeks; accounting for unrelated concurrent projects, I’d say I spent 3-4 FTE equivalent weeks on it. The biggest time sinks were HTML-token-stream wrangling to find matches, mark where to highlight, and so on, and UX details of the hoverable comments themselves. There’s also a partially-implemented system in there for shifting things left (closing the ToC if necessary) to get a wider right margin and avoid scrolling, at certain screen widths, which might get deployed later.
Yeah absolutely. I’m curious: how difficult was it to implement this feature? Utilizing blockquotes that way means you don’t have to store side comments any differently really, so maybe it was easy to implement. Then again, things are never as easy as you’d initially expect.
You can see the PR here: https://github.com/ForumMagnum/ForumMagnum/pull/6023. Calendar-time from first starting on the first prototype to today was ~6 weeks; accounting for unrelated concurrent projects, I’d say I spent 3-4 FTE equivalent weeks on it. The biggest time sinks were HTML-token-stream wrangling to find matches, mark where to highlight, and so on, and UX details of the hoverable comments themselves. There’s also a partially-implemented system in there for shifting things left (closing the ToC if necessary) to get a wider right margin and avoid scrolling, at certain screen widths, which might get deployed later.
Very cool. Thanks for the response.