News for hackers. Stuff that matters.
Re:GitHub unwanted UX change: issue links now open in a popup by mvdtnz on Sunday April 26, 2026 @02:45PM (#47912741)
I can't speak for GitHub but I've worked on multiple nav headers for large SaaS products and they can be ridiculously heavy weight to render given they appear on every page. They tend to be a dumping ground for features, many of which require their own permissions checks, feature flag checks, etc. it's not unusual to have to perform hierarchical permissions checks. They also tend to contain contextual info about the current nav state and dynamic information about navigable states.

A lot of this can be cached but it's easy to see why moving from one repo to another will invalidate most or all permission checks and feature flag checks.

Re:GitHub unwanted UX change: issue links now open in a popup by Matt138 on Sunday April 26, 2026 @02:59PM (#47912867)
Yes, pretty much this as well as some additional complexities due to the issue content being in React and the header in Rails - to the cost of approx 500-800ms p50 for a page load vs sub 100ms for a nav to an issue in the same repo (or without the header which is what we tried with this change here)
Re:GitHub unwanted UX change: issue links now open in a popup by Neywiny on Sunday April 26, 2026 @04:55PM (#47914345)
That does seem very long so it's good you're working on it
Re:GitHub unwanted UX change: issue links now open in a popup by nchmy on Sunday April 26, 2026 @05:58PM (#47915109)
I'm curious, what causes the rails header to be so slow? They have a pretty good fragment caching story, don't they?
Re:GitHub unwanted UX change: issue links now open in a popup by Banditoz on Sunday April 26, 2026 @06:10PM (#47915229)
Has the team considered going back all-in on Rails and SSR instead of this hybrid approach?
Re:GitHub unwanted UX change: issue links now open in a popup by altairprime on Sunday April 26, 2026 @06:38PM (#47915514)
Have they completed the do-or-die Azure migration? I thought it had another year or something left..
Re:GitHub unwanted UX change: issue links now open in a popup by joshmn on Sunday April 26, 2026 @09:38PM (#47916783)
is `current_user` really costing that much?
Re:GitHub unwanted UX change: issue links now open in a popup by AlotOfReading on Sunday April 26, 2026 @04:33PM (#47914068)
How many checks are we talking? A well-implemented monotonic system should be able to do tens of thousands of these checks (or more) in the time budget I associate with a heavy page, and start before the entirety of the permissions/feature data is available.