Comments (7)
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.
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.
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.
@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.
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.
- 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.
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)
- Remove exclamation mark (`!`) from error messages HOT 1
- Make help for `timetrace create record` sensitive for `use12hours` HOT 1
- Migrate from CircleCI to Github Actions HOT 3
- Runtime Error when using timetrace start HOT 3
- Tags don't show up in `timetrace report`
- Check record collisions when editing a record HOT 5
- Update brew formula HOT 1
- Feature Request: Add description field in records
- [feature request] list records by specified range HOT 2
- bad CPU type in executable (Apple M2 Max) HOT 1
- Time recording stops at midnight
- Please bump golang.org/x/sys dependency HOT 1
- Should ignore extraneous files in the `.timetrace` directory
- Idea: Implement a feature to flag records as "billed" with an automatic marking function during report creation
- BUG: failed to edit project: fork/exec /usr/bin/nano: no such file or directory
- Maintained? HOT 1
- `create record` only works when I create the folder manually
- [enhancement request] add autocomplete for project names to the bash autocomplete function
- [bug] Cannot edit a record that had its initial timestamp edited
- Allow billable value to be set globally, by project, and by record
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from timetrace.