Fantasy-Map-Generator/modules/ui
Claude c06c17eac1
feat(obsidian): add choice between automatic search and manual browse
Problem: When clicking on a burg/marker, automatic search would run
immediately without giving the user an option to skip it and browse
manually. Users had to wait for the search to complete before getting
to the browse option.

Solution: Add initial dialog (showSearchMethodDialog) that appears
first, asking the user to choose:
- 🔍 Search: Run automatic search (FMG ID lookup + coordinate search)
- 📁 Browse: Skip search and go straight to manual browse/folder tree
- Cancel: Close without doing anything

Benefits:
- Users who want to browse manually can do so immediately
- Users who want automatic search can still use it
- No forced waiting for search when you know you want to browse
- Clear visual distinction between the two methods
- Folder tree is now just one click away

This gives users complete control from the very first interaction,
making manual browsing much more accessible.
2025-11-14 06:04:21 +00:00
..
3d.js Refactor layers rendering (#1120) 2024-09-20 12:20:27 +02:00
ai-generator.js feat(ai-generator): update supported AI models list 2025-06-14 15:24:23 +02:00
battle-screen.js Allow data URI scheme for custom images (#1196) 2025-03-08 14:51:48 +01:00
biomes-editor.js refactor: drawReliefIcons, v1.108.4 2025-02-15 18:03:54 +01:00
burg-editor.js fix(obsidian): pass string elementId instead of number to editObsidianNote 2025-11-14 04:11:45 +00:00
burgs-overview.js something 2025-11-13 22:03:36 -05:00
coastline-editor.js Refactor layers rendering (#1120) 2024-09-20 12:20:27 +02:00
diplomacy-editor.js Merge states (#962) 2023-07-23 14:25:41 +04:00
editors.js Allow data URI scheme for custom images (#1196) 2025-03-08 14:51:48 +01:00
elevation-profile.js Urquhart routes (#1072) 2024-08-15 15:46:55 +02:00
emblems-editor.js fix: (v1.91.00) 2023-08-08 15:25:28 +04:00
general.js fix: routes (v1.104.3) 2024-09-20 14:16:07 +02:00
heightmap-editor.js fix: disable double-click on heightmap edit 2024-09-22 20:07:55 +02:00
hotkeys.js Refactor layers rendering (#1120) 2024-09-20 12:20:27 +02:00
ice-editor.js fix(#906): ice to follow expected size, reduce ice elements in general 2023-02-25 16:01:22 +04:00
labels-editor.js Draw state labels improvement (#1155) 2024-10-19 13:25:34 +02:00
lakes-editor.js fix: features rendering - close the ring 2024-10-13 20:32:37 +02:00
layers.js refactor: drawReliefIcons, v1.108.4 2025-02-15 18:03:54 +01:00
markers-editor.js fix(obsidian): pass string elementId instead of number to editObsidianNote 2025-11-14 04:11:45 +00:00
markers-overview.js something 2025-11-13 22:03:36 -05:00
measurers.js Refactor layers rendering (#1120) 2024-09-20 12:20:27 +02:00
military-overview.js Allow data URI scheme for custom images (#1196) 2025-03-08 14:51:48 +01:00
namesbase-editor.js fix: allow to load smaller namesbase without issues on regeneration 2024-10-09 01:08:47 +02:00
notes-editor.js fix: notes editor size to be relative to canvas size 2025-02-10 12:41:14 +01:00
obsidian-config.js feat: add Obsidian vault integration for modern Markdown notes 2025-11-14 02:57:07 +00:00
obsidian-notes-editor.js feat(obsidian): add choice between automatic search and manual browse 2025-11-14 06:04:21 +00:00
options.js fix: submap - generate in current canvas size 2024-12-13 13:15:01 +01:00
provinces-editor.js perf: set text-rendering to optimizeSpeed, v1.108.1 2025-02-15 14:43:51 +01:00
regiment-editor.js Allow data URI scheme for custom images (#1196) 2025-03-08 14:51:48 +01:00
regiments-overview.js Allow data URI scheme for custom images (#1196) 2025-03-08 14:51:48 +01:00
relief-editor.js annotate template strings for syntax hightlight and format 2022-05-08 19:22:15 +03:00
rivers-creator.js [Draft] Submap refactoring (#1153) 2024-12-12 13:11:54 +01:00
rivers-editor.js [Draft] Submap refactoring (#1153) 2024-12-12 13:11:54 +01:00
rivers-overview.js Urquhart routes (#1072) 2024-08-15 15:46:55 +02:00
route-group-editor.js fix: #1129 2024-09-12 12:55:31 +02:00
routes-creator.js fix: routes id after removing all 2024-08-16 13:15:00 +02:00
routes-editor.js fix: routes (v1.104.3) 2024-09-20 14:16:07 +02:00
routes-overview.js fix: routes (v1.104.3) 2024-09-20 14:16:07 +02:00
style-presets.js feat: letter-spacing - update style files 2024-09-01 14:07:18 +02:00
style.js refactor: drawReliefIcons, v1.108.4 2025-02-15 18:03:54 +01:00
submap-tool.js fix: submap - generate in current canvas size 2024-12-13 13:15:01 +01:00
temperature-graph.js feat: like temp likeness, 1.106.6 2024-12-17 12:48:41 +01:00
tools.js Allow data URI scheme for custom images (#1196) 2025-03-08 14:51:48 +01:00
transform-tool.js fix: submap - generate in current canvas size 2024-12-13 13:15:01 +01:00
units-editor.js fix: 1227 2025-08-29 14:36:34 +02:00
world-configurator.js fix: typo 2024-09-25 12:13:16 +02:00
zones-editor.js feat: zones editor - don't close other editors on open 2024-10-22 23:04:57 +02:00