51c955527309c726745b0cffbbd6f7d0261f5d96
* Fixed a race condition in `photo-carousel` where programmatic scrolling
(e.g., keyboard navigation) would conflict with `IntersectionObserver`
callbacks, causing the current photo to revert mid-scroll. Added an
`isProgrammaticScroll` flag to temporarily suppress observer updates
during these scrolls.
* Added explicit timeouts in `photo-gallery-test.gjs` to allow the carousel
animations to settle between keyboard events.
* Refactored `Modal` and `PhotoGallery` components to use `{{in-element}}`
to render their contents into a top-level `#modal-portal` div. This prevents
z-index and overflow clipping issues.
* Updated `index.html` to include the `#modal-portal` div.
Marco (as in Marco Polo) is an unhosted maps application that respects your privacy and choices. It allows users to connect their own remote storage to sync place bookmarks across apps and devices.
This README outlines the details of collaborating on this Ember application, or just building and deploying it for yourself.
Prerequisites
You will need the following things properly installed on your computer.
Installation
git clone <repository-url>this repositorycd marcopnpm install
Running / Development
pnpm start- Visit your app at http://localhost:4200.
- Visit your tests at http://localhost:4200/tests.
Code Generators
Make use of the many generators for code, try pnpm ember help generate for more details
Running Tests
pnpm test
Linting
pnpm lintpnpm lint:fix
Building
pnpm vite build --mode development(development)pnpm build(production)
App Icon
pnpm build:iconsgenerates PNGs of all sizes frompublic/icons/icon.svg
To run the script, you need imagemagick and librsvg installed:
- Arch Linux:
pacman -S imagemagick librsvg - Ubuntu/Debian:
apt install imagemagick librsvg2-bin
Deploying
git push 5apps master(needs collaborator permission on 5apps)- Or deploy
release/to any static file host (ideally routing all 404s toindex.htmlfor launching with client-side routes to work)
Further Reading / Useful Links
- ember.js
- remoteStorage.js
- @remotestorage/module-places
- Vite
- Development Browser Extensions
Description