aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/dumbyUtils.mjs
Commit message (Collapse)AuthorAge
* feat: remove leader line when GeoLink clickedHsieh Chin Fan2024-10-08
|
* feat: include map ids in marker titleHsieh Chin Fan2024-10-08
|
* fix: patch 9a0fdb9Hsieh Chin Fan2024-10-05
| | | | | * use attribute "xy" as title of marker * fix config for linkify
* style: reformat codeHsieh Chin Fan2024-10-04
|
* refactor: add GeoLinksHsieh Chin Fan2024-10-04
| | | | | * In current implementation, marks are generated in the first time link is hovered. This prevent complexity since rendering maps is async.
* docs: add jsdocHsieh Chin Fan2024-10-04
|
* style: reformat codeHsieh Chin Fan2024-10-02
|
* style: switch to standardjsHsieh Chin Fan2024-10-02
|
* style: reformat codeHsieh Chin Fan2024-10-01
|
* refactor: menu-item only call methods from dumbymap.utilsHsieh Chin Fan2024-10-01
|
* feat: improve actions in sub-menuHsieh Chin Fan2024-09-30
| | | | | | * scroll to focus map/block * refactor methods in dumbyUtils * refactor MutationObserver for map
* feat: add submenu for map/block/layout switchingHsieh Chin Fan2024-09-29
| | | | | | | | | | | * Add general classes into MenuItem * Use MutationObserver for data-mode * Automatically unfocus other maps when one is focused TODO: * hover effect on submenu item doesn't work, why? * shorcuts hint in selector ".folder.menu-item" not looks great
* style: prettierHsieh Chin Fan2024-09-29
|
* style: prettierHsieh Chin Fan2024-09-28
|
* refactor: mapclay v0.8.2Hsieh Chin Fan2024-09-28
| | | | | | | | | | * class name from 'map-container' -> 'mapclay' * Just append rendered element when semantic HTML is generated from markdown. Reuse logic is handed by mapclay * Move logic about geolinks into afterMapRendered for each rendering (afterEachMapLoaded -> afterMapRendered)
* feat: improve focus utilsHsieh Chin Fan2024-09-24
| | | | | | * use block height to determine behavior of scrollIntoView() * change color of indicator for focused block * make indicator always visible
* refactor: move utils about dumbymap into moduleHsieh Chin Fan2024-09-24