detached 4fc291e

feat(web): move the inbox button of the home page next to the logo, with a mailbox icon and a darker count badge

commit
4fc291e7aec41ccf4f7b95936bd72ed5a7b060da
author
brice · · 2026-10-19 15:37 UTC
parent
5f6d2c6
signature
GPG VerifiedCD88F9E564E0102646FB6077A1A07C7C7C3E349D · arch-gpg Verified for the committer email
9 files · +545 -539
M internal/adapters/web/home.go +2 -3
@@ -121,11 +121,10 @@ func (s *Server) home(ctx context.Context, r *http.Request) (templ.Component, in
121121 p.Sorts = append(p.Sorts, sl)
122122 }
123123 p.Rows = s.homeRows(ctx, repos, now)
124+ l := s.base()
124125 if n, show := s.inboxCount(ctx); show {
125- p.Inbox = &InboxButton{Href: inboxPath, Count: n}
126+ l.Inbox = &InboxButton{Href: inboxPath, Count: n}
126127 }
127-
128- l := s.base()
129128 l.Title = s.instance
130129 l.Live, l.LiveURL = true, liveURL("home", "")
131130 l.Cmd = append([]CmdItem{{Kind: "go", Label: "home", Href: "/"}}, repoCmds(repos, "")...)
@@ -121,11 +121,10 @@ func (s *Server) home(ctx context.Context, r *http.Request) (templ.Component, in
121 p.Sorts = append(p.Sorts, sl)121 p.Sorts = append(p.Sorts, sl)
122 }122 }
123 p.Rows = s.homeRows(ctx, repos, now)123 p.Rows = s.homeRows(ctx, repos, now)
124+ l := s.base()
124 if n, show := s.inboxCount(ctx); show {125 if n, show := s.inboxCount(ctx); show {
125- p.Inbox = &InboxButton{Href: inboxPath, Count: n}126+ l.Inbox = &InboxButton{Href: inboxPath, Count: n}
126 }127 }
127-
128- l := s.base()
129 l.Title = s.instance128 l.Title = s.instance
130 l.Live, l.LiveURL = true, liveURL("home", "")129 l.Live, l.LiveURL = true, liveURL("home", "")
131 l.Cmd = append([]CmdItem{{Kind: "go", Label: "home", Href: "/"}}, repoCmds(repos, "")...)130 l.Cmd = append([]CmdItem{{Kind: "go", Label: "home", Href: "/"}}, repoCmds(repos, "")...)
M internal/adapters/web/pages.templ +0 -8
@@ -9,14 +9,6 @@ templ Home(l Layout, p HomePage) {
99 <div class="home" data-layout="cards">
1010 <section class="home-repos" aria-label="Repositories">
1111 <div class="home-bar">
12- if p.Inbox != nil {
13- <a class="btn inbox-btn" href={ templ.SafeURL(p.Inbox.Href) } title="inbox">
14- Inbox
15- if p.Inbox.Count >= 0 {
16- <span class="count">{ itoa(p.Inbox.Count) }</span>
17- }
18- </a>
19- }
2012 <div class="filter">
2113 <label for="home-filter" class="sr">filter</label>
2214 <input
@@ -9,14 +9,6 @@ templ Home(l Layout, p HomePage) {
9 <div class="home" data-layout="cards">9 <div class="home" data-layout="cards">
10 <section class="home-repos" aria-label="Repositories">10 <section class="home-repos" aria-label="Repositories">
11 <div class="home-bar">11 <div class="home-bar">
12- if p.Inbox != nil {
13- <a class="btn inbox-btn" href={ templ.SafeURL(p.Inbox.Href) } title="inbox">
14- Inbox
15- if p.Inbox.Count >= 0 {
16- <span class="count">{ itoa(p.Inbox.Count) }</span>
17- }
18- </a>
19- }
20 <div class="filter">12 <div class="filter">
21 <label for="home-filter" class="sr">filter</label>13 <label for="home-filter" class="sr">filter</label>
22 <input14 <input
M internal/adapters/web/pages_templ.go +363 -409 generated file: collapsed
M internal/adapters/web/shell.templ +13 -0
@@ -80,6 +80,19 @@ templ Header(l Layout) {
8080 <a class="brand" href="/" data-g="h" aria-label="home" title="home (g h)">
8181 <span class="brand-mark" aria-hidden="true"></span>
8282 </a>
83+ if l.Inbox != nil {
84+ <a
85+ class="btn inbox-btn"
86+ href={ templ.SafeURL(l.Inbox.Href) }
87+ title="inbox"
88+ >
89+ <span class="ico i-mailbox" aria-hidden="true"></span>
90+ Inbox
91+ if l.Inbox.Count >= 0 {
92+ <span class="count">{ itoa(l.Inbox.Count) }</span>
93+ }
94+ </a>
95+ }
8396 if len(l.Crumbs) > 0 {
8497 <nav class="crumbs" aria-label="Path">
8598 <ol>
@@ -80,6 +80,19 @@ templ Header(l Layout) {
80 <a class="brand" href="/" data-g="h" aria-label="home" title="home (g h)">80 <a class="brand" href="/" data-g="h" aria-label="home" title="home (g h)">
81 <span class="brand-mark" aria-hidden="true"></span>81 <span class="brand-mark" aria-hidden="true"></span>
82 </a>82 </a>
83+ if l.Inbox != nil {
84+ <a
85+ class="btn inbox-btn"
86+ href={ templ.SafeURL(l.Inbox.Href) }
87+ title="inbox"
88+ >
89+ <span class="ico i-mailbox" aria-hidden="true"></span>
90+ Inbox
91+ if l.Inbox.Count >= 0 {
92+ <span class="count">{ itoa(l.Inbox.Count) }</span>
93+ }
94+ </a>
95+ }
83 if len(l.Crumbs) > 0 {96 if len(l.Crumbs) > 0 {
84 <nav class="crumbs" aria-label="Path">97 <nav class="crumbs" aria-label="Path">
85 <ol>98 <ol>
M internal/adapters/web/shell_templ.go +157 -115
@@ -458,315 +458,357 @@ func Header(l Layout) templ.Component {
458458 if templ_7745c5c3_Err != nil {
459459 return templ_7745c5c3_Err
460460 }
461+ if l.Inbox != nil {
462+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 38, "<a class=\"btn inbox-btn\" href=\"")
463+ if templ_7745c5c3_Err != nil {
464+ return templ_7745c5c3_Err
465+ }
466+ var templ_7745c5c3_Var26 templ.SafeURL
467+ templ_7745c5c3_Var26, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(l.Inbox.Href))
468+ if templ_7745c5c3_Err != nil {
469+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 86, Col: 39}
470+ }
471+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var26))
472+ if templ_7745c5c3_Err != nil {
473+ return templ_7745c5c3_Err
474+ }
475+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 39, "\" title=\"inbox\"><span class=\"ico i-mailbox\" aria-hidden=\"true\"></span> Inbox ")
476+ if templ_7745c5c3_Err != nil {
477+ return templ_7745c5c3_Err
478+ }
479+ if l.Inbox.Count >= 0 {
480+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 40, "<span class=\"count\">")
481+ if templ_7745c5c3_Err != nil {
482+ return templ_7745c5c3_Err
483+ }
484+ var templ_7745c5c3_Var27 string
485+ templ_7745c5c3_Var27, templ_7745c5c3_Err = templ.JoinStringErrs(itoa(l.Inbox.Count))
486+ if templ_7745c5c3_Err != nil {
487+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 92, Col: 47}
488+ }
489+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var27))
490+ if templ_7745c5c3_Err != nil {
491+ return templ_7745c5c3_Err
492+ }
493+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 41, "</span>")
494+ if templ_7745c5c3_Err != nil {
495+ return templ_7745c5c3_Err
496+ }
497+ }
498+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 42, "</a> ")
499+ if templ_7745c5c3_Err != nil {
500+ return templ_7745c5c3_Err
501+ }
502+ }
461503 if len(l.Crumbs) > 0 {
462- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 38, "<nav class=\"crumbs\" aria-label=\"Path\"><ol>")
504+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 43, "<nav class=\"crumbs\" aria-label=\"Path\"><ol>")
463505 if templ_7745c5c3_Err != nil {
464506 return templ_7745c5c3_Err
465507 }
466508 for _, c := range l.Crumbs {
467- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 39, "<li>")
509+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 44, "<li>")
468510 if templ_7745c5c3_Err != nil {
469511 return templ_7745c5c3_Err
470512 }
471513 if c.Href != "" {
472- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 40, "<a href=\"")
514+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 45, "<a href=\"")
473515 if templ_7745c5c3_Err != nil {
474516 return templ_7745c5c3_Err
475517 }
476- var templ_7745c5c3_Var26 templ.SafeURL
477- templ_7745c5c3_Var26, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(c.Href))
518+ var templ_7745c5c3_Var28 templ.SafeURL
519+ templ_7745c5c3_Var28, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(c.Href))
478520 if templ_7745c5c3_Err != nil {
479- return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 90, Col: 38}
521+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 103, Col: 38}
480522 }
481- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var26))
523+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var28))
482524 if templ_7745c5c3_Err != nil {
483525 return templ_7745c5c3_Err
484526 }
485- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 41, "\"")
527+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 46, "\"")
486528 if templ_7745c5c3_Err != nil {
487529 return templ_7745c5c3_Err
488530 }
489531 if c.Current {
490- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 42, " aria-current=\"page\"")
532+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 47, " aria-current=\"page\"")
491533 if templ_7745c5c3_Err != nil {
492534 return templ_7745c5c3_Err
493535 }
494536 }
495- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 43, ">")
537+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 48, ">")
496538 if templ_7745c5c3_Err != nil {
497539 return templ_7745c5c3_Err
498540 }
499- var templ_7745c5c3_Var27 string
500- templ_7745c5c3_Var27, templ_7745c5c3_Err = templ.JoinStringErrs(c.Label)
541+ var templ_7745c5c3_Var29 string
542+ templ_7745c5c3_Var29, templ_7745c5c3_Err = templ.JoinStringErrs(c.Label)
501543 if templ_7745c5c3_Err != nil {
502- return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 94, Col: 19}
544+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 107, Col: 19}
503545 }
504- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var27))
546+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var29))
505547 if templ_7745c5c3_Err != nil {
506548 return templ_7745c5c3_Err
507549 }
508- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 44, "</a>")
550+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 49, "</a>")
509551 if templ_7745c5c3_Err != nil {
510552 return templ_7745c5c3_Err
511553 }
512554 } else {
513- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 45, "<span")
555+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 50, "<span")
514556 if templ_7745c5c3_Err != nil {
515557 return templ_7745c5c3_Err
516558 }
517559 if c.Current {
518- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 46, " aria-current=\"page\"")
560+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 51, " aria-current=\"page\"")
519561 if templ_7745c5c3_Err != nil {
520562 return templ_7745c5c3_Err
521563 }
522564 }
523- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 47, ">")
565+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 52, ">")
524566 if templ_7745c5c3_Err != nil {
525567 return templ_7745c5c3_Err
526568 }
527- var templ_7745c5c3_Var28 string
528- templ_7745c5c3_Var28, templ_7745c5c3_Err = templ.JoinStringErrs(c.Label)
569+ var templ_7745c5c3_Var30 string
570+ templ_7745c5c3_Var30, templ_7745c5c3_Err = templ.JoinStringErrs(c.Label)
529571 if templ_7745c5c3_Err != nil {
530- return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 100, Col: 19}
572+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 113, Col: 19}
531573 }
532- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var28))
574+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var30))
533575 if templ_7745c5c3_Err != nil {
534576 return templ_7745c5c3_Err
535577 }
536- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 48, "</span>")
578+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 53, "</span>")
537579 if templ_7745c5c3_Err != nil {
538580 return templ_7745c5c3_Err
539581 }
540582 }
541- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 49, "</li>")
583+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 54, "</li>")
542584 if templ_7745c5c3_Err != nil {
543585 return templ_7745c5c3_Err
544586 }
545587 }
546- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 50, "</ol></nav>")
588+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 55, "</ol></nav>")
547589 if templ_7745c5c3_Err != nil {
548590 return templ_7745c5c3_Err
549591 }
550592 }
551- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 51, "<div class=\"hdr-acts\">")
593+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 56, "<div class=\"hdr-acts\">")
552594 if templ_7745c5c3_Err != nil {
553595 return templ_7745c5c3_Err
554596 }
555597 if l.Ref != "" {
556- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 52, "<a class=\"btn ref\" href=\"")
598+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 57, "<a class=\"btn ref\" href=\"")
557599 if templ_7745c5c3_Err != nil {
558600 return templ_7745c5c3_Err
559601 }
560- var templ_7745c5c3_Var29 templ.SafeURL
561- templ_7745c5c3_Var29, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(repoHref(l.Repo, "refs")))
602+ var templ_7745c5c3_Var31 templ.SafeURL
603+ templ_7745c5c3_Var31, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(repoHref(l.Repo, "refs")))
562604 if templ_7745c5c3_Err != nil {
563- return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 111, Col: 52}
605+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 124, Col: 52}
564606 }
565- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var29))
607+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var31))
566608 if templ_7745c5c3_Err != nil {
567609 return templ_7745c5c3_Err
568610 }
569- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 53, "\" data-fire=\"refs\" aria-keyshortcuts=\"b\" title=\"switch branch or tag (b)\"><span class=\"ico i-branch\" aria-hidden=\"true\"></span> <span class=\"ref-name\">")
611+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 58, "\" data-fire=\"refs\" aria-keyshortcuts=\"b\" title=\"switch branch or tag (b)\"><span class=\"ico i-branch\" aria-hidden=\"true\"></span> <span class=\"ref-name\">")
570612 if templ_7745c5c3_Err != nil {
571613 return templ_7745c5c3_Err
572614 }
573- var templ_7745c5c3_Var30 string
574- templ_7745c5c3_Var30, templ_7745c5c3_Err = templ.JoinStringErrs(l.Ref)
615+ var templ_7745c5c3_Var32 string
616+ templ_7745c5c3_Var32, templ_7745c5c3_Err = templ.JoinStringErrs(l.Ref)
575617 if templ_7745c5c3_Err != nil {
576- return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 117, Col: 36}
618+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 130, Col: 36}
577619 }
578- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var30))
620+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var32))
579621 if templ_7745c5c3_Err != nil {
580622 return templ_7745c5c3_Err
581623 }
582- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 54, "</span> <span class=\"sha\">")
624+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 59, "</span> <span class=\"sha\">")
583625 if templ_7745c5c3_Err != nil {
584626 return templ_7745c5c3_Err
585627 }
586- var templ_7745c5c3_Var31 string
587- templ_7745c5c3_Var31, templ_7745c5c3_Err = templ.JoinStringErrs(l.Short)
628+ var templ_7745c5c3_Var33 string
629+ templ_7745c5c3_Var33, templ_7745c5c3_Err = templ.JoinStringErrs(l.Short)
588630 if templ_7745c5c3_Err != nil {
589- return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 118, Col: 33}
631+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 131, Col: 33}
590632 }
591- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var31))
633+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var33))
592634 if templ_7745c5c3_Err != nil {
593635 return templ_7745c5c3_Err
594636 }
595- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 55, "</span></a> ")
637+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 60, "</span></a> ")
596638 if templ_7745c5c3_Err != nil {
597639 return templ_7745c5c3_Err
598640 }
599641 }
600- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 56, "<button type=\"button\" class=\"btn search\" data-js aria-haspopup=\"dialog\" aria-controls=\"panel-cmd\" aria-keyshortcuts=\"Control+K :\" title=\"go to a section, ref, file or repo (ctrl k or :)\" data-fire=\"cmd\"><span class=\"ico i-search\" aria-hidden=\"true\"></span> <span class=\"search-label\">Go to…</span> <kbd aria-hidden=\"true\">ctrl k</kbd></button> ")
642+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 61, "<button type=\"button\" class=\"btn search\" data-js aria-haspopup=\"dialog\" aria-controls=\"panel-cmd\" aria-keyshortcuts=\"Control+K :\" title=\"go to a section, ref, file or repo (ctrl k or :)\" data-fire=\"cmd\"><span class=\"ico i-search\" aria-hidden=\"true\"></span> <span class=\"search-label\">Go to…</span> <kbd aria-hidden=\"true\">ctrl k</kbd></button> ")
601643 if templ_7745c5c3_Err != nil {
602644 return templ_7745c5c3_Err
603645 }
604646 if SignedIn(ctx) {
605- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 57, "<form class=\"owner\" method=\"post\" action=\"/-/logout\"><span class=\"owner-badge\" title=\"signed in as the owner\"><span class=\"ico i-user\" aria-hidden=\"true\"></span>")
647+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 62, "<form class=\"owner\" method=\"post\" action=\"/-/logout\"><span class=\"owner-badge\" title=\"signed in as the owner\"><span class=\"ico i-user\" aria-hidden=\"true\"></span>")
606648 if templ_7745c5c3_Err != nil {
607649 return templ_7745c5c3_Err
608650 }
609- var templ_7745c5c3_Var32 string
610- templ_7745c5c3_Var32, templ_7745c5c3_Err = templ.JoinStringErrs(l.Owner)
651+ var templ_7745c5c3_Var34 string
652+ templ_7745c5c3_Var34, templ_7745c5c3_Err = templ.JoinStringErrs(l.Owner)
611653 if templ_7745c5c3_Err != nil {
612- return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 137, Col: 123}
654+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 150, Col: 123}
613655 }
614- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var32))
656+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var34))
615657 if templ_7745c5c3_Err != nil {
616658 return templ_7745c5c3_Err
617659 }
618- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 58, "</span> ")
660+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 63, "</span> ")
619661 if templ_7745c5c3_Err != nil {
620662 return templ_7745c5c3_Err
621663 }
622664 if l.Passkeys {
623- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 59, "<a class=\"btn icon\" href=\"/-/passkeys\" aria-label=\"Passkeys\" title=\"passkeys: add or remove the passkeys that sign you in\"><span class=\"ico i-key\" aria-hidden=\"true\"></span></a> ")
665+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 64, "<a class=\"btn icon\" href=\"/-/passkeys\" aria-label=\"Passkeys\" title=\"passkeys: add or remove the passkeys that sign you in\"><span class=\"ico i-key\" aria-hidden=\"true\"></span></a> ")
624666 if templ_7745c5c3_Err != nil {
625667 return templ_7745c5c3_Err
626668 }
627669 }
628- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 60, "<button type=\"submit\" class=\"btn icon\" aria-label=\"Sign out\" title=\"sign out of this browser\"><span class=\"ico i-log-out\" aria-hidden=\"true\"></span></button></form>")
670+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 65, "<button type=\"submit\" class=\"btn icon\" aria-label=\"Sign out\" title=\"sign out of this browser\"><span class=\"ico i-log-out\" aria-hidden=\"true\"></span></button></form>")
629671 if templ_7745c5c3_Err != nil {
630672 return templ_7745c5c3_Err
631673 }
632674 } else if l.Passkeys {
633- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 61, "<a class=\"btn icon\" href=\"/-/login\" aria-label=\"Sign in\" title=\"sign in with a passkey\"><span class=\"ico i-log-in\" aria-hidden=\"true\"></span></a>")
675+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 66, "<a class=\"btn icon\" href=\"/-/login\" aria-label=\"Sign in\" title=\"sign in with a passkey\"><span class=\"ico i-log-in\" aria-hidden=\"true\"></span></a>")
634676 if templ_7745c5c3_Err != nil {
635677 return templ_7745c5c3_Err
636678 }
637679 }
638- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 62, "</div></div>")
680+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 67, "</div></div>")
639681 if templ_7745c5c3_Err != nil {
640682 return templ_7745c5c3_Err
641683 }
642684 if len(l.Sections) > 0 {
643- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 63, "<nav class=\"tabs\" aria-label=\"Sections\"><ul>")
685+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 68, "<nav class=\"tabs\" aria-label=\"Sections\"><ul>")
644686 if templ_7745c5c3_Err != nil {
645687 return templ_7745c5c3_Err
646688 }
647689 for _, s := range l.Sections {
648- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 64, "<li><a href=\"")
690+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 69, "<li><a href=\"")
649691 if templ_7745c5c3_Err != nil {
650692 return templ_7745c5c3_Err
651693 }
652- var templ_7745c5c3_Var33 templ.SafeURL
653- templ_7745c5c3_Var33, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(s.Href))
694+ var templ_7745c5c3_Var35 templ.SafeURL
695+ templ_7745c5c3_Var35, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(s.Href))
654696 if templ_7745c5c3_Err != nil {
655- return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 154, Col: 36}
697+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 167, Col: 36}
656698 }
657- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var33))
699+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var35))
658700 if templ_7745c5c3_Err != nil {
659701 return templ_7745c5c3_Err
660702 }
661- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 65, "\" data-key=\"")
703+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 70, "\" data-key=\"")
662704 if templ_7745c5c3_Err != nil {
663705 return templ_7745c5c3_Err
664706 }
665- var templ_7745c5c3_Var34 string
666- templ_7745c5c3_Var34, templ_7745c5c3_Err = templ.ResolveAttributeValue(s.Key)
707+ var templ_7745c5c3_Var36 string
708+ templ_7745c5c3_Var36, templ_7745c5c3_Err = templ.ResolveAttributeValue(s.Key)
667709 if templ_7745c5c3_Err != nil {
668- return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 155, Col: 24}
710+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 168, Col: 24}
669711 }
670- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var34)
712+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var36)
671713 if templ_7745c5c3_Err != nil {
672714 return templ_7745c5c3_Err
673715 }
674- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 66, "\" aria-keyshortcuts=\"")
716+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 71, "\" aria-keyshortcuts=\"")
675717 if templ_7745c5c3_Err != nil {
676718 return templ_7745c5c3_Err
677719 }
678- var templ_7745c5c3_Var35 string
679- templ_7745c5c3_Var35, templ_7745c5c3_Err = templ.ResolveAttributeValue(s.Key)
720+ var templ_7745c5c3_Var37 string
721+ templ_7745c5c3_Var37, templ_7745c5c3_Err = templ.ResolveAttributeValue(s.Key)
680722 if templ_7745c5c3_Err != nil {
681- return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 156, Col: 33}
723+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 169, Col: 33}
682724 }
683- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var35)
725+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var37)
684726 if templ_7745c5c3_Err != nil {
685727 return templ_7745c5c3_Err
686728 }
687- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 67, "\"")
729+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 72, "\"")
688730 if templ_7745c5c3_Err != nil {
689731 return templ_7745c5c3_Err
690732 }
691733 if s.Current {
692- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 68, " aria-current=\"page\"")
734+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 73, " aria-current=\"page\"")
693735 if templ_7745c5c3_Err != nil {
694736 return templ_7745c5c3_Err
695737 }
696738 }
697- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 69, ">")
739+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 74, ">")
698740 if templ_7745c5c3_Err != nil {
699741 return templ_7745c5c3_Err
700742 }
701- var templ_7745c5c3_Var36 string
702- templ_7745c5c3_Var36, templ_7745c5c3_Err = templ.JoinStringErrs(s.Label)
743+ var templ_7745c5c3_Var38 string
744+ templ_7745c5c3_Var38, templ_7745c5c3_Err = templ.JoinStringErrs(s.Label)
703745 if templ_7745c5c3_Err != nil {
704- return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 161, Col: 17}
746+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 174, Col: 17}
705747 }
706- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var36))
748+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var38))
707749 if templ_7745c5c3_Err != nil {
708750 return templ_7745c5c3_Err
709751 }
710- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 70, " ")
752+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 75, " ")
711753 if templ_7745c5c3_Err != nil {
712754 return templ_7745c5c3_Err
713755 }
714756 if s.Count != "" {
715- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 71, "<span class=\"count\">")
757+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 76, "<span class=\"count\">")
716758 if templ_7745c5c3_Err != nil {
717759 return templ_7745c5c3_Err
718760 }
719- var templ_7745c5c3_Var37 string
720- templ_7745c5c3_Var37, templ_7745c5c3_Err = templ.JoinStringErrs(s.Count)
761+ var templ_7745c5c3_Var39 string
762+ templ_7745c5c3_Var39, templ_7745c5c3_Err = templ.JoinStringErrs(s.Count)
721763 if templ_7745c5c3_Err != nil {
722- return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 163, Col: 38}
764+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 176, Col: 38}
723765 }
724- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var37))
766+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var39))
725767 if templ_7745c5c3_Err != nil {
726768 return templ_7745c5c3_Err
727769 }
728- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 72, "<span class=\"sr\">")
770+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 77, "<span class=\"sr\">")
729771 if templ_7745c5c3_Err != nil {
730772 return templ_7745c5c3_Err
731773 }
732- var templ_7745c5c3_Var38 string
733- templ_7745c5c3_Var38, templ_7745c5c3_Err = templ.JoinStringErrs(" open")
774+ var templ_7745c5c3_Var40 string
775+ templ_7745c5c3_Var40, templ_7745c5c3_Err = templ.JoinStringErrs(" open")
734776 if templ_7745c5c3_Err != nil {
735- return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 163, Col: 66}
777+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 176, Col: 66}
736778 }
737- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var38))
779+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var40))
738780 if templ_7745c5c3_Err != nil {
739781 return templ_7745c5c3_Err
740782 }
741- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 73, "</span></span> ")
783+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 78, "</span></span> ")
742784 if templ_7745c5c3_Err != nil {
743785 return templ_7745c5c3_Err
744786 }
745787 }
746- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 74, "<kbd aria-hidden=\"true\">")
788+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 79, "<kbd aria-hidden=\"true\">")
747789 if templ_7745c5c3_Err != nil {
748790 return templ_7745c5c3_Err
749791 }
750- var templ_7745c5c3_Var39 string
751- templ_7745c5c3_Var39, templ_7745c5c3_Err = templ.JoinStringErrs(s.Key)
792+ var templ_7745c5c3_Var41 string
793+ templ_7745c5c3_Var41, templ_7745c5c3_Err = templ.JoinStringErrs(s.Key)
752794 if templ_7745c5c3_Err != nil {
753- return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 165, Col: 39}
795+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 178, Col: 39}
754796 }
755- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var39))
797+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var41))
756798 if templ_7745c5c3_Err != nil {
757799 return templ_7745c5c3_Err
758800 }
759- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 75, "</kbd></a></li>")
801+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 80, "</kbd></a></li>")
760802 if templ_7745c5c3_Err != nil {
761803 return templ_7745c5c3_Err
762804 }
763805 }
764- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 76, "</ul></nav>")
806+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 81, "</ul></nav>")
765807 if templ_7745c5c3_Err != nil {
766808 return templ_7745c5c3_Err
767809 }
768810 }
769- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 77, "</header>")
811+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 82, "</header>")
770812 if templ_7745c5c3_Err != nil {
771813 return templ_7745c5c3_Err
772814 }
@@ -792,38 +834,38 @@ func Footer(l Layout) templ.Component {
792834 }()
793835 }
794836 ctx = templ.InitializeContext(ctx)
795- templ_7745c5c3_Var40 := templ.GetChildren(ctx)
796- if templ_7745c5c3_Var40 == nil {
797- templ_7745c5c3_Var40 = templ.NopComponent
837+ templ_7745c5c3_Var42 := templ.GetChildren(ctx)
838+ if templ_7745c5c3_Var42 == nil {
839+ templ_7745c5c3_Var42 = templ.NopComponent
798840 }
799841 ctx = templ.ClearChildren(ctx)
800- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 78, "<footer class=\"foot\"><span>ermite ")
842+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 83, "<footer class=\"foot\"><span>ermite ")
801843 if templ_7745c5c3_Err != nil {
802844 return templ_7745c5c3_Err
803845 }
804- var templ_7745c5c3_Var41 string
805- templ_7745c5c3_Var41, templ_7745c5c3_Err = templ.JoinStringErrs(l.Version)
846+ var templ_7745c5c3_Var43 string
847+ templ_7745c5c3_Var43, templ_7745c5c3_Err = templ.JoinStringErrs(l.Version)
806848 if templ_7745c5c3_Err != nil {
807- return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 179, Col: 26}
849+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 192, Col: 26}
808850 }
809- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var41))
851+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var43))
810852 if templ_7745c5c3_Err != nil {
811853 return templ_7745c5c3_Err
812854 }
813- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 79, "</span> <a href=\"")
855+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 84, "</span> <a href=\"")
814856 if templ_7745c5c3_Err != nil {
815857 return templ_7745c5c3_Err
816858 }
817- var templ_7745c5c3_Var42 templ.SafeURL
818- templ_7745c5c3_Var42, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(l.SourceURL))
859+ var templ_7745c5c3_Var44 templ.SafeURL
860+ templ_7745c5c3_Var44, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(l.SourceURL))
819861 if templ_7745c5c3_Err != nil {
820- return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 180, Col: 38}
862+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 193, Col: 38}
821863 }
822- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var42))
864+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var44))
823865 if templ_7745c5c3_Err != nil {
824866 return templ_7745c5c3_Err
825867 }
826- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 80, "\" rel=\"noopener\" title=\"source of this version (AGPL-3.0-or-later)\">source</a> <button type=\"button\" class=\"foot-keys\" data-js data-fire=\"help\" aria-haspopup=\"dialog\" aria-controls=\"panel-help\" aria-keyshortcuts=\"?\"><kbd aria-hidden=\"true\">?</kbd> keyboard shortcuts</button></footer>")
868+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 85, "\" rel=\"noopener\" title=\"source of this version (AGPL-3.0-or-later)\">source</a> <button type=\"button\" class=\"foot-keys\" data-js data-fire=\"help\" aria-haspopup=\"dialog\" aria-controls=\"panel-help\" aria-keyshortcuts=\"?\"><kbd aria-hidden=\"true\">?</kbd> keyboard shortcuts</button></footer>")
827869 if templ_7745c5c3_Err != nil {
828870 return templ_7745c5c3_Err
829871 }
@@ -851,12 +893,12 @@ func Hint(l Layout) templ.Component {
851893 }()
852894 }
853895 ctx = templ.InitializeContext(ctx)
854- templ_7745c5c3_Var43 := templ.GetChildren(ctx)
855- if templ_7745c5c3_Var43 == nil {
856- templ_7745c5c3_Var43 = templ.NopComponent
896+ templ_7745c5c3_Var45 := templ.GetChildren(ctx)
897+ if templ_7745c5c3_Var45 == nil {
898+ templ_7745c5c3_Var45 = templ.NopComponent
857899 }
858900 ctx = templ.ClearChildren(ctx)
859- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 81, "<div class=\"hint\" role=\"status\" aria-live=\"polite\"><span class=\"hint-nav\" :text=\"document.body.dataset.nav || ''\"></span> <span class=\"hint-sel\" :text=\"document.body.dataset.sel ? document.body.dataset.sel + ' · y permalink' : ''\"></span> <span class=\"hint-flash\" :text=\"document.body.dataset.flash || ''\"></span>")
901+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 86, "<div class=\"hint\" role=\"status\" aria-live=\"polite\"><span class=\"hint-nav\" :text=\"document.body.dataset.nav || ''\"></span> <span class=\"hint-sel\" :text=\"document.body.dataset.sel ? document.body.dataset.sel + ' · y permalink' : ''\"></span> <span class=\"hint-flash\" :text=\"document.body.dataset.flash || ''\"></span>")
860902 if templ_7745c5c3_Err != nil {
861903 return templ_7745c5c3_Err
862904 }
@@ -864,7 +906,7 @@ func Hint(l Layout) templ.Component {
864906 if templ_7745c5c3_Err != nil {
865907 return templ_7745c5c3_Err
866908 }
867- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 82, "</div>")
909+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 87, "</div>")
868910 if templ_7745c5c3_Err != nil {
869911 return templ_7745c5c3_Err
870912 }
@@ -458,315 +458,357 @@ func Header(l Layout) templ.Component {
458 if templ_7745c5c3_Err != nil {458 if templ_7745c5c3_Err != nil {
459 return templ_7745c5c3_Err459 return templ_7745c5c3_Err
460 }460 }
461+ if l.Inbox != nil {
462+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 38, "<a class=\"btn inbox-btn\" href=\"")
463+ if templ_7745c5c3_Err != nil {
464+ return templ_7745c5c3_Err
465+ }
466+ var templ_7745c5c3_Var26 templ.SafeURL
467+ templ_7745c5c3_Var26, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(l.Inbox.Href))
468+ if templ_7745c5c3_Err != nil {
469+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 86, Col: 39}
470+ }
471+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var26))
472+ if templ_7745c5c3_Err != nil {
473+ return templ_7745c5c3_Err
474+ }
475+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 39, "\" title=\"inbox\"><span class=\"ico i-mailbox\" aria-hidden=\"true\"></span> Inbox ")
476+ if templ_7745c5c3_Err != nil {
477+ return templ_7745c5c3_Err
478+ }
479+ if l.Inbox.Count >= 0 {
480+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 40, "<span class=\"count\">")
481+ if templ_7745c5c3_Err != nil {
482+ return templ_7745c5c3_Err
483+ }
484+ var templ_7745c5c3_Var27 string
485+ templ_7745c5c3_Var27, templ_7745c5c3_Err = templ.JoinStringErrs(itoa(l.Inbox.Count))
486+ if templ_7745c5c3_Err != nil {
487+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 92, Col: 47}
488+ }
489+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var27))
490+ if templ_7745c5c3_Err != nil {
491+ return templ_7745c5c3_Err
492+ }
493+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 41, "</span>")
494+ if templ_7745c5c3_Err != nil {
495+ return templ_7745c5c3_Err
496+ }
497+ }
498+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 42, "</a> ")
499+ if templ_7745c5c3_Err != nil {
500+ return templ_7745c5c3_Err
501+ }
502+ }
461 if len(l.Crumbs) > 0 {503 if len(l.Crumbs) > 0 {
462- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 38, "<nav class=\"crumbs\" aria-label=\"Path\"><ol>")504+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 43, "<nav class=\"crumbs\" aria-label=\"Path\"><ol>")
463 if templ_7745c5c3_Err != nil {505 if templ_7745c5c3_Err != nil {
464 return templ_7745c5c3_Err506 return templ_7745c5c3_Err
465 }507 }
466 for _, c := range l.Crumbs {508 for _, c := range l.Crumbs {
467- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 39, "<li>")509+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 44, "<li>")
468 if templ_7745c5c3_Err != nil {510 if templ_7745c5c3_Err != nil {
469 return templ_7745c5c3_Err511 return templ_7745c5c3_Err
470 }512 }
471 if c.Href != "" {513 if c.Href != "" {
472- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 40, "<a href=\"")514+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 45, "<a href=\"")
473 if templ_7745c5c3_Err != nil {515 if templ_7745c5c3_Err != nil {
474 return templ_7745c5c3_Err516 return templ_7745c5c3_Err
475 }517 }
476- var templ_7745c5c3_Var26 templ.SafeURL518+ var templ_7745c5c3_Var28 templ.SafeURL
477- templ_7745c5c3_Var26, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(c.Href))519+ templ_7745c5c3_Var28, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(c.Href))
478 if templ_7745c5c3_Err != nil {520 if templ_7745c5c3_Err != nil {
479- return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 90, Col: 38}521+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 103, Col: 38}
480 }522 }
481- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var26))523+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var28))
482 if templ_7745c5c3_Err != nil {524 if templ_7745c5c3_Err != nil {
483 return templ_7745c5c3_Err525 return templ_7745c5c3_Err
484 }526 }
485- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 41, "\"")527+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 46, "\"")
486 if templ_7745c5c3_Err != nil {528 if templ_7745c5c3_Err != nil {
487 return templ_7745c5c3_Err529 return templ_7745c5c3_Err
488 }530 }
489 if c.Current {531 if c.Current {
490- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 42, " aria-current=\"page\"")532+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 47, " aria-current=\"page\"")
491 if templ_7745c5c3_Err != nil {533 if templ_7745c5c3_Err != nil {
492 return templ_7745c5c3_Err534 return templ_7745c5c3_Err
493 }535 }
494 }536 }
495- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 43, ">")537+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 48, ">")
496 if templ_7745c5c3_Err != nil {538 if templ_7745c5c3_Err != nil {
497 return templ_7745c5c3_Err539 return templ_7745c5c3_Err
498 }540 }
499- var templ_7745c5c3_Var27 string541+ var templ_7745c5c3_Var29 string
500- templ_7745c5c3_Var27, templ_7745c5c3_Err = templ.JoinStringErrs(c.Label)542+ templ_7745c5c3_Var29, templ_7745c5c3_Err = templ.JoinStringErrs(c.Label)
501 if templ_7745c5c3_Err != nil {543 if templ_7745c5c3_Err != nil {
502- return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 94, Col: 19}544+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 107, Col: 19}
503 }545 }
504- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var27))546+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var29))
505 if templ_7745c5c3_Err != nil {547 if templ_7745c5c3_Err != nil {
506 return templ_7745c5c3_Err548 return templ_7745c5c3_Err
507 }549 }
508- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 44, "</a>")550+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 49, "</a>")
509 if templ_7745c5c3_Err != nil {551 if templ_7745c5c3_Err != nil {
510 return templ_7745c5c3_Err552 return templ_7745c5c3_Err
511 }553 }
512 } else {554 } else {
513- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 45, "<span")555+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 50, "<span")
514 if templ_7745c5c3_Err != nil {556 if templ_7745c5c3_Err != nil {
515 return templ_7745c5c3_Err557 return templ_7745c5c3_Err
516 }558 }
517 if c.Current {559 if c.Current {
518- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 46, " aria-current=\"page\"")560+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 51, " aria-current=\"page\"")
519 if templ_7745c5c3_Err != nil {561 if templ_7745c5c3_Err != nil {
520 return templ_7745c5c3_Err562 return templ_7745c5c3_Err
521 }563 }
522 }564 }
523- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 47, ">")565+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 52, ">")
524 if templ_7745c5c3_Err != nil {566 if templ_7745c5c3_Err != nil {
525 return templ_7745c5c3_Err567 return templ_7745c5c3_Err
526 }568 }
527- var templ_7745c5c3_Var28 string569+ var templ_7745c5c3_Var30 string
528- templ_7745c5c3_Var28, templ_7745c5c3_Err = templ.JoinStringErrs(c.Label)570+ templ_7745c5c3_Var30, templ_7745c5c3_Err = templ.JoinStringErrs(c.Label)
529 if templ_7745c5c3_Err != nil {571 if templ_7745c5c3_Err != nil {
530- return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 100, Col: 19}572+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 113, Col: 19}
531 }573 }
532- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var28))574+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var30))
533 if templ_7745c5c3_Err != nil {575 if templ_7745c5c3_Err != nil {
534 return templ_7745c5c3_Err576 return templ_7745c5c3_Err
535 }577 }
536- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 48, "</span>")578+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 53, "</span>")
537 if templ_7745c5c3_Err != nil {579 if templ_7745c5c3_Err != nil {
538 return templ_7745c5c3_Err580 return templ_7745c5c3_Err
539 }581 }
540 }582 }
541- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 49, "</li>")583+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 54, "</li>")
542 if templ_7745c5c3_Err != nil {584 if templ_7745c5c3_Err != nil {
543 return templ_7745c5c3_Err585 return templ_7745c5c3_Err
544 }586 }
545 }587 }
546- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 50, "</ol></nav>")588+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 55, "</ol></nav>")
547 if templ_7745c5c3_Err != nil {589 if templ_7745c5c3_Err != nil {
548 return templ_7745c5c3_Err590 return templ_7745c5c3_Err
549 }591 }
550 }592 }
551- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 51, "<div class=\"hdr-acts\">")593+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 56, "<div class=\"hdr-acts\">")
552 if templ_7745c5c3_Err != nil {594 if templ_7745c5c3_Err != nil {
553 return templ_7745c5c3_Err595 return templ_7745c5c3_Err
554 }596 }
555 if l.Ref != "" {597 if l.Ref != "" {
556- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 52, "<a class=\"btn ref\" href=\"")598+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 57, "<a class=\"btn ref\" href=\"")
557 if templ_7745c5c3_Err != nil {599 if templ_7745c5c3_Err != nil {
558 return templ_7745c5c3_Err600 return templ_7745c5c3_Err
559 }601 }
560- var templ_7745c5c3_Var29 templ.SafeURL602+ var templ_7745c5c3_Var31 templ.SafeURL
561- templ_7745c5c3_Var29, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(repoHref(l.Repo, "refs")))603+ templ_7745c5c3_Var31, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(repoHref(l.Repo, "refs")))
562 if templ_7745c5c3_Err != nil {604 if templ_7745c5c3_Err != nil {
563- return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 111, Col: 52}605+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 124, Col: 52}
564 }606 }
565- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var29))607+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var31))
566 if templ_7745c5c3_Err != nil {608 if templ_7745c5c3_Err != nil {
567 return templ_7745c5c3_Err609 return templ_7745c5c3_Err
568 }610 }
569- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 53, "\" data-fire=\"refs\" aria-keyshortcuts=\"b\" title=\"switch branch or tag (b)\"><span class=\"ico i-branch\" aria-hidden=\"true\"></span> <span class=\"ref-name\">")611+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 58, "\" data-fire=\"refs\" aria-keyshortcuts=\"b\" title=\"switch branch or tag (b)\"><span class=\"ico i-branch\" aria-hidden=\"true\"></span> <span class=\"ref-name\">")
570 if templ_7745c5c3_Err != nil {612 if templ_7745c5c3_Err != nil {
571 return templ_7745c5c3_Err613 return templ_7745c5c3_Err
572 }614 }
573- var templ_7745c5c3_Var30 string615+ var templ_7745c5c3_Var32 string
574- templ_7745c5c3_Var30, templ_7745c5c3_Err = templ.JoinStringErrs(l.Ref)616+ templ_7745c5c3_Var32, templ_7745c5c3_Err = templ.JoinStringErrs(l.Ref)
575 if templ_7745c5c3_Err != nil {617 if templ_7745c5c3_Err != nil {
576- return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 117, Col: 36}618+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 130, Col: 36}
577 }619 }
578- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var30))620+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var32))
579 if templ_7745c5c3_Err != nil {621 if templ_7745c5c3_Err != nil {
580 return templ_7745c5c3_Err622 return templ_7745c5c3_Err
581 }623 }
582- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 54, "</span> <span class=\"sha\">")624+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 59, "</span> <span class=\"sha\">")
583 if templ_7745c5c3_Err != nil {625 if templ_7745c5c3_Err != nil {
584 return templ_7745c5c3_Err626 return templ_7745c5c3_Err
585 }627 }
586- var templ_7745c5c3_Var31 string628+ var templ_7745c5c3_Var33 string
587- templ_7745c5c3_Var31, templ_7745c5c3_Err = templ.JoinStringErrs(l.Short)629+ templ_7745c5c3_Var33, templ_7745c5c3_Err = templ.JoinStringErrs(l.Short)
588 if templ_7745c5c3_Err != nil {630 if templ_7745c5c3_Err != nil {
589- return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 118, Col: 33}631+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 131, Col: 33}
590 }632 }
591- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var31))633+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var33))
592 if templ_7745c5c3_Err != nil {634 if templ_7745c5c3_Err != nil {
593 return templ_7745c5c3_Err635 return templ_7745c5c3_Err
594 }636 }
595- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 55, "</span></a> ")637+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 60, "</span></a> ")
596 if templ_7745c5c3_Err != nil {638 if templ_7745c5c3_Err != nil {
597 return templ_7745c5c3_Err639 return templ_7745c5c3_Err
598 }640 }
599 }641 }
600- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 56, "<button type=\"button\" class=\"btn search\" data-js aria-haspopup=\"dialog\" aria-controls=\"panel-cmd\" aria-keyshortcuts=\"Control+K :\" title=\"go to a section, ref, file or repo (ctrl k or :)\" data-fire=\"cmd\"><span class=\"ico i-search\" aria-hidden=\"true\"></span> <span class=\"search-label\">Go to…</span> <kbd aria-hidden=\"true\">ctrl k</kbd></button> ")642+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 61, "<button type=\"button\" class=\"btn search\" data-js aria-haspopup=\"dialog\" aria-controls=\"panel-cmd\" aria-keyshortcuts=\"Control+K :\" title=\"go to a section, ref, file or repo (ctrl k or :)\" data-fire=\"cmd\"><span class=\"ico i-search\" aria-hidden=\"true\"></span> <span class=\"search-label\">Go to…</span> <kbd aria-hidden=\"true\">ctrl k</kbd></button> ")
601 if templ_7745c5c3_Err != nil {643 if templ_7745c5c3_Err != nil {
602 return templ_7745c5c3_Err644 return templ_7745c5c3_Err
603 }645 }
604 if SignedIn(ctx) {646 if SignedIn(ctx) {
605- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 57, "<form class=\"owner\" method=\"post\" action=\"/-/logout\"><span class=\"owner-badge\" title=\"signed in as the owner\"><span class=\"ico i-user\" aria-hidden=\"true\"></span>")647+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 62, "<form class=\"owner\" method=\"post\" action=\"/-/logout\"><span class=\"owner-badge\" title=\"signed in as the owner\"><span class=\"ico i-user\" aria-hidden=\"true\"></span>")
606 if templ_7745c5c3_Err != nil {648 if templ_7745c5c3_Err != nil {
607 return templ_7745c5c3_Err649 return templ_7745c5c3_Err
608 }650 }
609- var templ_7745c5c3_Var32 string651+ var templ_7745c5c3_Var34 string
610- templ_7745c5c3_Var32, templ_7745c5c3_Err = templ.JoinStringErrs(l.Owner)652+ templ_7745c5c3_Var34, templ_7745c5c3_Err = templ.JoinStringErrs(l.Owner)
611 if templ_7745c5c3_Err != nil {653 if templ_7745c5c3_Err != nil {
612- return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 137, Col: 123}654+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 150, Col: 123}
613 }655 }
614- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var32))656+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var34))
615 if templ_7745c5c3_Err != nil {657 if templ_7745c5c3_Err != nil {
616 return templ_7745c5c3_Err658 return templ_7745c5c3_Err
617 }659 }
618- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 58, "</span> ")660+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 63, "</span> ")
619 if templ_7745c5c3_Err != nil {661 if templ_7745c5c3_Err != nil {
620 return templ_7745c5c3_Err662 return templ_7745c5c3_Err
621 }663 }
622 if l.Passkeys {664 if l.Passkeys {
623- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 59, "<a class=\"btn icon\" href=\"/-/passkeys\" aria-label=\"Passkeys\" title=\"passkeys: add or remove the passkeys that sign you in\"><span class=\"ico i-key\" aria-hidden=\"true\"></span></a> ")665+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 64, "<a class=\"btn icon\" href=\"/-/passkeys\" aria-label=\"Passkeys\" title=\"passkeys: add or remove the passkeys that sign you in\"><span class=\"ico i-key\" aria-hidden=\"true\"></span></a> ")
624 if templ_7745c5c3_Err != nil {666 if templ_7745c5c3_Err != nil {
625 return templ_7745c5c3_Err667 return templ_7745c5c3_Err
626 }668 }
627 }669 }
628- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 60, "<button type=\"submit\" class=\"btn icon\" aria-label=\"Sign out\" title=\"sign out of this browser\"><span class=\"ico i-log-out\" aria-hidden=\"true\"></span></button></form>")670+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 65, "<button type=\"submit\" class=\"btn icon\" aria-label=\"Sign out\" title=\"sign out of this browser\"><span class=\"ico i-log-out\" aria-hidden=\"true\"></span></button></form>")
629 if templ_7745c5c3_Err != nil {671 if templ_7745c5c3_Err != nil {
630 return templ_7745c5c3_Err672 return templ_7745c5c3_Err
631 }673 }
632 } else if l.Passkeys {674 } else if l.Passkeys {
633- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 61, "<a class=\"btn icon\" href=\"/-/login\" aria-label=\"Sign in\" title=\"sign in with a passkey\"><span class=\"ico i-log-in\" aria-hidden=\"true\"></span></a>")675+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 66, "<a class=\"btn icon\" href=\"/-/login\" aria-label=\"Sign in\" title=\"sign in with a passkey\"><span class=\"ico i-log-in\" aria-hidden=\"true\"></span></a>")
634 if templ_7745c5c3_Err != nil {676 if templ_7745c5c3_Err != nil {
635 return templ_7745c5c3_Err677 return templ_7745c5c3_Err
636 }678 }
637 }679 }
638- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 62, "</div></div>")680+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 67, "</div></div>")
639 if templ_7745c5c3_Err != nil {681 if templ_7745c5c3_Err != nil {
640 return templ_7745c5c3_Err682 return templ_7745c5c3_Err
641 }683 }
642 if len(l.Sections) > 0 {684 if len(l.Sections) > 0 {
643- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 63, "<nav class=\"tabs\" aria-label=\"Sections\"><ul>")685+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 68, "<nav class=\"tabs\" aria-label=\"Sections\"><ul>")
644 if templ_7745c5c3_Err != nil {686 if templ_7745c5c3_Err != nil {
645 return templ_7745c5c3_Err687 return templ_7745c5c3_Err
646 }688 }
647 for _, s := range l.Sections {689 for _, s := range l.Sections {
648- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 64, "<li><a href=\"")690+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 69, "<li><a href=\"")
649 if templ_7745c5c3_Err != nil {691 if templ_7745c5c3_Err != nil {
650 return templ_7745c5c3_Err692 return templ_7745c5c3_Err
651 }693 }
652- var templ_7745c5c3_Var33 templ.SafeURL694+ var templ_7745c5c3_Var35 templ.SafeURL
653- templ_7745c5c3_Var33, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(s.Href))695+ templ_7745c5c3_Var35, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(s.Href))
654 if templ_7745c5c3_Err != nil {696 if templ_7745c5c3_Err != nil {
655- return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 154, Col: 36}697+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 167, Col: 36}
656 }698 }
657- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var33))699+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var35))
658 if templ_7745c5c3_Err != nil {700 if templ_7745c5c3_Err != nil {
659 return templ_7745c5c3_Err701 return templ_7745c5c3_Err
660 }702 }
661- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 65, "\" data-key=\"")703+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 70, "\" data-key=\"")
662 if templ_7745c5c3_Err != nil {704 if templ_7745c5c3_Err != nil {
663 return templ_7745c5c3_Err705 return templ_7745c5c3_Err
664 }706 }
665- var templ_7745c5c3_Var34 string707+ var templ_7745c5c3_Var36 string
666- templ_7745c5c3_Var34, templ_7745c5c3_Err = templ.ResolveAttributeValue(s.Key)708+ templ_7745c5c3_Var36, templ_7745c5c3_Err = templ.ResolveAttributeValue(s.Key)
667 if templ_7745c5c3_Err != nil {709 if templ_7745c5c3_Err != nil {
668- return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 155, Col: 24}710+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 168, Col: 24}
669 }711 }
670- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var34)712+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var36)
671 if templ_7745c5c3_Err != nil {713 if templ_7745c5c3_Err != nil {
672 return templ_7745c5c3_Err714 return templ_7745c5c3_Err
673 }715 }
674- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 66, "\" aria-keyshortcuts=\"")716+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 71, "\" aria-keyshortcuts=\"")
675 if templ_7745c5c3_Err != nil {717 if templ_7745c5c3_Err != nil {
676 return templ_7745c5c3_Err718 return templ_7745c5c3_Err
677 }719 }
678- var templ_7745c5c3_Var35 string720+ var templ_7745c5c3_Var37 string
679- templ_7745c5c3_Var35, templ_7745c5c3_Err = templ.ResolveAttributeValue(s.Key)721+ templ_7745c5c3_Var37, templ_7745c5c3_Err = templ.ResolveAttributeValue(s.Key)
680 if templ_7745c5c3_Err != nil {722 if templ_7745c5c3_Err != nil {
681- return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 156, Col: 33}723+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 169, Col: 33}
682 }724 }
683- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var35)725+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var37)
684 if templ_7745c5c3_Err != nil {726 if templ_7745c5c3_Err != nil {
685 return templ_7745c5c3_Err727 return templ_7745c5c3_Err
686 }728 }
687- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 67, "\"")729+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 72, "\"")
688 if templ_7745c5c3_Err != nil {730 if templ_7745c5c3_Err != nil {
689 return templ_7745c5c3_Err731 return templ_7745c5c3_Err
690 }732 }
691 if s.Current {733 if s.Current {
692- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 68, " aria-current=\"page\"")734+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 73, " aria-current=\"page\"")
693 if templ_7745c5c3_Err != nil {735 if templ_7745c5c3_Err != nil {
694 return templ_7745c5c3_Err736 return templ_7745c5c3_Err
695 }737 }
696 }738 }
697- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 69, ">")739+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 74, ">")
698 if templ_7745c5c3_Err != nil {740 if templ_7745c5c3_Err != nil {
699 return templ_7745c5c3_Err741 return templ_7745c5c3_Err
700 }742 }
701- var templ_7745c5c3_Var36 string743+ var templ_7745c5c3_Var38 string
702- templ_7745c5c3_Var36, templ_7745c5c3_Err = templ.JoinStringErrs(s.Label)744+ templ_7745c5c3_Var38, templ_7745c5c3_Err = templ.JoinStringErrs(s.Label)
703 if templ_7745c5c3_Err != nil {745 if templ_7745c5c3_Err != nil {
704- return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 161, Col: 17}746+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 174, Col: 17}
705 }747 }
706- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var36))748+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var38))
707 if templ_7745c5c3_Err != nil {749 if templ_7745c5c3_Err != nil {
708 return templ_7745c5c3_Err750 return templ_7745c5c3_Err
709 }751 }
710- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 70, " ")752+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 75, " ")
711 if templ_7745c5c3_Err != nil {753 if templ_7745c5c3_Err != nil {
712 return templ_7745c5c3_Err754 return templ_7745c5c3_Err
713 }755 }
714 if s.Count != "" {756 if s.Count != "" {
715- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 71, "<span class=\"count\">")757+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 76, "<span class=\"count\">")
716 if templ_7745c5c3_Err != nil {758 if templ_7745c5c3_Err != nil {
717 return templ_7745c5c3_Err759 return templ_7745c5c3_Err
718 }760 }
719- var templ_7745c5c3_Var37 string761+ var templ_7745c5c3_Var39 string
720- templ_7745c5c3_Var37, templ_7745c5c3_Err = templ.JoinStringErrs(s.Count)762+ templ_7745c5c3_Var39, templ_7745c5c3_Err = templ.JoinStringErrs(s.Count)
721 if templ_7745c5c3_Err != nil {763 if templ_7745c5c3_Err != nil {
722- return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 163, Col: 38}764+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 176, Col: 38}
723 }765 }
724- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var37))766+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var39))
725 if templ_7745c5c3_Err != nil {767 if templ_7745c5c3_Err != nil {
726 return templ_7745c5c3_Err768 return templ_7745c5c3_Err
727 }769 }
728- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 72, "<span class=\"sr\">")770+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 77, "<span class=\"sr\">")
729 if templ_7745c5c3_Err != nil {771 if templ_7745c5c3_Err != nil {
730 return templ_7745c5c3_Err772 return templ_7745c5c3_Err
731 }773 }
732- var templ_7745c5c3_Var38 string774+ var templ_7745c5c3_Var40 string
733- templ_7745c5c3_Var38, templ_7745c5c3_Err = templ.JoinStringErrs(" open")775+ templ_7745c5c3_Var40, templ_7745c5c3_Err = templ.JoinStringErrs(" open")
734 if templ_7745c5c3_Err != nil {776 if templ_7745c5c3_Err != nil {
735- return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 163, Col: 66}777+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 176, Col: 66}
736 }778 }
737- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var38))779+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var40))
738 if templ_7745c5c3_Err != nil {780 if templ_7745c5c3_Err != nil {
739 return templ_7745c5c3_Err781 return templ_7745c5c3_Err
740 }782 }
741- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 73, "</span></span> ")783+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 78, "</span></span> ")
742 if templ_7745c5c3_Err != nil {784 if templ_7745c5c3_Err != nil {
743 return templ_7745c5c3_Err785 return templ_7745c5c3_Err
744 }786 }
745 }787 }
746- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 74, "<kbd aria-hidden=\"true\">")788+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 79, "<kbd aria-hidden=\"true\">")
747 if templ_7745c5c3_Err != nil {789 if templ_7745c5c3_Err != nil {
748 return templ_7745c5c3_Err790 return templ_7745c5c3_Err
749 }791 }
750- var templ_7745c5c3_Var39 string792+ var templ_7745c5c3_Var41 string
751- templ_7745c5c3_Var39, templ_7745c5c3_Err = templ.JoinStringErrs(s.Key)793+ templ_7745c5c3_Var41, templ_7745c5c3_Err = templ.JoinStringErrs(s.Key)
752 if templ_7745c5c3_Err != nil {794 if templ_7745c5c3_Err != nil {
753- return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 165, Col: 39}795+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 178, Col: 39}
754 }796 }
755- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var39))797+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var41))
756 if templ_7745c5c3_Err != nil {798 if templ_7745c5c3_Err != nil {
757 return templ_7745c5c3_Err799 return templ_7745c5c3_Err
758 }800 }
759- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 75, "</kbd></a></li>")801+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 80, "</kbd></a></li>")
760 if templ_7745c5c3_Err != nil {802 if templ_7745c5c3_Err != nil {
761 return templ_7745c5c3_Err803 return templ_7745c5c3_Err
762 }804 }
763 }805 }
764- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 76, "</ul></nav>")806+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 81, "</ul></nav>")
765 if templ_7745c5c3_Err != nil {807 if templ_7745c5c3_Err != nil {
766 return templ_7745c5c3_Err808 return templ_7745c5c3_Err
767 }809 }
768 }810 }
769- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 77, "</header>")811+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 82, "</header>")
770 if templ_7745c5c3_Err != nil {812 if templ_7745c5c3_Err != nil {
771 return templ_7745c5c3_Err813 return templ_7745c5c3_Err
772 }814 }
@@ -792,38 +834,38 @@ func Footer(l Layout) templ.Component {
792 }()834 }()
793 }835 }
794 ctx = templ.InitializeContext(ctx)836 ctx = templ.InitializeContext(ctx)
795- templ_7745c5c3_Var40 := templ.GetChildren(ctx)837+ templ_7745c5c3_Var42 := templ.GetChildren(ctx)
796- if templ_7745c5c3_Var40 == nil {838+ if templ_7745c5c3_Var42 == nil {
797- templ_7745c5c3_Var40 = templ.NopComponent839+ templ_7745c5c3_Var42 = templ.NopComponent
798 }840 }
799 ctx = templ.ClearChildren(ctx)841 ctx = templ.ClearChildren(ctx)
800- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 78, "<footer class=\"foot\"><span>ermite ")842+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 83, "<footer class=\"foot\"><span>ermite ")
801 if templ_7745c5c3_Err != nil {843 if templ_7745c5c3_Err != nil {
802 return templ_7745c5c3_Err844 return templ_7745c5c3_Err
803 }845 }
804- var templ_7745c5c3_Var41 string846+ var templ_7745c5c3_Var43 string
805- templ_7745c5c3_Var41, templ_7745c5c3_Err = templ.JoinStringErrs(l.Version)847+ templ_7745c5c3_Var43, templ_7745c5c3_Err = templ.JoinStringErrs(l.Version)
806 if templ_7745c5c3_Err != nil {848 if templ_7745c5c3_Err != nil {
807- return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 179, Col: 26}849+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 192, Col: 26}
808 }850 }
809- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var41))851+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var43))
810 if templ_7745c5c3_Err != nil {852 if templ_7745c5c3_Err != nil {
811 return templ_7745c5c3_Err853 return templ_7745c5c3_Err
812 }854 }
813- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 79, "</span> <a href=\"")855+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 84, "</span> <a href=\"")
814 if templ_7745c5c3_Err != nil {856 if templ_7745c5c3_Err != nil {
815 return templ_7745c5c3_Err857 return templ_7745c5c3_Err
816 }858 }
817- var templ_7745c5c3_Var42 templ.SafeURL859+ var templ_7745c5c3_Var44 templ.SafeURL
818- templ_7745c5c3_Var42, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(l.SourceURL))860+ templ_7745c5c3_Var44, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(l.SourceURL))
819 if templ_7745c5c3_Err != nil {861 if templ_7745c5c3_Err != nil {
820- return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 180, Col: 38}862+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/shell.templ`, Line: 193, Col: 38}
821 }863 }
822- _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var42))864+ _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var44))
823 if templ_7745c5c3_Err != nil {865 if templ_7745c5c3_Err != nil {
824 return templ_7745c5c3_Err866 return templ_7745c5c3_Err
825 }867 }
826- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 80, "\" rel=\"noopener\" title=\"source of this version (AGPL-3.0-or-later)\">source</a> <button type=\"button\" class=\"foot-keys\" data-js data-fire=\"help\" aria-haspopup=\"dialog\" aria-controls=\"panel-help\" aria-keyshortcuts=\"?\"><kbd aria-hidden=\"true\">?</kbd> keyboard shortcuts</button></footer>")868+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 85, "\" rel=\"noopener\" title=\"source of this version (AGPL-3.0-or-later)\">source</a> <button type=\"button\" class=\"foot-keys\" data-js data-fire=\"help\" aria-haspopup=\"dialog\" aria-controls=\"panel-help\" aria-keyshortcuts=\"?\"><kbd aria-hidden=\"true\">?</kbd> keyboard shortcuts</button></footer>")
827 if templ_7745c5c3_Err != nil {869 if templ_7745c5c3_Err != nil {
828 return templ_7745c5c3_Err870 return templ_7745c5c3_Err
829 }871 }
@@ -851,12 +893,12 @@ func Hint(l Layout) templ.Component {
851 }()893 }()
852 }894 }
853 ctx = templ.InitializeContext(ctx)895 ctx = templ.InitializeContext(ctx)
854- templ_7745c5c3_Var43 := templ.GetChildren(ctx)896+ templ_7745c5c3_Var45 := templ.GetChildren(ctx)
855- if templ_7745c5c3_Var43 == nil {897+ if templ_7745c5c3_Var45 == nil {
856- templ_7745c5c3_Var43 = templ.NopComponent898+ templ_7745c5c3_Var45 = templ.NopComponent
857 }899 }
858 ctx = templ.ClearChildren(ctx)900 ctx = templ.ClearChildren(ctx)
859- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 81, "<div class=\"hint\" role=\"status\" aria-live=\"polite\"><span class=\"hint-nav\" :text=\"document.body.dataset.nav || ''\"></span> <span class=\"hint-sel\" :text=\"document.body.dataset.sel ? document.body.dataset.sel + ' · y permalink' : ''\"></span> <span class=\"hint-flash\" :text=\"document.body.dataset.flash || ''\"></span>")901+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 86, "<div class=\"hint\" role=\"status\" aria-live=\"polite\"><span class=\"hint-nav\" :text=\"document.body.dataset.nav || ''\"></span> <span class=\"hint-sel\" :text=\"document.body.dataset.sel ? document.body.dataset.sel + ' · y permalink' : ''\"></span> <span class=\"hint-flash\" :text=\"document.body.dataset.flash || ''\"></span>")
860 if templ_7745c5c3_Err != nil {902 if templ_7745c5c3_Err != nil {
861 return templ_7745c5c3_Err903 return templ_7745c5c3_Err
862 }904 }
@@ -864,7 +906,7 @@ func Hint(l Layout) templ.Component {
864 if templ_7745c5c3_Err != nil {906 if templ_7745c5c3_Err != nil {
865 return templ_7745c5c3_Err907 return templ_7745c5c3_Err
866 }908 }
867- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 82, "</div>")909+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 87, "</div>")
868 if templ_7745c5c3_Err != nil {910 if templ_7745c5c3_Err != nil {
869 return templ_7745c5c3_Err911 return templ_7745c5c3_Err
870 }912 }
M internal/adapters/web/static/css/20-shell.css +6 -0
@@ -29,6 +29,7 @@
2929 .i-cards { --i: url(icons/cards.svg); }
3030 .i-split { --i: url(icons/split.svg); }
3131 .i-compact { --i: url(icons/compact.svg); }
32+ .i-mailbox { --i: url(icons/mailbox.svg); }
3233
3334 .pill {
3435 display: inline-flex; align-items: center; height: 20px; padding: 0 var(--s2); margin-left: var(--s1);
@@ -77,6 +78,11 @@
7778 }
7879 /* the hermit by his fire: a grey picture in its own rounded square */
7980 .brand-mark { width: 32px; height: 32px; flex: none; background: url(icons/brand.svg) center / contain no-repeat; }
81+ /* the inbox, right of the logo on the home page: its number in a darker badge */
82+ .inbox-btn {
83+ flex: none;
84+ & .count { margin-left: 0; color: var(--ink-hi); background: var(--bg-canvas); box-shadow: inset 0 0 0 1px var(--border); }
85+ }
8086 .crumbs {
8187 min-width: 0; flex: 1 1 auto; overflow: hidden;
8288 & ol { display: flex; align-items: center; min-width: 0; font-family: var(--mono); font-size: var(--fs); }
@@ -29,6 +29,7 @@
29 .i-cards { --i: url(icons/cards.svg); }29 .i-cards { --i: url(icons/cards.svg); }
30 .i-split { --i: url(icons/split.svg); }30 .i-split { --i: url(icons/split.svg); }
31 .i-compact { --i: url(icons/compact.svg); }31 .i-compact { --i: url(icons/compact.svg); }
32+ .i-mailbox { --i: url(icons/mailbox.svg); }
32 33
33 .pill {34 .pill {
34 display: inline-flex; align-items: center; height: 20px; padding: 0 var(--s2); margin-left: var(--s1);35 display: inline-flex; align-items: center; height: 20px; padding: 0 var(--s2); margin-left: var(--s1);
@@ -77,6 +78,11 @@
77 }78 }
78 /* the hermit by his fire: a grey picture in its own rounded square */79 /* the hermit by his fire: a grey picture in its own rounded square */
79 .brand-mark { width: 32px; height: 32px; flex: none; background: url(icons/brand.svg) center / contain no-repeat; }80 .brand-mark { width: 32px; height: 32px; flex: none; background: url(icons/brand.svg) center / contain no-repeat; }
81+ /* the inbox, right of the logo on the home page: its number in a darker badge */
82+ .inbox-btn {
83+ flex: none;
84+ & .count { margin-left: 0; color: var(--ink-hi); background: var(--bg-canvas); box-shadow: inset 0 0 0 1px var(--border); }
85+ }
80 .crumbs {86 .crumbs {
81 min-width: 0; flex: 1 1 auto; overflow: hidden;87 min-width: 0; flex: 1 1 auto; overflow: hidden;
82 & ol { display: flex; align-items: center; min-width: 0; font-family: var(--mono); font-size: var(--fs); }88 & ol { display: flex; align-items: center; min-width: 0; font-family: var(--mono); font-size: var(--fs); }
M internal/adapters/web/static/css/60-mr.css +0 -1
@@ -222,7 +222,6 @@
222222 & .inbox-counts strong { color: var(--ink-hi); font-family: var(--mono); }
223223 & .since { align-self: flex-start; max-width: 100%; }
224224 }
225- .inbox-btn { gap: var(--s2); }
226225
227226 @media (max-width: 700px) {
228227 .list.mrs .c-who { display: none; }
@@ -222,7 +222,6 @@
222 & .inbox-counts strong { color: var(--ink-hi); font-family: var(--mono); }222 & .inbox-counts strong { color: var(--ink-hi); font-family: var(--mono); }
223 & .since { align-self: flex-start; max-width: 100%; }223 & .since { align-self: flex-start; max-width: 100%; }
224 }224 }
225- .inbox-btn { gap: var(--s2); }
226 225
227 @media (max-width: 700px) {226 @media (max-width: 700px) {
228 .list.mrs .c-who { display: none; }227 .list.mrs .c-who { display: none; }
A internal/adapters/web/static/icons/mailbox.svg +1 -0
@@ -0,0 +1,1 @@
1+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 17a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9.5C2 7 4 5 6.5 5H18c2.2 0 4 1.8 4 4v8Z"/><polyline points="15,9 18,9 18,11"/><path d="M6.5 5C9 5 11 7 11 9.5V17a2 2 0 0 1-2 2"/><line x1="6" x2="7" y1="10" y2="10"/></svg>
@@ -0,0 +1,1 @@
1+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 17a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9.5C2 7 4 5 6.5 5H18c2.2 0 4 1.8 4 4v8Z"/><polyline points="15,9 18,9 18,11"/><path d="M6.5 5C9 5 11 7 11 9.5V17a2 2 0 0 1-2 2"/><line x1="6" x2="7" y1="10" y2="10"/></svg>
M internal/adapters/web/view.go +3 -3
@@ -71,6 +71,9 @@ type Layout struct {
7171 MR bool
7272 // IssueForm loads the script of the public issue form (issue-form.js).
7373 IssueForm bool
74+ // Inbox is the button to the owner's inbox, next to the logo; set on the
75+ // home page only, for the signed-in owner.
76+ Inbox *InboxButton
7477 }
7578
7679 // Link is a plain label + href pair.
@@ -137,9 +140,6 @@ type SortLink struct {
137140 type HomePage struct {
138141 Sorts []SortLink
139142 Rows []HomeRow
140- // Inbox is the button to the owner's inbox; nil unless the owner is signed
141- // in.
142- Inbox *InboxButton
143143 }
144144
145145 // InboxButton is the link to the inbox with the number of open items; Count is
@@ -71,6 +71,9 @@ type Layout struct {
71 MR bool71 MR bool
72 // IssueForm loads the script of the public issue form (issue-form.js).72 // IssueForm loads the script of the public issue form (issue-form.js).
73 IssueForm bool73 IssueForm bool
74+ // Inbox is the button to the owner's inbox, next to the logo; set on the
75+ // home page only, for the signed-in owner.
76+ Inbox *InboxButton
74 }77 }
75 78
76 // Link is a plain label + href pair.79 // Link is a plain label + href pair.
@@ -137,9 +140,6 @@ type SortLink struct {
137 type HomePage struct {140 type HomePage struct {
138 Sorts []SortLink141 Sorts []SortLink
139 Rows []HomeRow142 Rows []HomeRow
140- // Inbox is the button to the owner's inbox; nil unless the owner is signed
141- // in.
142- Inbox *InboxButton
143 }143 }
144 144
145 // InboxButton is the link to the inbox with the number of open items; Count is145 // InboxButton is the link to the inbox with the number of open items; Count is

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 2

Tags 45

↑↓ moveenter openesc close