Skip to content
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

Feature Flag Annotator #576

Merged
merged 28 commits into from
Sep 28, 2023
Merged

Feature Flag Annotator #576

merged 28 commits into from
Sep 28, 2023

Conversation

arpita184
Copy link
Contributor

@arpita184 arpita184 commented Sep 20, 2023

What is this PR for?

This PR enhances the user experience by implementing automated linking of feature flags. It enables users to quickly access feature flag links through inspections for corresponding enum entries.

Key Features:
Automated Scanning: Detects enums annotated with the fully-qualified name (com.example.FeatureFlag) in *Feature.kt files.
Direct Linking: Adds inspections to the identified enum entries for seamless navigation to the feature flag links.

Screenshot 2023-09-28 at 12 43 49 PM

How to enable this plugin?

  • Navigate to the plugin's settings screen.
  • Activate the 'feature flag linking' option.
  • Specify the fully qualified name for enum identification.
  • Input the base URL, which will be prefixed to the flag key for forming the complete link.
    Screenshot 2023-09-28 at 1 03 51 PM

@arpita184 arpita184 marked this pull request as ready for review September 21, 2023 21:21
@arpita184 arpita184 requested a review from ZacSweers September 21, 2023 21:21
Copy link
Collaborator

@ZacSweers ZacSweers left a comment

Choose a reason for hiding this comment

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

Almost there! Few more nits on the settings wording

Copy link
Collaborator

@ZacSweers ZacSweers left a comment

Choose a reason for hiding this comment

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

💥

@arpita184 arpita184 added this pull request to the merge queue Sep 28, 2023
Merged via the queue into main with commit 4786a0b Sep 28, 2023
2 checks passed
@arpita184 arpita184 deleted the ap_feature_flag_annotator branch September 28, 2023 17:20
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