8000 SUPPORT SUPERDAY TASK: LOLU by jesuloluwao · Pull Request #33680 · PostHog/posthog · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

SUPPORT SUPERDAY TASK: LOLU #33680

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

jesuloluwao
Copy link
@jesuloluwao jesuloluwao commented Jun 13, 2025

Problem

Users currently need to navigate to GitHub manually to report bugs or issues they encounter while using PostHog. This creates friction in the bug reporting process and may result in fewer bug reports being submitted, which impacts product quality and user experience.

The support menu is the natural place users look for help, but it currently lacks a clear path for bug reporting, potentially leading to bugs being reported through less optimal channels or not reported at all.

Changes

  • Added a new "Report a bug" section to the support menu
  • Included explanatory text that clearly communicates the purpose and value of bug reporting
  • Added a LemonButton that opens GitHub's bug report template directly in a new tab
  • Used the existing bug report template URL to ensure proper issue formatting
  • Applied consistent styling with existing support menu sections

Did you write or update any docs for this change?

How did you test this code?

  • Verified the support menu renders correctly with the new section
  • Tested that the "Report a bug on GitHub" button opens the correct URL (https://github.com/PostHog/posthog/issues/new?template=bug_report.md)
  • Confirmed the link opens in a new tab as expected (targetBlank prop)
  • Checked that the section styling is consistent with other sections in the support menu
  • Verified the button is accessible and follows existing design pattern

https://github.com/user-attachments/assets/4be22356-9a2a-46e2-ad1e-3e1313bc0199
github report

Copy link
Contributor
@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Summary

Added a new 'Report a bug' section to the support menu, providing a streamlined way for users to submit GitHub issues, though this may create inconsistency with the existing SupportModalButton implementation.

  • Potential conflict between new GitHub button and existing SupportModalButton component which already handles bug reporting for cloud users
  • Consider leveraging existing supportLogic and SupportForm infrastructure instead of direct GitHub links
  • Ensure consistent behavior between cloud and self-hosted instances by coordinating with the existing preflight-based conditionals
  • Could benefit from integrating with the established severity level selection system from SupportForm

1 file reviewed, 1 comment
Edit PR Review Bot Settings | Greptile

Comment on lines +356 to +372
{/* Report a bug */}
<Section title="Report a bug">
<p>
Found a bug or issue? Help us improve PostHog by reporting it on GitHub where our
engineering team can track and fix it.
</p>
<LemonButton
type="secondary"
fullWidth
center
to="https://github.com/PostHog/posthog/issues/new?template=bug_report.md"
targetBlank
className="mt-2"
>
Report a bug on GitHub
</LemonButton>
</Section>
Copy link
Contributor

Choose a reason for hid 8000 ing this comment

The reason will be displayed to describe this comment to others. Learn more.

style: Make sure to add a data-attr to the bug report button for analytics tracking, consistent with other buttons in the component.

Suggested change
{/* Report a bug */}
<Section title="Report a bug">
<p>
Found a bug or issue? Help us improve PostHog by reporting it on GitHub where our
engineering team can track and fix it.
</p>
<LemonButton
type="secondary"
fullWidth
center
to="https://github.com/PostHog/posthog/issues/new?template=bug_report.md"
targetBlank
className="mt-2"
>
Report a bug on GitHub
</LemonButton>
</Section>
{/* Report a bug */}
<Section title="Report a bug">
<p>
Found a bug or issue? Help us improve PostHog by reporting it on GitHub where our
engineering team can track and fix it.
</p>
<LemonButton
type="secondary"
fullWidth
center
to="https://github.com/PostHog/posthog/issues/new?template=bug_report.md"
targetBlank
className="mt-2"
data-attr="report-bug-github"
>
Report a bug on GitHub
</LemonButton>
</Section>

@jesuloluwao
Copy link
Author

@abigailbramble Please review

@darkopia darkopia closed this Jun 19, 2025
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.

2 participants
0