t3code icon indicating copy to clipboard operation
t3code copied to clipboard

Diff panel closes when switching threads

Open eggfriedrice24 opened this issue 8 months ago • 2 comments

Switching between threads closes the diff panel. The open/collapsed state isn't persisted across thread navigation.

Currently the panel state lives in the ?diff=1 URL search param which gets dropped on route change.

Would it make sense to persist the diff panel state across thread switches (e.g. via localStorage)? Happy to send a PR if this is wanted.

cc @juliusmarminge

eggfriedrice24 avatar Mar 11 '26 00:03 eggfriedrice24

I know CONTRIBUTING.md says you're least likely to accept "opinionated" changes, don't want to waste everyone's time if this thing only annoys me

eggfriedrice24 avatar Mar 11 '26 00:03 eggfriedrice24

go for it!

juliusmarminge avatar Mar 11 '26 00:03 juliusmarminge