Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | refactor: method of setting context menu | Hsieh Chin Fan | 2024-10-08 |
| | |||
* | feat: remove addGeoLink menu-item | Hsieh Chin Fan | 2024-10-08 |
| | |||
* | feat: use CSS selector to get map on contextmenu | Hsieh Chin Fan | 2024-10-08 |
| | |||
* | fix: only remove map observer when html container is removed | Hsieh Chin Fan | 2024-10-08 |
| | |||
* | fix: apply observer on cached maps | Hsieh Chin Fan | 2024-10-07 |
| | |||
* | fix: pixel of click event for map | Hsieh Chin Fan | 2024-10-07 |
| | |||
* | feat: use dumbymap.utils to expose contenxtmenu | Hsieh Chin Fan | 2024-10-07 |
| | |||
* | feat: set 'EDIT' menu item in editor.mjs | Hsieh Chin Fan | 2024-10-06 |
| | |||
* | feat: add menu items for map managing | Hsieh Chin Fan | 2024-10-05 |
| | |||
* | fix: patch 9a0fdb9 | Hsieh Chin Fan | 2024-10-05 |
| | | | | | * use attribute "xy" as title of marker * fix config for linkify | ||
* | style: reformat code | Hsieh Chin Fan | 2024-10-05 |
| | | | | remove mapCallback for now | ||
* | feat: sync srolling of editor and dumbymap | Hsieh Chin Fan | 2024-10-05 |
| | |||
* | feat: remove toc in current stage | Hsieh Chin Fan | 2024-10-04 |
| | |||
* | refactor: add GeoLinks | Hsieh Chin Fan | 2024-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 README | Hsieh Chin Fan | 2024-10-04 |
| | |||
* | docs: add jsdoc | Hsieh Chin Fan | 2024-10-04 |
| | |||
* | fix: show pick-map menu item in case | Hsieh Chin Fan | 2024-10-04 |
| | |||
* | fix: prevent potential error break setting for rendered maps | Hsieh Chin Fan | 2024-10-04 |
| | |||
* | feat: don't do things on fail-to-render map | Hsieh Chin Fan | 2024-10-03 |
| | |||
* | feat: add linkify for geo link | Hsieh Chin Fan | 2024-10-03 |
| | |||
* | feat: prevent render indicator appears agein | Hsieh Chin Fan | 2024-10-02 |
| | |||
* | feat: use order to sort rendered maps | Hsieh Chin Fan | 2024-10-02 |
| | |||
* | fix: set layout attribute wisely for observer | Hsieh Chin Fan | 2024-10-02 |
| | |||
* | feat: add checked/unchecked state for block menu item | Hsieh Chin Fan | 2024-10-02 |
| | | | | also, prevent menu got erased by className | ||
* | feat: prevent menu show outside of window | Hsieh Chin Fan | 2024-10-02 |
| | |||
* | fix: set default layout for dumbymap | Hsieh Chin Fan | 2024-10-02 |
| | |||
* | style: switch to standardjs | Hsieh Chin Fan | 2024-10-02 |
| | |||
* | feat: set menu-items by cases | Hsieh Chin Fan | 2024-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 refresh | Hsieh Chin Fan | 2024-10-01 |
| | |||
* | fix: set menu position relative to click | Hsieh Chin Fan | 2024-10-01 |
| | | | | need to calculate offset of parent element | ||
* | feat: beautify result report | Hsieh Chin Fan | 2024-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 cases | Hsieh Chin Fan | 2024-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.utils | Hsieh Chin Fan | 2024-10-01 |
| | |||
* | feat: print details of renderer result (finally) | Hsieh Chin Fan | 2024-10-01 |
| | |||
* | feat: improve menu items | Hsieh Chin Fan | 2024-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 dumbymap | Hsieh Chin Fan | 2024-10-01 |
| | |||
* | style: way to manage Element.children | Hsieh Chin Fan | 2024-10-01 |
| | |||
* | style: comments | Hsieh Chin Fan | 2024-09-30 |
| | |||
* | feat: improve actions in sub-menu | Hsieh Chin Fan | 2024-09-30 |
| | | | | | | * scroll to focus map/block * refactor methods in dumbyUtils * refactor MutationObserver for map | ||
* | feat: add submenu for map/block/layout switching | Hsieh Chin Fan | 2024-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: prettier | Hsieh Chin Fan | 2024-09-29 |
| | |||
* | feat(mapclay): add callback to indicate rendering progress | Hsieh Chin Fan | 2024-09-29 |
| | |||
* | style: prettier | Hsieh Chin Fan | 2024-09-28 |
| | |||
* | refactor: mapclay v0.8.2 | Hsieh Chin Fan | 2024-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 Fan | 2024-09-27 |
| | |||
* | refactor: methods about creating geo/doc links | Hsieh Chin Fan | 2024-09-25 |
| | | | | change methods to only create a single link | ||
* | chore: reformat code | Hsieh Chin Fan | 2024-09-25 |
| | |||
* | refactor: move utils about dumbymap into module | Hsieh Chin Fan | 2024-09-24 |
| | |||
* | chore: reformat code | Hsieh Chin Fan | 2024-09-24 |
| | |||
* | feat: add block indicator by peudo element | Hsieh Chin Fan | 2024-09-24 |
| |