Follow up sanity fixes for editor maps, geocoding, and Discovery#511
Merged
leopiccionia merged 7 commits intoInfoAmazonia:codex/plugin-sanity-trackfrom Apr 9, 2026
Conversation
Pin map, layer, and storymap editors to the document sidebar so Gutenberg does not switch back to Block on selection. Load the map runtime styles in the block-editor iframe and sidebar contexts, and patch Mapbox GL missing-CSS detection for cross-document editor rendering to avoid false warnings. Normalize the storymap settings panel box sizing so the hidden and expanded panels keep the same visual width. Co-authored-by: Codex <codex@openai.com>
Keep the geocoding combobox synced with the form state so selected and reverse-geocoded addresses remain visible during create and edit flows. Use immutable checkpoints and functional state updates for point edits so drag, search, cancel, and save do not overwrite each other or leave the form buttons disabled. Co-authored-by: Codex <codex@openai.com>
Retry post geocoding queries with an accent-stripped fallback when the original search returns no results, so locations like Sao Paulo, Belem, and Amapa remain discoverable when typed with diacritics. Co-authored-by: Codex <codex@openai.com>
Use stable per-point feature IDs in Discovery so marker hover, cluster hover, and story card highlighting stay in sync even for stories with multiple points. Scroll the stories list to the hovered marker or cluster target, and mirror list hover back to the map so individual pins and visible clusters get the expected highlighted state. Include active story filters in shared Discovery URLs, restore them on load, switch social sharing to WhatsApp and X, and apply shared map layers immediately after restoring the selected layer queue. Fix tag-filter clearing so removing a selected tag restores the unfiltered story list. Co-authored-by: Codex <codex@openai.com>
Refresh the dependency upgrade report and smoke checklist after the editor, geocoding, and Discovery follow-up fixes landed. Reclassify react-leaflet 5, PHPCS 4, and wp-cli PHP 8.5 noise as external monitoring paths instead of pending product bugs, and close the stale override-governance note. Co-authored-by: Codex <codex@openai.com>
Co-authored-by: Codex <codex@openai.com>
Co-authored-by: Codex <codex@openai.com>
leopiccionia
approved these changes
Mar 27, 2026
ee44420
into
InfoAmazonia:codex/plugin-sanity-track
36 checks passed
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 follow-up branch closes the baseline issues that were left out of the main sanity track and packages the work into four areas:
1. Editor sidebar and map runtime follow-ups
2. Post geocoding reliability
São Paulo,Belém, andAmapáwork without forcing users to strip diacritics manually3. Discovery markers, hover sync, sharing, and filters
View in map, and card hover states in sync across multi-point stories and clustered results4. Documentation close-out
react-leaflet5, PHPCS 4, andwp-cliPHP 8.5 noise as external monitoring paths instead of pending product bugsNotes
codex/plugin-sanity-trackTesting
git diff --checkphp scripts/check-php-compat.phpPATH="/opt/homebrew/opt/node@24/bin:$PATH" npm run test:unitPATH="/opt/homebrew/opt/node@24/bin:$PATH" npm run build