notification

package
v0.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package notification renders the in-app notification center and the live-updating rail bell badge. Everything here is scoped to the signed-in user, the centre used to be global, so one person opening it marked it read for everybody.

templ: version: v0.3.1001

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bell

func Bell(c echo.Context, unread int) templ.Component

Bell is the icon-rail button + unread badge; swapped in live via /notifications/badge (websocket-pushed, slow-poll fallback).

func NewHandler

func NewHandler(store repo.Store) *handler

NewHandler creates a new notification handler.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL