High priority fixes: - T0: Profile page now filters comments by namespace (was leaking cross-site) - T1: URI hostnames and namespace names normalized to lowercase (was causing duplicate threads and "stock comments" bug). Includes merge script. - T2: Thread detail API now paginated with SQL-side filtering (was 502 on 267+ reply threads) Features: - T3: GDPR account deletion (tombstone user with scrubbed PII) and data export - T4: Customizable button text and comment labels per namespace - T5: Self-service namespace deletion for owners - T6: @mention notifications with profile links - T7: Webmention receiving endpoint with h-card extraction - T8: Configurable max nesting depth and collapse depth per namespace - T9: AJAX thread title search to prevent duplicates - T10: Browser push notification support (VAPID/service worker) Docs and housekeeping: - T11: Documented thread_uri behavior when moving embeds - T12/T13: Drafted community replies for resolved feature requests - Collapse depth defaults to infinite (load-more disabled unless configured) 364 tests pass, 4 skipped.
1.4 KiB
1.4 KiB
T4: Customizable button text
Status: resolved
Priority: low
Source: meta c29c9c22-b1ce-11e7-8fca-040140774501, FAQ 5a508a9c-8759-11ec-afa2-21646204cc72
Filed: 2026-02-01
Problem
Users want to customize the "save message" submit button and the "remark"/"remarks" terminology. Both are hardcoded in templates with no namespace-level configuration.
Current hardcoded values:
remarkbox/templates/snippets/forms.j2:26,70—{% set submit_button_value = 'save message' %}remarkbox/templates/show-count.j2:4,6,8— "No remarks", "1 remark", "X remarks"
Proposed Implementation
- Add namespace columns:
submit_button_text(default "save message"),comment_label_singular(default "remark"),comment_label_plural(default "remarks") - Add fields to namespace settings form
- Update templates to read from namespace instead of hardcoded strings
Files
remarkbox/models/namespace.py— add columns- Alembic migration — add columns with defaults
remarkbox/templates/namespace-settings.j2— add form fieldsremarkbox/templates/snippets/forms.j2— use namespace valuesremarkbox/templates/show-count.j2— use namespace values
Acceptance Criteria
- Namespace owners can set custom button text from settings
- Defaults remain "save message" and "remark"/"remarks"
- Changes are visible in the embed