Giter Club home page Giter Club logo

Comments (7)

dominikbraun avatar dominikbraun commented on June 8, 2024 2

Was your intention that the files are human readable? Or doesn't that matter?

If I'm not missing something, it doesn't really matter. My suggestion would be to implement it as @joshuaherrera said, find a well-designed solution in the meantime and then migrate to that solution in a later release.

from timetrace.

sfrique avatar sfrique commented on June 8, 2024 1

I also see that It does not update old records.

What I expected when I renamed a project, everything else would be renamed to use that new project, but when I list old records, It does still show old project name.

from timetrace.

dominikbraun avatar dominikbraun commented on June 8, 2024

Good point, thanks. There are two solutions:

  • Automatically rename the file to the key after editing the record.
  • Introduce a --rename flag explicitly for renaming projects and changing the filename there.

@aligator PTAL

from timetrace.

joshuaherrera avatar joshuaherrera commented on June 8, 2024

@dominikbraun I'd like to handle this issue, can you assign this to me?

Also, can you think of a more optimal way of renaming the projects on the records, aside from looping through each date folder and .json file?

from timetrace.

dominikbraun avatar dominikbraun commented on June 8, 2024

Also, can you think of a more optimal way of renaming the projects on the records, aside from looping through each date folder and .json file?

Unfortunately not... 🤔 @aligator?

from timetrace.

aligator avatar aligator commented on June 8, 2024
  • Could we add something like an "index" file for each project where all files are listed that are part of the project?
  • It would be easier if the files would use an ID instead of the project name.

Was your intention that the files are human readable? Or doesn't that matter?

from timetrace.

dominikbraun avatar dominikbraun commented on June 8, 2024

My suggestion would be to implement it as @joshuaherrera said, find a well-designed solution in the meantime and then migrate to that solution in a later release.

So my solution to this can be found in #156.

from timetrace.

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.