CatimaLoyalty / Android

Catima, a Loyalty Card & Ticket Manager for Android
https://catima.app
GNU General Public License v3.0
816 stars 146 forks source link

Do not reset search results after exiting the card view window #1962

Open Korb opened 2 months ago

Korb commented 2 months ago

Sequence of actions for playback:

  1. Enter a search query in the application, and the search will find something.
  2. Click on any card.
  3. Use the system Back gesture (or its equivalent, depending on your graphical shell).

Current result

The full list of cards is displayed, the search field is empty.

Desired behavior

The search results screen is displayed and the search bar displays what you entered in step 1.

Rationale

The user can click past the desired position in the search results, which is normal when you have purchases, a wallet, a smartphone in your hands, and there is a line of impatient buyers behind you. Or the user has several cards entered into the application, and he either does not know from the search results which one he needs, or asks the cashier to sequentially check, for example, the discount percentage for each of them. All of the above becomes much more complicated if you need to re-enter the search query each time, remembering which cards you have already looked at and hoping that the search results do not change their position in the list.

Workaround

Use the scroll arrows at the bottom of the card viewing screen. It seems that they are sequentially scrolling through cards screens from search results or the current group.

angrezichatterbox commented 2 months ago

Is this issue open to be solved ??

TheLastProject commented 2 months ago

I'm not currently working on this. If you want to, feel free to send a PR :)