chore(web): cleanup dead code, migrate map to MapLibre, and expand unit test coverage - #190
Open
joaquimscosta wants to merge 11 commits into
Open
chore(web): cleanup dead code, migrate map to MapLibre, and expand unit test coverage#190joaquimscosta wants to merge 11 commits into
joaquimscosta wants to merge 11 commits into
Conversation
…oCard (specs 031 & 032)
Update project status to reflect completed specs 023 and 026, add roadmap priorities, and sync pnpm-lock.yaml.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
🚀 PR Validation Results📁 Components Changed:
🔍 Validation Results:✅ Backend CI: success 🎉 Status: READY FOR REVIEWAll validation checks have passed! This PR is ready for code review. Updated: 2026-07-31T14:34:53.661Z | PR: #190 |
…rrides and trivy ignore
- Replace Mapbox DEM protocol source with open AWS Terrarium elevation tiles - Add transformRequest in BaseMap to map CARTO glyph requests to OpenMapTiles fonts CDN - Add fonts.openmaptiles.org and s3.amazonaws.com to CSP connect-src in next.config.ts - Remove legacy Mapbox access token checks and references from env.ts and privacy page
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.
Summary
This PR includes 8 commits:
chore(web): remove unused components, dead code, and obsolete exportstest(gallery): add unit tests for PromotedVideoPlayer and CompactVideoCard (specs 031 & 032)test(admin): add unit tests for YouTube sync admin hooks (specs 029 & 030)feat(map): migrate from Mapbox GL JS to MapLibre GL JS (spec 023)fix(map): default to CARTO Voyager basemap style instead of dark matterfeat(gallery): polish map marker clustering and video badges (spec 026)docs(plan): update plan submodule pointer for specs 023 and 026docs(roadmap): update project status, roadmap, and lockfileTest Plan
pnpm build)pnpm test:unit)Changes
apps/web/next.config.tsapps/web/package.jsonapps/web/src/app/(main)/design-system/_data/components.tsapps/web/src/components/admin/mdx-engine/index.tsapps/web/src/components/admin/mdx-engine/mdx-commit-button.tsxapps/web/src/components/admin/mdx-engine/mdx-preview-modal.tsxapps/web/src/components/catalyst-ui/fieldset.tsxapps/web/src/components/catalyst-ui/popover.tsxapps/web/src/components/contact/contact-form.tsxapps/web/src/components/content/search.tsxapps/web/src/components/gallery/gallery-map-canvas.tsxapps/web/src/components/gallery/gallery-map-marker.tsxapps/web/src/components/landing/hero-section-atmospheric.tsxapps/web/src/components/landing/map-teaser-section.tsxapps/web/src/components/newsletter/homepage-newsletter-section.tsxapps/web/src/components/ui/page-transition.tsxapps/web/src/components/ui/video-hero-section.tsxapps/web/src/features/map/components/brava-map.tsxapps/web/src/features/map/components/map-canvas.tsxapps/web/src/features/map/shared/base-map.tsxapps/web/src/hooks/use-smooth-scroll.tsapps/web/src/hooks/useFilterUrlSync.tsapps/web/src/lib/content/mdx-components.tsxapps/web/src/lib/gallery-mappers.tsapps/web/src/lib/mocks/directory.tsapps/web/src/lib/mocks/index.tsapps/web/src/lib/mocks/user.tsapps/web/src/schemas/index.tsapps/web/src/schemas/mediaMetadataSchema.tsapps/web/src/schemas/storySchema.tsapps/web/tests/unit/components/gallery/compact-video-card.test.tsxapps/web/tests/unit/components/gallery/featured-video-hero.test.tsxapps/web/tests/unit/components/gallery/gallery-map-canvas.test.tsxapps/web/tests/unit/hooks/admin/useYouTubeSync.test.tsxapps/web/velite.config.tsarkhe/roadmap/next-actions.mddocs/PROJECT-ROADMAP.mddocs/PROJECT-STATUS.mdplanpnpm-lock.yaml