Skip to content

Check record collisions when editing a record #203

Open
@dominikbraun

Description

@dominikbraun

At the moment, record collision checks are only performed when creating a belated record using timetrace create record but not when editing an existing record.

This needs to be changed by calling t.RecordCollides when running timetrace edit record.


What is record collision?

Say you have 2 records:

  • 3PM - 4PM
  • 5PM - 8PM

And you want to insert a new one:

  • 7PM - 9PM

This record collides with the second (5PM - 8PM) record, because it lies within that record. timetrace doesn't allow this.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesthelp wantedExtra attention is needed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions