- MODERATION_LABEL_VERIFIED: the positive counterpart to 'hidden'. Both labels are fetched in ONE query; useAdminModeration now exposes verifiedCoords/ verifiedIds/isVerified() with a local mirror (addLocalConfirmed/ getLocalConfirmed). useAdminVerify() publishes it (shares the publish path with useAdminHide). - Review queue: a human review can now CONFIRM a spot, not just hide it. A confirmed spot clears from the queue and gets a 'Verified by SkateSpots' badge on the spot page (staff verdict, shown separately from the community badge). - Two more signals: mapper trust (useBatchTrustScores) and whether any skater has filed a status report (useBatchSpotStatus reporterCount) -> 'mapper not in your web of trust' / 'no community signals'. The latter only fires alongside another flag so a brand-new real spot isn't punished for being new. - Flag logic moved to src/lib/spotQuality.ts so the page and AdminReviewCard share it. Verified: the queue lists the airport entry with suspicious name + no photo + no community signals, shows mapper trust, and offers Confirm/Hide/Not a skate spot/Look at it. |
||
|---|---|---|
| .. | ||
| components | ||
| contexts | ||
| hooks | ||
| i18n | ||
| lib | ||
| pages | ||
| test | ||
| App.test.tsx | ||
| App.tsx | ||
| AppRouter.tsx | ||
| index.css | ||
| main.tsx | ||
| vite-env.d.ts | ||