Skip to content

feat(feedback): build native signed-in feedback widget in proxy panel - #683

Open
harshhsahu wants to merge 8 commits into
stagefrom
cursor/proxy-ui-build-a-native-signed-in-only-feedback-widget-in-proxy-pane-bb79
Open

harshhsahu wants to merge 8 commits into
stagefrom
cursor/proxy-ui-build-a-native-signed-in-only-feedback-widget-in-proxy-pane-bb79

Conversation

@harshhsahu

@harshhsahu harshhsahu commented Nov 16, 2026 •

Copy link
Copy Markdown
Collaborator

Summary of Changes

  • Steward Feedback URL as Code Constant: Defined STEWARD_FEEDBACK_URL = 'https://steward.embarko.app/api/v1/feedback' directly as a constant in apps/36-blocks/src/app/panel/feedback/feedback-api.service.ts, removing STEWARD_FEEDBACK_URL everywhere from environment files, .env.example, build scripts, and documentation.
  • Key Stays in Environment Only: Kept reading STEWARD_FEEDBACK_KEY in tools/set-env.js via getPublic('STEWARD_FEEDBACK_KEY') (supporting standard public prefixes) with placeholder 'STEWARD_FEEDBACK_KEY' in .env.example and documentation in docs/environment.md. The key is never hardcoded or stored in code.
  • Removed Test Files: Removed tools/tests/feedback.test.cjs to keep the pull request focused strictly on the production widget and panel code.
  • Conditional Visibility: The Feedback entry point (sidebar link in LayoutComponent and floating button for non-sidebar pages in AppComponent) is visible only to signed-in users and is hidden if STEWARD_FEEDBACK_KEY is missing or placeholder.
  • Rebase & Mergeability: Rebased cleanly onto the latest stage branch and resolved conflicts with upstream changes.
Open in Web Open in Cursor 

@harshhsahu

Copy link
Copy Markdown
Collaborator Author

Requested by Steward · Proxy · req_a645fd8f
Build native feedback widget in proxy-ui

Build the native feedback widget in proxy-ui

Why: This gives signed-in users a consistent way to send feedback from every Proxy panel page without adding third-party scripts. The request is concrete and potentially valuable, but no product vision was provided to establish higher priority.

Done when:

  • Signed-in users can open a native-styled Feedback form from the sidebar on every page, or from a small floating button where no sidebar exists; signed-out users do not see it.
  • The form uses on…

Added automatically by the AI middleware.

@Natwar589

Copy link
Copy Markdown

Please remove tools/tests/feedback.test.cjs from this pull request: no test files were asked for. Keep the pull request to the code the feedback widget needs. Document any new environment variable in the existing docs instead. Do not add test files, scripts or a new .env.example unless asked; change .env.example only if the repository already has one.

@Natwar589

Copy link
Copy Markdown

One more change: put the Steward feedback URL in the code as a constant, https://steward.embarko.app/api/v1/feedback, and remove the STEWARD_FEEDBACK_URL environment variable everywhere (env files, .env.example if the repository already had one, build and env scripts, docs). The key stays in the environment only: keep reading it from STEWARD_FEEDBACK_KEY, and never write the key itself into the code. Update the existing docs to say just that.

@cursor
cursor Bot force-pushed the cursor/proxy-ui-build-a-native-signed-in-only-feedback-widget-in-proxy-pane-bb79 branch from 17c88de to 50d06fc Compare November 18, 2026 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants