Skip to content

feat: Enhance developer signals with upvotes and link#1788

Merged
jcscottiii merged 1 commit intomainfrom
jcscottiii/get-feature-signals-glue
Sep 9, 2025
Merged

feat: Enhance developer signals with upvotes and link#1788
jcscottiii merged 1 commit intomainfrom
jcscottiii/get-feature-signals-glue

Conversation

@jcscottiii
Copy link
Copy Markdown
Collaborator

@jcscottiii jcscottiii commented Sep 5, 2025

This commit refactors the developer signals feature to provide more detailed information. The previous positive_count is replaced with upvotes and a link to the source of the signal (e.g., a GitHub issue).

Key changes include:

  • Updated the OpenAPI spec to reflect the new DeveloperSignal structure and added sorting by upvotes.
  • Modified database queries and models to join and retrieve the new upvotes and link fields from the LatestFeatureDeveloperSignals table.
  • Implemented sorting logic for developer_signal_upvotes.
  • Added a pre-delete hook to migrate developer signals when a web feature's key changes, ensuring data integrity.
  • Modified fake data generation script to populate with fake developer signal data.
  • Add shoelace icon that will be used on the feature detail page and the overview page

Fixes #1675

@jcscottiii jcscottiii requested a review from jrobbins September 5, 2025 15:13
@jcscottiii jcscottiii force-pushed the jcscottiii/get-feature-signals-glue branch from 7f177db to a1c5aef Compare September 5, 2025 18:30
This commit refactors the developer signals feature to provide more detailed information. The previous `positive_count` is replaced with `upvotes` and a `link` to the source of the signal (e.g., a GitHub issue).

Key changes include:
- Updated the OpenAPI spec to reflect the new `DeveloperSignal` structure and added sorting by upvotes.
- Modified database queries and models to join and retrieve the new `upvotes` and `link` fields from the `LatestFeatureDeveloperSignals` table.
- Implemented sorting logic for `developer_signal_upvotes`.
- Added a pre-delete hook to migrate developer signals when a web feature's key changes, ensuring data integrity.

Fixes #1675
@jcscottiii jcscottiii force-pushed the jcscottiii/get-feature-signals-glue branch from a1c5aef to a44dfc5 Compare September 5, 2025 18:41
@jcscottiii jcscottiii added this pull request to the merge queue Sep 9, 2025
Merged via the queue into main with commit 5d883c3 Sep 9, 2025
7 checks passed
@jcscottiii jcscottiii deleted the jcscottiii/get-feature-signals-glue branch September 9, 2025 18:05
@jcscottiii jcscottiii mentioned this pull request Sep 10, 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.

[ENHANCEMENT] Add glue logic to retrieve developer signals for backend & support sorting

2 participants