CatimaLoyalty / Android

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

Digit grouping #2191

Open fievel opened 3 days ago

fievel commented 3 days ago

When the scanning does not work (which can always happen depending on the reading hardware at the shop not well handling high reflective display for example), the cashier usually enter manually the code. However, I find difficult to copy correctly the code because it's just a big number without formatting. I think it would be a relatively cheap feature to implement some digit grouping of the code in order to ease manual operation. I think many commercial alternatives of this app and also the original physical cards already feature this.

TheLastProject commented 3 days ago

I get your point. I believe people have asked this before. There are a few things I'm unsure about:

  1. When do we group it? Only if the card id is full digits with no spaces or letters? Or also in some other cases? If so, which?
  2. Do we still display it with grouping in the details window (displayed when tapping the card ID)? What do we do when someone tries to copy the barcode? Do we copy it with or without grouping?
  3. What do we do when people explicitly set "Barcode value" (aka: the display value)? Do we still use the grouping or do we respect their custom settings (I guess respect their custom setting?)
  4. Do we need a way to disable this grouping? Do we need to somehow indicate we're displaying it differently than it is?
  5. How this feature (assuming it is implemented in other apps) ever lead to issues in stores? If so, is there anything we need to think of?