Skip to content

customize terms of use text from the admin#591

Draft
e-lie wants to merge 3 commits into
nextfrom
feat-customize-terms-of-use
Draft

customize terms of use text from the admin#591
e-lie wants to merge 3 commits into
nextfrom
feat-customize-terms-of-use

Conversation

@e-lie

@e-lie e-lie commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add terms_content to AppSettings so admins can override the /terms page text
  • expose public settings (including terms_content) via a new GET /settings, mirroring the LLMDataPublic/GET /models/ pattern, and drop the now-redundant GET /admin/settings
  • add a textarea field to the admin customization page and render the custom text on /terms when set

Test plan

  • run db-migrate and confirm terms_content column is added
  • set a custom text in admin customization, confirm /terms shows it
  • clear the field, confirm /terms falls back to the default content

e-lie added 3 commits July 16, 2026 17:16
AppSettings gets a terms_content field to let admins override the /terms
page text. Expose it (and the rest of the public settings) via a new
unauthenticated GET /settings, following the same pattern as
LLMDataPublic/GET /models/, and drop the now-redundant GET /admin/settings.
Add a Textarea field to the customization admin page and render
terms_content on /terms (split into paragraphs) instead of the default
content when it is set. Admin pages now read settings from the new
public GET /settings.
@e-lie
e-lie force-pushed the feat-customize-terms-of-use branch from c0aec33 to 128bad5 Compare July 16, 2026 15:17
@e-lie
e-lie marked this pull request as draft July 16, 2026 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

1 participant