Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | refactor: remove custom elements | Hsieh Chin Fan | 2024-10-31 |
| | | | | | | REASON: apply custom elements in content script may change globalThis which is not equal to window. This makes type check in maplibregl always fails! | ||
* | feat: add menu-item for edit map without editor | Hsieh Chin Fan | 2024-10-28 |
| | |||
* | feat: add menu item for add marker | Hsieh Chin Fan | 2024-10-28 |
| | | | | | * remove code about adding reference link in editor.mjs * TODO: use local storage to access reference about marker | ||
* | style: standardjs | Hsieh Chin Fan | 2024-10-23 |
| | |||
* | feat: patch 5cb442c, observer for layout | Hsieh Chin Fan | 2024-10-23 |
| | |||
* | refactor: set observers for charactorData/childList separately | Hsieh Chin Fan | 2024-10-23 |
| | | | | | | | * this patches e774e55, make code easier to understanded * use data attribute to initialize content in container * add limitation on method replaceNode(), to prevent GeoLinks generated in pre/code/a element | ||
* | refactor: use MuationObserver to update contents | Hsieh Chin Fan | 2024-10-22 |
| | | | | | BREAKING CHANGE: * generateMaps no more called when content changes | ||
* | fix: patch 4dd0fa8 | Hsieh Chin Fan | 2024-10-18 |
| | |||
* | feat: set "sticky" as one of default layouts | Hsieh Chin Fan | 2024-10-17 |
| | | | | | | | * move function addDraggable() into module scope * showcase in sticky layout is draggable now * add query paramerter for "use" * FIX: set initialLayout after observer is set | ||
* | feat: set data attribute for editor to disable HTML update | Hsieh Chin Fan | 2024-10-17 |
| | |||
* | feat: patch 2c9ffa2 | Hsieh Chin Fan | 2024-10-15 |
| | | | | | | * addAnchorByPoint -> addMarkerByPoint just return newly created marker * Add pointByArrow as general element in container | ||
* | fix: only update scroll line by user input | Hsieh Chin Fan | 2024-10-15 |
| | |||
* | feat: improve GeoLink generation | Hsieh Chin Fan | 2024-10-14 |
| | | | | | | | * Stop searching pattern by linkify, Add links with geo URI scheme by async function instead * Search text nodes with patterns, and replace them with links * Add checker for valid degree/meter coordinated * Add query string "xy" anyway | ||
* | feat: migrate drag feature to dumbymap | Hsieh Chin Fan | 2024-10-14 |
| | |||
* | docs: jsdoc | Hsieh Chin Fan | 2024-10-14 |
| | |||
* | refactor: add <main> for contents | Hsieh Chin Fan | 2024-10-14 |
| | |||
* | fix: compare anchor name by lower-case | Hsieh Chin Fan | 2024-10-13 |
| | |||
* | refactor: don't re-render HTML by dragging | Hsieh Chin Fan | 2024-10-13 |
| | |||
* | fix: sync scroll from HTML to CodeMirror | Hsieh Chin Fan | 2024-10-13 |
| | | | | | * fix initial for lineEnd * sync horizontal scroll | ||
* | feat: use selection as default name of anchor | Hsieh Chin Fan | 2024-10-12 |
| | |||
* | feat: add query param for layout | Hsieh Chin Fan | 2024-10-12 |
| | |||
* | feat: set cursor at begining when reset by tutorial | Hsieh Chin Fan | 2024-10-11 |
| | |||
* | feat: update tutorial content for adding GeoLink | Hsieh Chin Fan | 2024-10-11 |
| | | | | | * add new module for hoding contents * also add settings for linkify | ||
* | feat: add query params for crs | Hsieh Chin Fan | 2024-10-11 |
| | |||
* | docs: fix typo in README | Hsieh Chin Fan | 2024-10-10 |
| | |||
* | fix: the way check scroll line is clear | Hsieh Chin Fan | 2024-10-10 |
| | |||
* | docs(jsdoc): update jsdoc | Hsieh Chin Fan | 2024-10-10 |
| | |||
* | feat: use "type" to decide marker appearance for GeoLink | Hsieh Chin Fan | 2024-10-09 |
| | |||
* | feat: use "title" to set leader-line label for GeoLink | Hsieh Chin Fan | 2024-10-09 |
| | |||
* | refactor: Attribute -> dataset | Hsieh Chin Fan | 2024-10-09 |
| | |||
* | fix: patch a11cbe8 | Hsieh Chin Fan | 2024-10-09 |
| | | | | shame that didn't notice layout initial issue... | ||
* | feat: add new option for custom layout | Hsieh Chin Fan | 2024-10-09 |
| | |||
* | fix: path for default yaml file | Hsieh Chin Fan | 2024-10-09 |
| | |||
* | feat: update default contents and used CSS | Hsieh Chin Fan | 2024-10-09 |
| | |||
* | feat: patch 5aede26 | Hsieh Chin Fan | 2024-10-09 |
| | | | | | | | | * use callback to disable scroll * only allow action with left click * disable selection when dragging * gray-out elements except of maps * only sync scroll when cm has focus | ||
* | fix: proper timing to adjust scroll of HTML contents | Hsieh Chin Fan | 2024-10-09 |
| | |||
* | chore: apply standardjs with trailing comma | Hsieh Chin Fan | 2024-10-09 |
| | |||
* | feat: patch 5aede26, set crosshair for maps | Hsieh Chin Fan | 2024-10-09 |
| | |||
* | feat: create GeoLink by drag/drop | Hsieh Chin Fan | 2024-10-09 |
| | |||
* | refactor: move addAnchorByEvent into dumbyUtils | Hsieh Chin Fan | 2024-10-08 |
| | |||
* | fix: path of resources for gh-pages | Hsieh Chin Fan | 2024-10-08 |
| | |||
* | fix: typo in 283b2c9 | Hsieh Chin Fan | 2024-10-08 |
| | |||
* | feat: add search params 'content' for tutorial | Hsieh Chin Fan | 2024-10-08 |
| | |||
* | fix: don't show 'Add Link' when no range selectoin | Hsieh Chin Fan | 2024-10-08 |
| | |||
* | style: reformat code | Hsieh Chin Fan | 2024-10-08 |
| | |||
* | feat: update default contents | Hsieh Chin Fan | 2024-10-08 |
| | |||
* | feat: also sync scroll when content changes | Hsieh Chin Fan | 2024-10-08 |
| | |||
* | feat: add editor action for default content | Hsieh Chin Fan | 2024-10-08 |
| | |||
* | feat: sync selection from HTML to CodeMirror | Hsieh Chin Fan | 2024-10-08 |
| | | | | This is for adding reference style links | ||
* | refactor: method of setting context menu | Hsieh Chin Fan | 2024-10-08 |
| |