GithubHelp home page GithubHelp logo

geexup / clockify-telegram-bot Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 57 KB

Telegram bot for Clockify (@clockify_bot)

License: MIT License

TypeScript 98.21% Dockerfile 1.79%
bot clockify telegram timetracker

clockify-telegram-bot's People

Contributors

geexup avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

clockify-telegram-bot's Issues

Workspace does not change

If you change workspace on clockify.me and than try to fill day with some projects, menu with projects will contain only projects from old workspace. ๐Ÿ˜ž

Big amount of projects in workspace

If you have more than 50 projects in the workspace, they will not be displayed as an option in the fill day menu.

image

Some sort of pagination is required here ๐Ÿ”ข

Failed weekly report

Weekly report crashed before image rendering:

Ooops TypeError: Cannot read property 'name' of undefined
    at _loop_1 (/Users/lexyudin/projects/clockify-autobot/src/scenes/report/reports/week.ts:65:37)
    at /Users/lexyudin/projects/clockify-autobot/src/scenes/report/reports/week.ts:135:25
    at step (/Users/lexyudin/projects/clockify-autobot/src/scenes/report/reports/week.ts:43:23)
    at Object.next (/Users/lexyudin/projects/clockify-autobot/src/scenes/report/reports/week.ts:24:53)
    at fulfilled (/Users/lexyudin/projects/clockify-autobot/src/scenes/report/reports/week.ts:15:58)
    at process._tickCallback (internal/process/next_tick.js:68:7)

Because the project variable was undefined

const project = projects.find((item) => item.id === projectId);

Project.get() returns only 50 projects. Projects from timesheet were not represented in this range.

const projects = await getClockify(ctx).workspaces(activeWorkspace.id).projects.get();

On Timesheet page, Clockify frontend uses the entriesInRange method which is not declared in API. Maybe this will work.

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.