BUG | Generate Map - Worksheet-dependent behavior broken

Resolved πŸ’¬ 3 comments Opened Dec 16, 2025 by drdzey Closed Feb 12, 2026

πŸ› Bug Description

Generate Map button doesn't correctly detect the current worksheet type to decide whether to show the list popup or go directly to the map.

Expected Behavior

| Current Worksheet | Generate Map Action |
|-------------------|---------------------|
| NOT on Rent/Land/Improved | Open map directly (no list popup) |
| ON Rent/Land/Improved | Show list popup first, then map |

Current Behavior

The worksheet detection is not working correctly - behavior is inconsistent.

Additional Context

From Thomas Lim:

"not correct. i do most of this work. been trying to get them to do, but they keep forgetting. in terms of flow, like to discuss before implementing"

Also noted:

  • Should auto-select Rent checkboxes if on Rent worksheet
  • Should auto-select Improved checkboxes if on Improved worksheet
  • Works from any DS (datasheet)

Files to Investigate

  • src/ViewModels/CopyPaste/CopyPasteGenerateMapViewModel.cs
  • src/ViewModels/Shared/GenerateMapViewModel.cs
  • Worksheet detection logic

---
~ Lili

View original on GitHub β†—

This issue has 3 comments on GitHub. Read the full discussion on GitHub β†—