image-picka icon indicating copy to clipboard operation
image-picka copied to clipboard

[Feature idea] Open one image picker for each tab

Open yfdyh000 opened this issue 3 years ago • 5 comments

This might help to separate setting the thumbnail size, save path (#286) and filters. A temporary mode (not save the UI prefs) will be needed.

related: #289.

yfdyh000 avatar Feb 16 '22 16:02 yfdyh000

Do you mean to open one picker for each tab that the extension collected? How about to add an option "Open one picker for each tab" in settings page?

eight04 avatar Feb 16 '22 18:02 eight04

Do you mean to open one picker for each tab that the extension collected? How about to add an option "Open one picker for each tab" in settings page?

A mode option? or an extra action menu? I'm not sure. If it can handle performance, reliability, preference saving conflict, etc. properly. I'm not sure it's valuable, #283 and #286 will get some I want.

yfdyh000 avatar Feb 16 '22 18:02 yfdyh000

A temporary mode (not save the UI prefs) will be needed. preference saving conflict

Filters and filename pattern are synced across multiple pickers. If some preference changed in the first picker, it also changes in the second, third, etc.

If you want different patterns for different pickers, the workflow will look like this:

  1. Pick images from tabs to the right, then the extension opens multiple picker tabs.
  2. Edit the pattern in the first picker.
  3. Save.
  4. Edit the pattern in the second picker.
  5. Save.

eight04 avatar Feb 16 '22 19:02 eight04

Filters and filename pattern are synced across multiple pickers. If some preference changed in the first picker, it also changes in the second, third, etc.

I see, cool.

I noticed that the browser will keep the most recently entered URL filter and file name pattern, but it is not possible to backup/import from the extension? Frequently changing them might discard commonly settings, but recording/backing them up might have privacy concerns.

yfdyh000 avatar Feb 18 '22 00:02 yfdyh000

I noticed that the browser will keep the most recently entered URL filter and file name pattern, but it is not possible to backup/import from the extension?

We record five entries for filename pattern: https://github.com/eight04/image-picka/blob/86eeb9d9e47ae11d23e5a9aa8542908d7622c561/src/static/picker.html#L52 Three entries for URL filter: https://github.com/eight04/image-picka/blob/86eeb9d9e47ae11d23e5a9aa8542908d7622c561/src/static/picker.html#L37

When you import/export settings, they are also imported/exported.

eight04 avatar Feb 18 '22 09:02 eight04