Skip to content

fix: resolve merge conflicts between dev and main#423

Merged
maxachis merged 11 commits intodevfrom
fix/422-merge-conflicts
Mar 10, 2026
Merged

fix: resolve merge conflicts between dev and main#423
maxachis merged 11 commits intodevfrom
fix/422-merge-conflicts

Conversation

@maxachis
Copy link
Copy Markdown
Contributor

@maxachis maxachis commented Mar 9, 2026

Summary

Resolves the 28 merge conflicts blocking PR #422 (dev → main) by merging main into dev on a separate branch.

Conflict resolutions:

  • CI workflows (e2e, prod_health_check, pull): kept dev's Node 24 + setup-node@v4
  • Annotate components (19 files): kept dev's latest refined versions (main had older copies of the same work)
  • DataSourceMapSidebar: took main's formatting fix for followStatusQueryEnabled indentation
  • _data-fetchers.js: kept dev's .data accessor (not main's .data?.data)
  • locationFormatters.js: kept dev's version — display_name early return, empty string fallback (intentionally removed 'United States' fallback)
  • constants.js: kept dev's 'Label' nav link text
  • package-lock.json: regenerated from dev's dependencies

Test plan

  • All 30 unit tests pass (including locationFormatters)
  • No remaining conflict markers
  • Prettier + ESLint pass
  • Verify search results display correctly (exercises _data-fetchers.js and locationFormatters.js changes)
  • Verify annotate page renders correctly

🤖 Generated with Claude Code

josh-chamberlain and others added 10 commits March 23, 2025 12:35
feat: dev to main, map and sidebar updates, e2e testing
* Begin draft of annotation logic

* Continue draft

* Update Draft

* Begin incorporating typescript

* Finish initial typescript setup

* Add logic for submission

* Rearrange and add comments for variables

* Rearrange and add comments for computed variables

* Rearrange and add comments for types

* Rearrange and add comments for helpers

* Rearrange and add comments for control logic

* Rearrange and add comments for handlers

* Rearrange and add comments for request logic

* Add `Name` suffix to model variables

* Add Confirm submit emit and variable reset functionality

* Add fontAwesome icons

* Add reset logic for Location, Agency, Record Type components

* Refine reset logic

* Correct attribute `name` -> `text`

* Add key to img attribute

* Add docstrings to modules

* Update merge and lock

* Refresh package lock

* Fix typo

Co-authored-by: Joshua D. Graber <68428039+joshuagraber@users.noreply.github.com>

* Remove `Type` suffixes to types

* Commit package-lock.json

* Add logic for handling null `next_annotation`

* Add console logs and handling for when no annotations found

* Add auth logic

* Adjust URL placement

* Add warning for anonymous users

* Adjust text size

* Begin draft of contributions section

* Incorporate PDAP Design System and refactor

* Add Hints & Notes and Record Type Reference

* Add URL Type descriptions and make formatting tweaks.

* fix: december release regressions (#388)

* fix: skip record-creating e2e tests in prod

* fix: december release regressions

* fix: stabilize e2e

* fix: lint script

* chore(deps): eslint missing a11y package

* Revert "chore(deps): eslint missing a11y package"

This reverts commit 1dec0e2.

* Revert "fix: lint script"

This reverts commit 220c9f1.

* chore: eslint packages

* fix: linting config

---------

Co-authored-by: Josh <30379833+josh-chamberlain@users.noreply.github.com>

* fix: lint and format fix

* chore: migrate to plural route names

keep redirects on the singulars for backward compat

* Bug fixes, refactor, and mobile optimizations

* Remove unused variable

* Fix inexplicable `Select` text in typeaheads

* Add mobile optimizations

* feat: templatize portal (#395)

* Add anonymous session persistence with cookies  (#398)

* Add bug fixes, cookies (#399)

* Remove unused variable

* Fix inexplicable `Select` text in typeaheads

* Add mobile optimizations

* Remove unnecessary style sections and inline single-use classes

* Add cookie for saving session

* Add migration logic and minor refinements

* Add logic for cookie reminder and content warning

* Change position of URL info to below screenshot

* Solve bug with submission spinner not showing

* chore(REVERT THIS): test dynamic transparency seal

* Revert "chore(REVERT THIS): test dynamic transparency seal"

This reverts commit 9453d98.

* feat: collapsible footer (#401)

* chore(deps): bump design-system (#403)

* hide annotate nav link

* fix: update favicon to production asset path (#402)

* fix: skip record-creating e2e tests in prod

* fix: update favicon paths to use production asset location

Replace broken node_modules paths with working /assets/favicon.png path.
The previous paths pointed to development dependencies that don't exist
in production builds, causing the favicon to not display.

- Remove: node_modules/pdap-design-system/*/favicon.png references
- Remove: node_modules/pdap-design-system/*/webclip.gif reference
- Add: /assets/favicon.png (verified to exist and work in production)

Fixes favicon display issue on pdap.io production site.

---------

Co-authored-by: Josh <30379833+josh-chamberlain@users.noreply.github.com>
Co-authored-by: Joshua D. Graber <code+gh@joshuadgraber.com>

* Revert "hide annotate nav link"

This reverts commit 8c26af0.

---------

Co-authored-by: Joshua D. Graber <68428039+joshuagraber@users.noreply.github.com>
Co-authored-by: Josh <30379833+josh-chamberlain@users.noreply.github.com>
Co-authored-by: Joshua D. Graber <code+gh@joshuadgraber.com>
Co-authored-by: labradorite-dev <250898349+labradorite-dev@users.noreply.github.com>
Resolve 28 conflicts from merging main into dev:
- CI workflows: keep dev's Node 24 and setup-node@v4
- Annotate components: keep dev's latest refined versions
- DataSourceMapSidebar: take main's formatting fix for followStatusQueryEnabled
- _data-fetchers: use main's .data?.data accessor for correct API response shape
- locationFormatters: use main's fallback logic (display_name in default case, 'United States' fallback)
- constants: use main's 'Annotate' nav link text
- package-lock.json: regenerated from dev

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@maxachis maxachis requested a review from joshuagraber as a code owner March 9, 2026 21:36
Corrects three conflict resolutions that incorrectly took main's versions:
- _data-fetchers: use .data (not .data?.data)
- constants: nav link text is 'Label' (not 'Annotate')
- locationFormatters: restore display_name early return, use empty
  string fallback (not 'United States')

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@maxachis maxachis merged commit f530823 into dev Mar 10, 2026
6 checks passed
maxachis added a commit that referenced this pull request Apr 13, 2026
Strategy matches PR #423: keep dev's versions for annotate components,
workflows (Node 24), data-fetchers, locationFormatters, constants.
Regenerate package-lock from dev's dependencies.
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.

3 participants