Files
sm-feedback-plugin/lang/en/lang.yaml
Jakub Zych b4b4135ad3 feat: golem15.feedback plugin with the widget config route
- plugin golem15.feedback (requires golem15.user), its config, lang (en, pl), models and migrations
- typed settings singleton golem15_feedback_settings with the WinterCMS defaults and a widget key generated on first creation
- GET /_feedback/api/v1/{key}/config behind the constant-time key check and the fail-closed Origin allow-list, with the feedback-config and feedback-submit buckets
2026-10-04 00:01:22 +02:00

56 lines
2.2 KiB
YAML

plugin:
name: Feedback
description: Embeddable feedback widget — screenshot + message, filed as a g15office task.
tab: Feedback
menu_label: Feedback
settings:
menu_label: Feedback Widget
settings_description: Configure the embeddable feedback widget and its g15office connection.
manage_settings: Manage Feedback Widget Settings
tab_general: General
tab_appearance: Appearance
tab_g15office: g15office
enabled: Widget enabled
widget_key: Widget key
widget_key_comment: Public identifier embedded in the snippet (data-key). Not a secret — access is gated by the allowed-origins list below.
allow_hide: Allow visitors to hide the widget
allow_hide_comment: Adds a "Hide widget" link inside the panel. Only enable this once the frontend has a way for the visitor to re-enable it (e.g. a Help page toggle) — otherwise a visitor who hides it has no way back.
position: Position
position_bottom_right: Bottom right
position_bottom_left: Bottom left
position_middle_right: Middle right (edge tab)
position_middle_left: Middle left (edge tab)
allowed_origins: Allowed origins
allowed_origins_comment: One domain per line, e.g. example.com. Submissions from any other Origin are rejected.
color_primary: Primary color
color_primary_comment: "A CSS color, e.g. #6366f1."
color_accent: Accent color
color_accent_comment: "A CSS color, e.g. #ffffff."
label_title_pl: Widget title (pl)
label_title_en: Widget title (en)
label_placeholder_pl: Message placeholder (pl)
label_placeholder_en: Message placeholder (en)
label_success_pl: Success message (pl)
label_success_en: Success message (en)
g15office_task_status: g15office task status
g15office_task_status_comment: Leave blank to use the project's default status.
g15office_task_priority: g15office task priority
priority_low: Low
priority_normal: Normal
priority_high: High
priority_urgent: Urgent
submissions:
menu_label: Submissions
list_title: Feedback submissions
id: ID
type: Type
status: Status
email: Reporter email
page_url: Page
message: Message
user_agent: User agent
console_log: Console log
g15office_task_id: g15office task
g15office_error: g15office error
created_at: Sent at