immich icon indicating copy to clipboard operation
immich copied to clipboard

[FEATURE] Handle asset selection in search result page

Open Rydberg95 opened this issue 2 years ago • 3 comments

The bug

Noticed a small bug when using the Android app. When I've entered a search word, and therefore is in the "search mode", there are buttons for selecting all the photos for a certain day (see screenshot). However, no photos are selected when pressing that button.

Furthermore, when in "search mode" photos are not individually selectable when long pressing. This might be the reason why above mentioned issue exists..?

signal-2023-02-26-192152_002

The OS that Immich Server is running on

Arch Linux (through Docker Compose)

Version of Immich Server

v1.49

Version of Immich Mobile App

v1.49.0 build.72

Platform with the issue

  • [ ] Server
  • [ ] Web
  • [X] Mobile

Your docker-compose.yml content

version: "3.8"

services:
  immich-server:
    container_name: immich_server
    image: altran1502/immich-server:release
    entrypoint: [ "/bin/sh", "./start-server.sh" ]
    volumes:
      - ${UPLOAD_LOCATION}:/usr/src/app/upload
    env_file:
      - stack.env
    environment:
      - NODE_ENV=production
    depends_on:
      - redis
      - database
    restart: always

  immich-microservices:
    container_name: immich_microservices
    image: altran1502/immich-server:release
    entrypoint: [ "/bin/sh", "./start-microservices.sh" ]
    volumes:
      - ${UPLOAD_LOCATION}:/usr/src/app/upload
    env_file:
      - stack.env
    environment:
      - NODE_ENV=production
    depends_on:
      - redis
      - database
    restart: always

  immich-machine-learning:
    container_name: immich_machine_learning
    image: altran1502/immich-machine-learning:release
    volumes:
      - ${UPLOAD_LOCATION}:/usr/src/app/upload
      - model-cache:/cache
    env_file:
      - stack.env
    environment:
      - NODE_ENV=production
    restart: always

  immich-web:
    container_name: immich_web
    image: altran1502/immich-web:release
    entrypoint: [ "/bin/sh", "./entrypoint.sh" ]
    env_file:
      - stack.env
    restart: always

  redis:
    container_name: immich_redis
    image: redis:6.2
    restart: always

  database:
    container_name: immich_postgres
    image: postgres:14
    env_file:
      - stack.env
    environment:
      POSTGRES_PASSWORD: ${DB_PASSWORD}
      POSTGRES_USER: ${DB_USERNAME}
      POSTGRES_DB: ${DB_DATABASE_NAME}
      PG_DATA: /var/lib/postgresql/data
    volumes:
      - pgdata:/var/lib/postgresql/data
    restart: always

  immich-proxy:
    container_name: immich_proxy
    image: altran1502/immich-proxy:release
    environment:
      # Make sure these values get passed through from the env file
      - IMMICH_SERVER_URL
      - IMMICH_WEB_URL
    ports:
      - 2283:8080
    logging:
      driver: none
    depends_on:
      - immich-server
    restart: always

volumes:
  pgdata:
  model-cache:

Your .env content

DB_HOSTNAME=immich_postgres
DB_USERNAME=postgres
DB_PASSWORD=***********
DB_DATABASE_NAME=immich
REDIS_HOSTNAME=immich_redis
UPLOAD_LOCATION=/run/media/nuker/SeagatePort/immich
PUBLIC_LOGIN_PAGE_MESSAGE=Hello Immich!
IMMICH_WEB_URL=http://immich-web:3000
IMMICH_SERVER_URL=http://immich-server:3001
IMMICH_MACHINE_LEARNING_URL=http://immich-machine-learning:3003

Reproduction steps

1. Open the app
2. Enter a search query
3. Click the check mark for selecting all photos for a day.
4. Nothing happens, but expected all photos for that day to be selected.

Additional information

Only tested on Android.

Rydberg95 avatar Feb 26 '23 18:02 Rydberg95

Yeah, this is a known/not yet worked-on feature. We are waiting on a few more things before revamping the whole search mechanism on both the web and mobile

alextran1502 avatar Feb 26 '23 19:02 alextran1502

Is there an idea of where this feature is at? Am I missing something / is there a workaround to select multiples in search results?

Zonmonbon avatar Mar 21 '24 01:03 Zonmonbon

I'm able to select multiple photos by long pressing and then tapping on additional photos. Also the "whole day" check box worked me when I checked.

What would be an awesome additional feature is the drag to multi select that is present in the main "photos" tab.

patienttruth avatar May 10 '24 02:05 patienttruth