Reported on the forum (https://community.coffeylabs.org/t/232, post 46): switch to a group, then use "Back to my mail" in the bar at the top. Back then goes to the group, then to your own mail, then exits.
DelegatedBar.tsx's back calls view(null) and then navigate("/mail"), which pushes a new entry. History ends up own → group → own. Switching back with the account menu (switchTo(null) in AppShell.tsx) does the same.
Wanted: "Back to my mail" unwinds to the entry from before the switch, like pressing Back (#133), so the group's pages are no longer in history. Record in history.state how many entries were pushed since entering the group and history.go(-n); the popstate handler in accountHistory.ts already switches the account back. With no record, fall back to view(null) plus a replace.
Code: web/src/views/DelegatedBar.tsx, switchTo() in web/src/views/AppShell.tsx, web/src/lib/accountHistory.ts.
Reported on the forum (https://community.coffeylabs.org/t/232, post 46): switch to a group, then use "Back to my mail" in the bar at the top. Back then goes to the group, then to your own mail, then exits.
`DelegatedBar.tsx`'s back calls `view(null)` and then `navigate("/mail")`, which pushes a new entry. History ends up own → group → own. Switching back with the account menu (`switchTo(null)` in `AppShell.tsx`) does the same.
Wanted: "Back to my mail" unwinds to the entry from before the switch, like pressing Back (#133), so the group's pages are no longer in history. Record in `history.state` how many entries were pushed since entering the group and `history.go(-n)`; the popstate handler in `accountHistory.ts` already switches the account back. With no record, fall back to `view(null)` plus a replace.
Code: `web/src/views/DelegatedBar.tsx`, `switchTo()` in `web/src/views/AppShell.tsx`, `web/src/lib/accountHistory.ts`.
jcoffey-dev
added this to the 27.1 milestone 2026-11-22 00:11:46 +00:00
Fixed in #144: "Back to my mail", and your own mail in the account menu, now step back past the group's pages instead of adding one. Ships in the next webmail RC.
Fixed in #144: "Back to my mail", and your own mail in the account menu, now step back past the group's pages instead of adding one. Ships in the next webmail RC.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Reported on the forum (https://community.coffeylabs.org/t/232, post 46): switch to a group, then use "Back to my mail" in the bar at the top. Back then goes to the group, then to your own mail, then exits.
DelegatedBar.tsx's back callsview(null)and thennavigate("/mail"), which pushes a new entry. History ends up own → group → own. Switching back with the account menu (switchTo(null)inAppShell.tsx) does the same.Wanted: "Back to my mail" unwinds to the entry from before the switch, like pressing Back (#133), so the group's pages are no longer in history. Record in
history.statehow many entries were pushed since entering the group andhistory.go(-n); the popstate handler inaccountHistory.tsalready switches the account back. With no record, fall back toview(null)plus a replace.Code:
web/src/views/DelegatedBar.tsx,switchTo()inweb/src/views/AppShell.tsx,web/src/lib/accountHistory.ts.Fixed in #144: "Back to my mail", and your own mail in the account menu, now step back past the group's pages instead of adding one. Ships in the next webmail RC.