immich/web
Daniel Dietzler a147dee4b6
feat: Maplibre (#4294)
* maplibre on web, custom styles from server

Actually use new vector tile server, custom style.json

support multiple style files, light/dark mode

cleanup, use new map everywhere

send file directly instead of loading first

better light/dark mode switching

remove leaflet

fix mapstyles dto, first draft of map settings

delete and add styles

fix delete default styles

fix tests

only allow one light and one dark style url

revert config core changes

fix server config store

fix tests

move axios fetches to repo

fix package-lock

fix tests

* open api

* add assets to docker container

* web: use mapSettings color for style

* style: add unique ids to map styles

* mobile: use style json for vector / raster

* do not use svelte-material-icons

* add click events to markers, simplify asset detail map

* improve map performance by using asset thumbnails for markers instead of original file

* Remove custom attribution

(by request)

* mobile: update map attribution

* style: map dark mode

* style: map light mode

* zoom level for state

* styling

* overflow gradient

* Limit maxZoom to 14

* mobile: listen for mapStyle changes in MapThumbnail

* mobile: update concurrency

---------

Co-authored-by: shalong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
Co-authored-by: bo0tzz <git@bo0tzz.me>
Co-authored-by: Alex <alex.tran1502@gmail.com>
2023-11-09 10:10:56 -06:00
..
__mocks__ chore(web): prettier (#2821) 2023-06-30 23:50:47 -05:00
src feat: Maplibre (#4294) 2023-11-09 10:10:56 -06:00
static feat(web): immich as webapp, add apple icons and manifest file (#2310) 2023-04-23 20:30:38 -05:00
.dockerignore Add web interface with admin functionality (#167) 2022-05-21 02:23:55 -05:00
.eslintignore Add ablum feature to web (#352) 2022-07-15 23:18:17 -05:00
.eslintrc.cjs chore(web): prettier (#2821) 2023-06-30 23:50:47 -05:00
.gitignore Add ablum feature to web (#352) 2022-07-15 23:18:17 -05:00
.npmrc Add web interface with admin functionality (#167) 2022-05-21 02:23:55 -05:00
.prettierignore feat(web): More localisation (#1441) 2023-01-27 23:57:25 -06:00
.prettierrc chore(web): remove flowbite (#4178) 2023-09-23 11:50:21 +07:00
babel.config.cjs chore(web): prettier (#2821) 2023-06-30 23:50:47 -05:00
Dockerfile chore(server,web): bump node version to 20.8 (#4311) 2023-10-03 09:34:35 -05:00
entrypoint.sh fix(server): properly handle SIGTERM (#3350) 2023-07-21 09:20:04 -05:00
how-to-scroll-like-google.md docs: fix typos (#4713) 2023-10-30 09:17:10 -05:00
jest.config.mjs refactor(web): material icons (#4636) 2023-10-25 13:48:25 +00:00
LICENSE feat(docker) revert ubuntu base image (#863) 2022-10-25 14:18:37 -05:00
package-lock.json feat: Maplibre (#4294) 2023-11-09 10:10:56 -06:00
package.json feat: Maplibre (#4294) 2023-11-09 10:10:56 -06:00
postcss.config.cjs chore(web): prettier (#2821) 2023-06-30 23:50:47 -05:00
README.md Add web interface with admin functionality (#167) 2022-05-21 02:23:55 -05:00
svelte.config.js chore(web): Update to Svelte 4 (#3196) 2023-07-15 20:13:04 -05:00
tailwind.config.cjs chore(web): remove flowbite (#4178) 2023-09-23 11:50:21 +07:00
tsconfig.json chore(web): improve type checking (#2644) 2023-06-02 08:55:08 -05:00
vite.config.js fix(web): optimize deps (#4877) 2023-11-06 22:02:46 -06:00

create-svelte

Everything you need to build a Svelte project, powered by create-svelte.

Creating a project

If you're seeing this, you've probably already done this step. Congrats!

# create a new project in the current directory
npm init svelte

# create a new project in my-app
npm init svelte my-app

Developing

Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:

npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open

Building

To create a production version of your app:

npm run build

You can preview the production build with npm run preview.

To deploy your app, you may need to install an adapter for your target environment.