Code Monkey home page Code Monkey logo

Comments (4)

StevenAlexander44 avatar StevenAlexander44 commented on July 4, 2024 1

I don't need to show a qr, but it's faster to use the qr than to type out the 7-8 character code on their slow touchscreens (it does happen to be a fast food joint). The "No barcode" option would be great!

from android.

TheLastProject avatar TheLastProject commented on July 4, 2024

My first feeling here is to reject this request because I've learned through the year that one of the most prevalent cases of people thinking Catima is broken is caused by people entering a barcode manually (which is also why there is now a dialog window explicitly warning you that it's better to scan). Adding a setting to have a default barcode type for shared text also seems like asking for trouble to me, as it increases the chance of users accidentally creating cards they can't use (because the barcode type is wrong) even further.

I think it's good to take a step back: what's your exact use case? You're talking about receiving text you want to store. Is this theoretical as a "this has never happened but I think it would be nice if I could" or is this something that commonly happens? How often does this happen in a way where you're not also given an image as well? What kind of workflow would this feature improve?

from android.

StevenAlexander44 avatar StevenAlexander44 commented on July 4, 2024

I often recieve emails with rewards codes (only text, no qr code), and to put them into catima, I can either paste the code into a qr generator that I already have on my phone and share that image to catima (unfortunately, I think this is faster), or I have to go through the many steps (including that warning you mentioned) to add them manually.

For the solution, it would be fine if I still manually selected "qr code" from the list, because at least then it'd only be 2 clicks, not 7. So ideally: Shared text -> directly to populating manual mode barcode chooser -> continue as normal from there.

Also, I just downloaded catima yesterday and am loving it! This has been my only issue, the rest works very well for me! Thank you for taking the time, and being very quick and polite in reviewing my request.

from android.

TheLastProject avatar TheLastProject commented on July 4, 2024

Interesting. So, if I understand correctly: they send you a plain text code and you need to show them a QR code? That feels very odd to me, I'd expect them to only ask for the number they give you.

I think your request makes some sense, but I think I'd prefer to send users straight to the "Add Card" screen with "No barcode" selected by default as I expect most such cases where you only get emailed a numeric code (like I did get from the local burger joint a few times) without them expecting a barcode would be the more common flow. You could, however, still select a different barcode very easily through the "Barcode type" dropdown, it would just default to optimizing for "no barcode" by not forcing a selection.

I'm going to label this a "good first issue" as this basically just needs a rule added to the Android Manifest, a case in the onSharedIntent function in MainActivity.java and have the onUserChoseBarcode function in the Utils.makeUserChooseBarcodeFromList extracted to its own function so it can be called even when no barcode selection was made.

from android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.