Trigger Points

Target reader: developers deciding where players can open the feedback panel.

Supported trigger sources come from the contracts enum: api, hotkey, button, menu, shake, error_prompt, and qa_menu. P0 should favor deliberate player actions such as a visible button, F8, an in-game menu item, or a QA menu.

Minimal example

func _on_pause_menu_feedback_pressed() -> void:
  EchoNebulaFeedback.open_feedback_panel({
    "trigger_source": "menu",
    "category": "bug"
  })

func report_from_code() -> void:
  EchoNebulaFeedback.open_feedback_panel({
    "trigger_source": "api",
    "category": "suggestion"
  })

The built-in hotkey opens the panel with trigger_source set to hotkey.

Common mistakes

Next step

Add useful scene and player Context.