Giter Club home page Giter Club logo

Comments (8)

creecros avatar creecros commented on July 24, 2024

If it's defined in the settings, it creates the field, and offer's you the ability to enter a value. I could hide empty fields in the summary, is that what you are asking?

from metamagik.

TheCloud avatar TheCloud commented on July 24, 2024

No really - from the UI you don’t see it, from the database the metadata in tasks_has_metadata should be deleted if empty

from metamagik.

creecros avatar creecros commented on July 24, 2024

Think about it like this:
If you leave the task description empty, it is left empty in the database.

I'll take a look and see what I can do though. Hiding empty might be the best I can do, but maybe not. I know I wrote in the code, to force them to be created as empty, and I feel like there was a reason for it.

from metamagik.

creecros avatar creecros commented on July 24, 2024

no_empty_field branch.

Test it, make sure it works and is what you had in mind.

from metamagik.

creecros avatar creecros commented on July 24, 2024

crap, now I remember why I added it.
When you go to modify the task...the field is non existent to update and you get:
Internal Error: SQL Error: SQLSTATE[HY000]: General error: 1 no such column: metamagikkey_Cost

need more time to fix apparently.

from metamagik.

creecros avatar creecros commented on July 24, 2024

but that's not the table_has_metadata where the error is occurring....because it is only ever "metamagikkey_" during the form stage....so I think that it is trying to put that form value into the task table....my brain isn't working anymore...take a look and see if you can figure it out. It will be in the NewTaskModificationModel.php somewhere.

from metamagik.

creecros avatar creecros commented on July 24, 2024

I'm going to keep empty values, but will hide them whereever there is visual feedback. No one will ever know they exist, unless the litteraly go into the database.

from metamagik.

creecros avatar creecros commented on July 24, 2024

empty values are now hidden.

from metamagik.

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.