Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
* | 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 | |
| | ||||
* | feat: add util "removeBlockFocus" | Hsieh Chin Fan | 2024-09-24 | |
| | ||||
* | feat: set focus state by CSS | Hsieh Chin Fan | 2024-09-24 | |
| | | | | data-focus -> class="focus" | |||
* | feat: add focusNextBlock util | Hsieh Chin Fan | 2024-09-24 | |
| | ||||
* | feat: add mapCache for rendered map | Hsieh Chin Fan | 2024-09-24 | |
| | | | | | | | | | * apply new config option: "render", just pass function to replace "use" * check configList when render. If ID and config content are the same, use cache otherwise * remove CSS animation to prevent blinking when config changes very quick * fix method about checking showcase is visible. This prevent reused map gain focus. | |||
* | refactor: store maps as [HTMLElement, Promise] | Hsieh Chin Fan | 2024-09-23 | |
| | ||||
* | feat: remove keydown events from dumbymap | Hsieh Chin Fan | 2024-09-23 | |
| | | | | | | | | | | | | * events now handed by editor * this fix document.onkeydown reset when generatedMaps() called more than one time * apply "bind" to remove methods about user interaction from generateMaps() * refactor focusNextmap(), using array to store rendered maps BREAKING CHANGE: generateMaps() now return dumbymap Object, contains key elements and methods | |||
* | feat(layout): transition to reduce height of empty block | Hsieh Chin Fan | 2024-09-23 | |
| | ||||
* | fix: typo | Hsieh Chin Fan | 2024-09-23 | |
| | ||||
* | feat(utils): return empty Animation, not null for DOMRect | Hsieh Chin Fan | 2024-09-22 | |
| | ||||
* | refactor: remove inline style anyway when layer switch | Hsieh Chin Fan | 2024-09-22 | |
| | ||||
* | feat: remove onlick event for focusing map | Hsieh Chin Fan | 2024-09-22 | |
| | | | | | For UX, use may just want to interact with maps but not but them into showcase. | |||
* | refactor: class name for content container | Hsieh Chin Fan | 2024-09-22 | |
| | | | | | DumbyMap -> Dumby Since maps are inside it! | |||
* | fix: focus a map after all rendered | Hsieh Chin Fan | 2024-09-22 | |
| | ||||
* | feat: add resize bar for side-by-side layout | Hsieh Chin Fan | 2024-09-22 | |
| | | | | | * SVG comes from maplibre-gl-compare * plain-draggable is awesome! | |||
* | fix: 5d0a91d, should handle default aliases now | Hsieh Chin Fan | 2024-09-22 | |
| | ||||
* | style: reformat code | Hsieh Chin Fan | 2024-09-21 | |
| | ||||
* | refactor: layout class | Hsieh Chin Fan | 2024-09-21 | |
| | | | | | | * put class Layout and OverlayLayout together * apply extend on OverlayLayout * rename layouts: "none" -> "normal", "side" -> "side-by-side" | |||
* | feat: add throttle for next map by Showcase display | Hsieh Chin Fan | 2024-09-21 | |
| | ||||
* | fix: typo for event API | Hsieh Chin Fan | 2024-09-21 | |
| | ||||
* | style: add comment for animation | Hsieh Chin Fan | 2024-09-21 | |
| | ||||
* | style: definition of link methods | Hsieh Chin Fan | 2024-09-21 | |
| | ||||
* | refactor: apply Layout Class | Hsieh Chin Fan | 2024-09-21 | |
| | | | | | * Use {name, enterHandler, leaverHandler} for layout switch * Move "overlay" to another module | |||
* | feat: throttle for layout and map focus | Hsieh Chin Fan | 2024-09-21 | |
| | | | | | | * add throttle for layout switch * apply throttle for 'Tab' key (focus next map) * remove throttle from DOMRect animation | |||
* | refactor: setting draggable block in one place | Hsieh Chin Fan | 2024-09-21 | |
| | ||||
* | fix: add class name for container | Hsieh Chin Fan | 2024-09-20 | |
| | ||||
* | feat: enable onscroll event from plain-draggable | Hsieh Chin Fan | 2024-09-20 | |
| | | | | | | | ref: https://github.com/anseki/plain-draggable/issues/148 * put CSS properties resize and overflow-y to content of draggable item * refine CSS for handle animation | |||
* | feat: draggable elements only appears in overlay layout | Hsieh Chin Fan | 2024-09-20 | |
| | ||||
* | feat: add throttle for DOMRect animation | Hsieh Chin Fan | 2024-09-20 | |
| | ||||
* | style: eslint | Hsieh Chin Fan | 2024-09-20 | |
| | ||||
* | refactor: move utils method to new module | Hsieh Chin Fan | 2024-09-20 | |
| |