1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-04 02:46:47 +01:00
immich/web
Sergey Kondrikov 7f2fa23179
feat (server, web): Share with partner (#2388)
* feat(server, web): implement share with partner

* chore: regenerate api

* chore: regenerate api

* Pass userId to getAssetCountByTimeBucket and getAssetByTimeBucket

* chore: regenerate api

* Use AssetGrid to view partner's assets

* Remove disableNavBarActions flag

* Check access to buckets

* Apply suggestions from code review

Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>

* Remove exception rethrowing

* Simplify partner access check

* Create new PartnerController

* chore api:generate

* Use partnerApi

* Remove id from PartnerResponseDto

* Refactor PartnerEntity

* Rename args

* Remove duplicate code in getAll

* Create composite primary keys for partners table

* Move asset access check into PartnerCore

* Remove redundant getUserAssets call

* Remove unused getUserAssets method

* chore: regenerate api

* Simplify getAll

* Replace ?? with ||

* Simplify PartnerRepository.create

* Introduce PartnerIds interface

* Replace two database migrations with one

* Simplify getAll

* Change PartnerResponseDto to include UserResponseDto

* Move partner sharing endpoints to PartnerController

* Rename ShareController to SharedLinkController

* chore: regenerate api after rebase

* refactor: shared link remove return type

* refactor: return user response dto

* chore: regenerate open api

* refactor: partner getAll

* refactor: partner settings event typing

* chore: remove unused code

* refactor: add partners modal trigger

* refactor: update url for viewing partner photos

* feat: update partner sharing title

* refactor: rename service method names

* refactor: http exception logic to service, PartnerIds interface

* chore: regenerate open api

* test: coverage for domain code

* fix: addPartner => createPartner

* fix: missed rename

* refactor: more code cleanup

* chore: alphabetize settings order

* feat: stop sharing confirmation modal

* Enhance contrast of the email in dark mode

* Replace button with CircleIconButton

* Fix linter warning

* Fix date types for PartnerEntity

* Fix PartnerEntity creation

* Reset assetStore state

* Change layout of the partner's assets page

* Add bulk download action for partner's assets

---------

Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
2023-05-15 12:30:53 -05:00
..
__mocks__ feat(web): theme/locale preferences and improve SSR (#1832) 2023-02-22 11:53:08 -06:00
src feat (server, web): Share with partner (#2388) 2023-05-15 12:30:53 -05: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 Fix web lint issues 2022-09-08 17:30:49 +02: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 Add ablum feature to web (#352) 2022-07-15 23:18:17 -05:00
babel.config.cjs Add web test setup (#597) 2022-09-07 05:20:19 -05:00
Dockerfile fix(server): Revert alpine version to fix Sharp dependencies not installed correctly (#2172) 2023-04-05 02:57:30 +00:00
entrypoint.sh fix(web): remove protocol header (#2068) 2023-03-24 07:20:06 -05:00
how-to-scroll-like-google.md Feature - Implemented virtual scroll on web (#573) 2022-09-04 08:34:39 -05:00
jest.config.mjs feat(web): make assets cachable (#1724) 2023-02-10 16:01:35 -06:00
LICENSE feat(docker) revert ubuntu base image (#863) 2022-10-25 14:18:37 -05:00
package-lock.json chore(web): update svelte related packages (#2419) 2023-05-10 04:58:53 -05:00
package.json chore(web): update svelte related packages (#2419) 2023-05-10 04:58:53 -05:00
postcss.config.cjs Use cookies for client requests (#377) 2022-07-26 12:28:07 -05:00
README.md Add web interface with admin functionality (#167) 2022-05-21 02:23:55 -05:00
svelte.config.js feat(web): Update to latest version of SvelteKit (#705) 2022-09-16 23:13:22 -05:00
tailwind.config.cjs feat(web) dark mode (#867) 2022-10-26 11:10:48 -05:00
tsconfig.json Add web test setup (#597) 2022-09-07 05:20:19 -05:00
vite.config.js chore: run web (only) with remote backend (#2196) 2023-04-07 20:44:56 -05: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.