Skip to content

Address issue 90#92

Merged
pbchase merged 8 commits intoctsit:developfrom
pbchase:address_issue_90
Feb 18, 2026
Merged

Address issue 90#92
pbchase merged 8 commits intoctsit:developfrom
pbchase:address_issue_90

Conversation

@pbchase
Copy link
Copy Markdown

@pbchase pbchase commented Feb 17, 2026

Address issues #90 and #91.

The fundamental change is the removal of all width and height parameters in config.json. The other changes are improvements found along the way to that solution

This change restores the eval removed in imagemap v1.13.2.
Replace small squares with larger circles.
Add replace_small_square_shapes_with_large_circles.R that rewrote the clickable regions.
These parameters can cause issues in Safari on iOS 26.3 if they don't match the PNG dimensions.
Rename fields for readability and consistency.
Change FR_REGION from checkbox to radio.
This files comments are no longer relevant.
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request addresses issues #90 and #91, which reported that the MBODY and FIBROMYALGIA_BODY image maps only allowed a few selections on mobile devices. The solution involves converting small square-shaped clickable areas to larger circles, which appear to provide better touch target sizes for mobile interactions.

Changes:

  • Converted rectangle-shaped clickable areas to circles in MBODY and FIBROMYALGIA_BODY maps
  • Updated imageMapster.js library to version 1.9.2
  • Added R script documenting the conversion process
  • Removed developer documentation about eval() removal
  • Added example instrument zip file

Reviewed changes

Copilot reviewed 5 out of 8 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
maps/replace_small_square_shapes_with_large_circles.R R script that converts rectangular map areas to circles with larger hit targets
maps/mbody.html Converted 36 rectangular areas to circles with radius 27
maps/fibromyalgia.html Converted 19 rectangular areas to circles with radius 38
js/imageMapster.js Updated to imageMapster library version 1.9.2 (minified)
docs/DEVELOPER_README.md Removed documentation about manual eval() removal process
docs/all_maps_Instrument_Example.zip Added example instrument files (binary)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread maps/replace_small_square_shapes_with_large_circles.R Outdated
Comment thread js/imageMapster.js Outdated
Comment thread maps/mbody.html
pbchase and others added 3 commits February 17, 2026 17:21
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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.

2 participants