Coder Social home page Coder Social logo

klaster1 / timer-5 Goto Github PK

View Code? Open in Web Editor NEW
29.0 29.0 8.0 6.45 MB

A simple time-tracking tool

Home Page: https://klaster1.github.io/timer-5

License: MIT License

JavaScript 0.73% TypeScript 78.75% HTML 13.97% SCSS 6.55%
time-management time-management-app time-management-tools time-tracker time-tracking time-tracking-app

timer-5's People

Contributors

daureg avatar klaster1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

timer-5's Issues

Can't save a session with empty "end"

image
How to reproduce:

  1. Edit a running session or remove the end time for a finished session.
  2. Submit the edits.

What happens:
An error is logged, the session is not updated.

Expected:
The sessions is updated.

Active task indication

When switching between tasks, I sometimes forget to start the next one or stop the current one. I am aware of this and have to manually checks the status from time to time, which gets annoying.

If current task status was even more visible, checking it would take less effort. Since the most visible part of the page is the browser tab favicon, it can be used as an indication channel.

Add more button tooltips

Some buttons lack tooltips, I don't think that's good for feature discoverability:

  1. Toggle filter panel.
  2. Add task.
  3. Reset filter input value.
  4. Filter presets dropdown.

All tasks total value blinks when changing filter

How to reproduce:

  1. Create several tasks.
  2. Start a task.
  3. Change the "Name" filter value.

What happens:
The total value in the task list title blinks.

Expected:
The total value does not blink.

Note:
The issue is similar to #5.

Cover the app with tests

At the moment, there are no tests at all. This has already proved a headache during major refactorings. Given how simple is the app, E2E tests should be more than enough, maybe with a pinch of unit tests.

Filter bar chart does not shrink

How to reproduce:

  1. Make sure the browser viewport takes up half of the screen space.
  2. Open the filter panel.
  3. Expand the browser window so it takes up the whole screen.
  4. Shrink the window back.

Observed behavior:
The bar chart takes up the same width as in the full-screen window.
image

Expected:
The bar chart shrink to the same size as on the step 2.

Wrong sessions and task in "yesterday" filter

How to reproduce:

  1. Have some non-running tasks logged during yesterday.
  2. Start a task today.
  3. Apply the "Yesterday" filter.

What happens:
The running task and its session appear in the results.

Expected:
Neither task nor its sessions appear in the results.

image

Removing a session removes the wrong session

How to reproduce:

  1. Tave a task with two sessions.
  2. Remove the second session.

What happens:
The first session is removed.

Expected:
The second session in removed.

Notes to myself:
This probably happens because sessions are filtered and indexes might not match between raw and sorted datasets. Using [start, end] as a key might work.

Workspace/projects?

Hey,

is there a way to sort multiple projects/workspaces in this project?

Love the deisgn other than this little detail!

Thanks for this!

Move a session to task

Sometimes, I create the session in the wrong task. It would have been nice to be able to move the session to the right task instead of painstakingly duplicating it by editing.

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.