Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show warning if entries are overlapping #347

Open
guettli opened this issue Apr 4, 2023 · 2 comments
Open

Show warning if entries are overlapping #347

guettli opened this issue Apr 4, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@guettli
Copy link

guettli commented Apr 4, 2023

I would like to see a warning, if entries are overlapping.

Or better: I never want entries to overlap. It would be nice if I could set a related flag my settings.

@almarklein
Copy link
Owner

The way records are visualized in the timeline now, overlap should always be visible. To be precise, the smaller record is always drawn on top of a larger record. Do you mean that you'd like a more clear indicator when overlap occurs?

I never want entries to overlap. It would be nice if I could set a related flag my settings.

Could you explain the use-case a bit more? Do you want to prevent overlap from dragging records in the timeline (which is already prevented via a snapping mechanic), or are you thinking about setting start and stop times in the dialog?

Outright preventing overlap is not feasible, because technically another client (e.g. the TimeTagger CLI) can create overlapping records. Best we can do is prevent/discourage it in the web app.

@almarklein almarklein added the Idea label Apr 4, 2023
@guettli
Copy link
Author

guettli commented Apr 5, 2023

I am thinking about setting start and stop times in the dialog.

That's where I accidentally created overlapping entries.

I would like to see a warning in the dialog and in the overview of the current day.

Even a small overlap can create errors in upstream services. That's why I want to get a warning, even if there is a small overlap.

@almarklein almarklein added enhancement New feature or request and removed Idea labels Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants