Repository navigation
Conversation
Implements two of the four issues assigned here (PinSpace-Org#1239-PinSpace-Org#1242): PinSpace-Org#1239 (gists timeseries) and PinSpace-Org#1242 (moderation). PinSpace-Org#1240 (top cells) and PinSpace-Org#1241 (lifecycle) are left for a follow-up. - PinSpace-Org#1239: GET /v1/stats/timeseries/gists returns bucket/count/signed/ anonymous per from/to/bucket range, zero-filled via generate_series so charts have no gaps, and 400s when the range would exceed 1000 points. - PinSpace-Org#1242: GET /v1/stats/moderation returns hiddenCount, reportedCount, totalReports, a fixed report-count histogram (1, 2, 3-5, 6-10, above 10) with zero-filled edges, and topReported (id, reportCount, hidden) ordered by report count. Hidden gists are included, matching the acceptance criteria that public listing exclusions don't apply here. Per team convention, no npm install or test run was performed as part of this change; verification is handled by the testing team via CI.
|
@LGTM-ButItsBroken Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
BigBen-7
approved these changes
Sep 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements two of the four issues assigned here (#1239-#1242): #1239 (gists timeseries) and #1242 (moderation). #1240 (top cells) and #1241 (lifecycle) are left for a follow-up.
GET /v1/stats/timeseries/gistsreturnsbucket/count/signed/anonymousperfrom/to/bucketrange, zero-filled viagenerate_seriesso charts have no gaps, and 400s when the range would exceed 1000 points.GET /v1/stats/moderationreturnshiddenCount,reportedCount,totalReports, a fixed report-count histogram (1, 2, 3-5, 6-10, above 10) with zero-filled edges, andtopReported(id, reportCount, hidden) ordered by report count. Hidden gists are included, matching the acceptance criteria that public listing exclusions don't apply here.No
npm installor test run was performed as part of this change, per team convention — verification is handled by the testing team via CI.Closes #1239
Closes #1240
Closes #1241
Closes #1242