Code Monkey home page Code Monkey logo

Comments (5)

TheLastProject avatar TheLastProject commented on July 20, 2024

Comment by brarcher
Monday Mar 19, 2018 at 03:02 GMT


I never thought of a card that would expire. But you are right, that is possible.

In the previous layout adding new fields was easy: just throw it in the list. The new layout, though, will be trickier. Where would you think this data should be presented? Should it appear in the summary list, or only when viewing a single card? Could you give a mock-up of how you seeing it look?

What happens when a card expires? Is the field data only, in which case nothing happens?

When there is metadata I want to keep about a card I'll put it in the note field. Would adding the expiration date to the note field work (as a workaround) or would it be kludgy?

from android.

TheLastProject avatar TheLastProject commented on July 20, 2024

Comment by ghost
Sunday Mar 25, 2018 at 19:37 GMT


I thought it would make sense to cross out the entry in the overview list and write the text of the entry in italics once the card has expired.
If you look at a single customer card, the field should of course also be visible, because you can edit the card from there.
As a workaround, I write "expired" in the notes field. It is nice, but changing or adding it is easy to forget.
I could give a mock-up of how I see it looking but it would take some time.

from android.

TheLastProject avatar TheLastProject commented on July 20, 2024

Comment by brarcher
Monday Mar 26, 2018 at 14:43 GMT


I think a mock-up would be helpful. The edit screen is understandable:

The date can be picked with the date picker.

and the card selection screen is simple enough:

cross out the entry in the overview list and write the text of the entry in italics once the card has expired.

What about the view which looks at one card? I'm wondering how that should appear? Also crossing out and italics?

from android.

TheLastProject avatar TheLastProject commented on July 20, 2024

I need to still fix the relevant unit tests but 6488dc0 implements this pretty much.

from android.

TheLastProject avatar TheLastProject commented on July 20, 2024

Okay, the unit tests finally work. So the next release will contain the option to set an expiry :)

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.