Code Monkey home page Code Monkey logo

tanda_cli's People

Contributors

danielgilchrist avatar

Watchers

 avatar  avatar  avatar

tanda_cli's Issues

Representers shouldn't be returning newlines

Currently there's weird spacing for some of the commands that make use of Representers::SomeModel and this is mostly because they output a "\n" after outputting their contents. We should give control to the caller to determine when this is necessary

Clock in validations don't account for manually updated shift / shift breaks

Clock in validations work great if the only changes to a shift and its breaks are made through clock ins (timeclock, gps clock in, clockin command) but end up incorrectly throwing validation errors or letting invalid clock ins go through if it's edited directly. The logic should probably be determining the state based on the shift and its breaks instead

Allow specifying clock in images

Using an existing webcam device would be too difficult and potentially invasive so it would be nice to be able to specify a specific image or directory to sample from for clock in photos

Ongoing breaks don't take away from time worked

When taking a break the time during the break is still displayed as time worked until the break finishes for the time_worked command

Example: Second break taken at 5:07pm and it is now 8:01pm
image

Manually add time to shift

If you forget to clockin you have to manually update the shift. It'd be nice to have a command to add the time you should have clocked in to the shift

Configure start of week

This currently only applies to the time_worked week command but currently Monday is the default week start day. It'd be nice if this was configurable

Auto determine clockin type

Clockins are already validated by default when using tanda_cli clockin start, tanda_cli clockin finish, etc so that you don't accidentally clock in when you meant to clock out and vice versa. When the validation error appears you're usually just going to follow its suggestion and use the correct command so what if we didn't have to specify the type at all? A command like tanda_cli clockin auto or something could be nice

Don't register commands that can't be used based on selected scopes

After #132 a user can select the scopes they want tanda_cli to have access to when requesting a token.

Currently it shows this error message if you use a command
image

I think it'd be nicer if commands that require scopes that weren't authorised aren't registered at all and therefore don't show in the help menu and can't be called from the CLI

Leave overview

A command that gives you an overview of your leave taken, future leave and how much leave you have left

Only run nightly CI checks on master

Nightly is a lot more likely to fail from existing code / shards than changes in a PR so it doesn't really make sense to block the PR if the check fails. I think it makes sense to only run nightly on main and fix any issues in another branch rather than in the branch it fails on

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.