aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/dumbymap.mjs
Commit message (Collapse)AuthorAge
* refactor: method of setting context menuHsieh Chin Fan2024-10-08
|
* feat: remove addGeoLink menu-itemHsieh Chin Fan2024-10-08
|
* feat: use CSS selector to get map on contextmenuHsieh Chin Fan2024-10-08
|
* fix: only remove map observer when html container is removedHsieh Chin Fan2024-10-08
|
* fix: apply observer on cached mapsHsieh Chin Fan2024-10-07
|
* fix: pixel of click event for mapHsieh Chin Fan2024-10-07
|
* feat: use dumbymap.utils to expose contenxtmenuHsieh Chin Fan2024-10-07
|
* feat: set 'EDIT' menu item in editor.mjsHsieh Chin Fan2024-10-06
|
* feat: add menu items for map managingHsieh Chin Fan2024-10-05
|
* fix: patch 9a0fdb9Hsieh Chin Fan2024-10-05
| | | | | * use attribute "xy" as title of marker * fix config for linkify
* style: reformat codeHsieh Chin Fan2024-10-05
| | | | remove mapCallback for now
* feat: sync srolling of editor and dumbymapHsieh Chin Fan2024-10-05
|
* feat: remove toc in current stageHsieh 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: update READMEHsieh Chin Fan2024-10-04
|
* docs: add jsdocHsieh Chin Fan2024-10-04
|
* fix: show pick-map menu item in caseHsieh Chin Fan2024-10-04
|
* fix: prevent potential error break setting for rendered mapsHsieh Chin Fan2024-10-04
|
* feat: don't do things on fail-to-render mapHsieh Chin Fan2024-10-03
|
* feat: add linkify for geo linkHsieh Chin Fan2024-10-03
|
* feat: prevent render indicator appears ageinHsieh Chin Fan2024-10-02
|
* feat: use order to sort rendered mapsHsieh Chin Fan2024-10-02
|
* fix: set layout attribute wisely for observerHsieh Chin Fan2024-10-02
|
* feat: add checked/unchecked state for block menu itemHsieh Chin Fan2024-10-02
| | | | also, prevent menu got erased by className
* feat: prevent menu show outside of windowHsieh Chin Fan2024-10-02
|
* fix: set default layout for dumbymapHsieh Chin Fan2024-10-02
|
* style: switch to standardjsHsieh Chin Fan2024-10-02
|
* feat: set menu-items by casesHsieh Chin Fan2024-10-02
| | | | | | | * When click on map => show toggle-map and print-result * When click on block => show toggle-block and map/block/layout selection * When click on showcase => show all above execpt toggle-block
* fix: keep data-mode=editing when HTML refreshHsieh Chin Fan2024-10-01
|
* fix: set menu position relative to clickHsieh Chin Fan2024-10-01
| | | | need to calculate offset of parent element
* feat: beautify result reportHsieh Chin Fan2024-10-01
| | | | | | * add color for state string * align extra info to right * apply new mapclay rule, steps result about "prepare" has type="prepare"
* feat: show menu items in casesHsieh Chin Fan2024-10-01
| | | | | If click on map, only show focus/print-results items If not, show focus-block method and other menu-items
* refactor: menu-item only call methods from dumbymap.utilsHsieh Chin Fan2024-10-01
|
* feat: print details of renderer result (finally)Hsieh Chin Fan2024-10-01
|
* feat: improve menu itemsHsieh Chin Fan2024-10-01
| | | | | | * fix editing mode, make it just like layout changes * add plain-modal for renderer results * check selection is within text range for geolink
* refactor: move menu feature from editor to dumbymapHsieh Chin Fan2024-10-01
|
* style: way to manage Element.childrenHsieh Chin Fan2024-10-01
|
* style: commentsHsieh Chin Fan2024-09-30
|
* 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
|
* feat(mapclay): add callback to indicate rendering progressHsieh 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: apply options for generateMaps()Hsieh Chin Fan2024-09-27
|
* refactor: methods about creating geo/doc linksHsieh Chin Fan2024-09-25
| | | | change methods to only create a single link
* chore: reformat codeHsieh Chin Fan2024-09-25
|
* refactor: move utils about dumbymap into moduleHsieh Chin Fan2024-09-24
|
* chore: reformat codeHsieh Chin Fan2024-09-24
|
* feat: add block indicator by peudo elementHsieh Chin Fan2024-09-24
|