Skip to content

feat(code-references): prompt users to add required integrations#7844

Open
afsuyadi wants to merge 1 commit into
Flagsmith:mainfrom
afsuyadi:feat/prompt-required-integrations
Open

feat(code-references): prompt users to add required integrations#7844
afsuyadi wants to merge 1 commit into
Flagsmith:mainfrom
afsuyadi:feat/prompt-required-integrations

Conversation

@afsuyadi

Copy link
Copy Markdown
Contributor

Thanks for submitting a PR! Please check the boxes below:

  • [✔] I have read the Contributing Guide.
  • [ ] I have added information to docs/ if required so people know about the feature.
  • [✔] I have filled in the "Changes" section below.
  • [✔] I have filled in the "How did you test this code" section below.

Changes

Contributes to #7436

  1. Code References feature only show text "No code references found for this feature.", but doesn't inform the user what they should to next.
  2. Add existing hooks to detect if GItHub or GitLab has been integrated
  3. If the GitHub or GitLab has been integrated but no code references, it will just show "No code references found for this feature."
  4. If the GitHub or GitLab has not been integrated, then it will show text with hyperlink to prompt user for integration.

How did you test this code?

  1. Edit / Add a feature > go to usage tab
  2. If no integration has been added, the text will prompt user to do it
  3. if integration has been added but no code reference, the text will show "no code references"

After changes:
codereferences_integration_prompt - testing.webm

@afsuyadi afsuyadi requested a review from a team as a code owner June 22, 2026 06:48
@afsuyadi afsuyadi requested review from talissoncosta and removed request for a team June 22, 2026 06:48
@vercel

vercel Bot commented Jun 22, 2026

Copy link
Copy Markdown

@afsuyadi is attempting to deploy a commit to the Flagsmith Team on Vercel.

A member of the Team first needs to authorize it.

@manos-saratsis

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

front-end Issue related to the React Front End Dashboard

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants