Pomodoro timer by the Algodrip team!

Overview

PomoDrip πŸ…

Pomodoro timer by the Algo Drip team!

To-do:

  • Create the script for the pomodoro timer
  • Design the front-end of the program (Flask or Javascript)
  • Host the project on Heroku or Vercel
Comments
  • main.py does not make use of pomo_gui.py

    main.py does not make use of pomo_gui.py

    Issue Description

    Upon compiling the project, I have noticed that main.py does not even make use of pomo_gui.py and these can be considered as separate programs alone.

    System Configuration:

    • OS: Windows 11 Pro
    • CPU: Ryzen 7 5800H with Radeon Graphics
    • RAM: 16.00GB
    • Program Version: N/A

    Suggestions

    Merge both programs to create a single program.

    bug help wanted 
    opened by fuwaa 6
  • GUI redesign and to-do list

    GUI redesign and to-do list

    Changing the layout of the GUI (Can still be changed uwu)

    Color Palette used: #EE4540 (Not yet used, meant for labels) #C72C41 (Used in texts) #801336 (Not yet used, might use for mid-tones to create depth) #510A32 (Used in Entry, Textbox, and Listbox background) #2D142C (Used in the background)

    New features!

    • To-do list
    • Entry to let people add tasks
    • Added a to-do list, insert, and delete button
    enhancement 
    opened by Neoloopy 3
  • Tkinter GUI

    Tkinter GUI

    A basic GUI built with Tkinter

    functions -direct input through the timer itself -a button that starts the count -easy conversion of hours, minutes, and seconds -pops out a window once timer reaches 0

    Issue

    • clicking the window while the timer is active crashes it (it's not a bug, it's a feature)

    Improvements needed:

    • Better design
    opened by Neoloopy 2
  • Minor improvements regarding exception handling and naming

    Minor improvements regarding exception handling and naming

    Changes;

    • Line 37: Using a catch-all exception defeats the purpose of using except, it's important to know the error to pinpoint what when wrong, hence replaced with Exception as e to pinpoint the error and TypeError for type-related issues.
    • Line 35, 38: I think it's important to let people know that they have entered 0 as a value so I put it there.
    • Rename function TimeInput to time_input: PEP 8 - Function names should be lowercase, with words separated by underscores as necessary to improve readability.
    opened by fuwaa 1
  • Convert star * import to regular import

    Convert star * import to regular import

    main.py imports tkinter and time using * imports. This will pose an issue once we add more and more features (and thus modules) to Pomodrip. If a function from Tkinter and another function from a module have the same name, they will clash and cause errors. Changing to regular imports will improve the readability of code as well.

    Suggested actions

    • Change from tkinter import * to import tkinter as tk
    • Change from timer import * to just import timer
    • Update the functions that use tkinter to reflect the changes above like StringVar() to tk.StringVar()
    opened by angelofallars 1
  • Update main.py

    Update main.py

    fixed a minor bug

    When starting the timer for the first time, the input display is "00," however, once used, the timer input display is "0."

    • added new comments but did not change the format of the original (task assigned to @izayaaaaaaa)
    • fixed 1 comment as it was in reverse
    • "minutes to hours" to "hours to minutes."
    • fixed the format of some code
    opened by Neoloopy 1
  • πŸ“ Docs: Add pull request template

    πŸ“ Docs: Add pull request template

    Description

    Added a pull request template for use with future PRs.

    Fixes none

    • [ ] Tick the box if the change requires a documentation update

    Type of change

    • [ ] Bug fix (non-breaking change which fixes an issue)
    • [ ] New feature (non-breaking change which adds functionality)
    • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
    • [x] Documentation update
    • [x] Others (please specify): Pull Request Template

    How Has This Been Tested?

    Is the code working on your side?

    • [x] Yes
    • [ ] No (why?)

    Test Configuration:

    • OS: N/A
    • Processor: N/A
    • IDE: N/A

    Checklist:

    • [X] My code follows the style guidelines of this project
    • [X] I have performed a self-review of my own code
    • [X] I have commented my code, particularly in hard-to-understand areas
    • [X] I have made corresponding changes to the documentation
    • [X] My changes generate no new warnings
    • [X] Any dependent changes have been merged and published
    opened by fuwaa 1
  • Rename main.py to old_main.py and pomo_gui.py to main.py

    Rename main.py to old_main.py and pomo_gui.py to main.py

    Fixes #2

    Decommission the original main.py, moving it into old_main.py. Development instead will continue at pomo_gui.py which will become the new main.py.

    opened by angelofallars 1
  • Work rest cycle

    Work rest cycle

    Still coding some parts but here are the current features this pull has

    features

    • Tabs
    • Work and Rest input

    current bugs

    Visual bugs

    • tabs are shown during counter
    • when rest is active, the entry keeps the last entered number in place

    After fixing a few bugs, I will soon add a way to pause the counter and save the current count to a progress bar.

    The tabs as of now are empty but will be the next update.

    opened by Neoloopy 0
  • Fix f-string is missing placeholders

    Fix f-string is missing placeholders

    As per:

    • https://sider.review/gh/repos/401946274/branches/main/commits/a876b5f3424134ee02b2326723705f43e07cc02f#issue-183498871
    • https://sider.review/gh/repos/401946274/branches/main/commits/a876b5f3424134ee02b2326723705f43e07cc02f#issue-183498872
    enhancement 
    opened by fuwaa 0
  • Merge devwithmain into dev

    Merge devwithmain into dev

    Changes

    • Convert tabs into spaces
    • Fix formatting of function parameters

    Original:

    second_entry = tk.Entry(root, font = ("Arial", 24)
    		, textvariable = second, width = 5
    		, fg = "#C72C41", bg = "#510A32"
    		, justify="center", bd = "0")
    

    Updated:

    second_entry = tk.Entry(root, font=(FONT, FONT_SIZE_ENTRIES),
                            textvariable=second, width=5,
                            fg=ENTRY_FOREGROUND, bg=ENTRY_BACKGROUND,
                            justify="center", bd="0")
    
    • Overhaul the variable names to fit Pythonic conventions (Timing to timing)
    • Refactor all repeated variables into their own constants for easier changing (Font, font size, background color, foreground color)
    # Constants
    TITLE = "PomoDrip"
    FONT = "Arial"
    BACKGROUND = "#2D142C"
    ENTRY_FOREGROUND = "#C72C41"
    ENTRY_BACKGROUND = "#510A32"
    FONT_SIZE_ENTRIES = 24
    FONT_SIZE_TODO = 12
    
    • Group all function definitions together in code
    • Put the main code into a main() function
    • Add docstrings for all functions
    • Add support for command-line arguments
    • Todo list must be specifically enabled from the command-line with the argument --todolist

    Command-line arguments

    python3 main.py --help displays the help text of the program:

    usage: pomodrip [--todolist]
    
    PomoDrip is a tkinter-based Pomodoro Timer written in Python.
    
    OPTIONS:
         --todolist   Enable a todo-list (EXPERIMENTAL)
    
    
    Report bugs to https://github.com/algodrip/pomodrip/issues
    

    To activate the todo list, type python3 main.py --todolist.

    opened by angelofallars 0
  • Experimental (Most likely buggy)

    Experimental (Most likely buggy)

    This is an experimental type of code, please do not merge it as it may break the main.py. Working on creating a fully customized title and menu bar to enable dark mode features uwu

    experimental on hold 
    opened by Neoloopy 0
  • Bug report

    Bug report

    After running some tests on the pomodrip application, this is what I've found:

    Minor bugs

    • [ ] When the timer reaches 0, the pop-up window does not show while the app is minimized
    • [ ] There is a solution to fix the application from freezing when the timer is active; however, while dragging around the application, the timer would stop even with or without the solution
    • [x] When starting the timer for the first time, the input display is "00," however, once used, the timer input display is "0"
    • [ ] While dragging the screen, there is a delay between the original point and the area it was dragged to

    Major bugs

    • [ ] When trying to close the application while the timer is active, instead of closing properly it decides to crash itself to close the window (I mean it does do its job by closing the window but I believe there's a better solution to this to make it run more smoothly) (This bug can be groundbreaking as it might mean that it's gonna be hard to stop the timer halfway through once you initialize the countdown)

      Will come up with solutions once we're in the semi-final stages of development. Correct me if I'm wrong as I remembered when fixing bugs during the early development stages, you create hidden bugs in the future resulting in code dept. So in my suggestion, it's better to fix the groundbreaking bugs first and the minor ones later once we cross that bridge.

    bug 
    opened by Neoloopy 2
Owner
Algodrip
Learning code through experience.
Algodrip
This is a pretty basic but relatively nice looking Python Pomodoro Timer.

Python Pomodoro-Timer This is a pretty basic but relatively nice looking Pomodoro Timer. Currently its set to a very basic mode, but the funcationalit

EmmHarris 2 Oct 18, 2021
⏰ Shutdown Timer is an application that you can shutdown, restart, logoff, and hibernate your computer with a timer.

Shutdown Timer is a an application that you can shutdown, restart, logoff, and hibernate your computer with a timer. After choosing an action from the

Mehmet GΓΌdΓΌk 5 Jun 27, 2022
A simple countdown timer in eazy code to show timer with python

Countdown_Timer The simple CLI countdown timer in eazy code to show timer How Work First you fill the input by int--> (Enter the time in Seconds:) for

Yasin Rezvani 3 Nov 15, 2022
A pomodoro app written in Python

Pomodoro It's a pomodoro app written in Python. You can minimize it while you're working if you want to, it'll pop up on your screen when the timer is

Yiğit 1 Dec 20, 2021
Cute study buddy that helps you study with the Pomodoro technique!

study-buddy Cute study buddy that helps you study with the Pomodoro (or Animedoro) technique! Kirby The Kirby folder has a Kirby, pink-themed Pomodoro

Ethan Emmanuel 1 Jan 19, 2022
A tool for study using pomodoro methodology, while study mode spotify or any other .exe app is opened and while resting is closed.

Pomodoro-Timer-With-Spotify-Connection A tool for study using pomodoro methodology, while study mode spotify or any other .exe app is opened and while

null 2 Oct 23, 2022
Simple logger for Urbit pier size, with systemd timer template

urbit-piermon Simple logger for Urbit pier size, with systemd timer template. Syntax piermon.py -i [PATH TO PIER] -o [PATH TO OUTPUT CSV] systemd serv

null 1 Nov 7, 2021
A timer for bird lovers, plays a random birdcall while displaying its image and info.

Birdcall Timer A timer for bird lovers. Siriema hatchling by Junior Peres Junior Background My partner needed a customizable timer for sitting and sta

Marcelo Sanches 1 Jul 8, 2022
CountdownTimer - Countdown Timer For Python

Countdown Timer This python script asks for the user time (input) in seconds, an

Arinzechukwu Okoye 1 Jan 1, 2022
Minutaria is a basic educational Python timer used to learn python and software testing libraries.

minutaria minutaria is a basic educational Python timer. The project is educational, it aims to teach myself programming, python programming, python's

null 1 Jul 16, 2021
Team Curie is a group of people working together to achieve a common aim

Team Curie is a group of people working together to achieve a common aim. We are enthusiasts!.... We are setting the pace!.... We offer encouragement and motivation....And we believe TeamWork makes the DreamWork.

null 4 Aug 7, 2021
A Red Team tool for exfiltrating sensitive data from Jira tickets.

Jir-thief This Module will connect to Jira's API using an access token, export to a word .doc, and download the Jira issues that the target has access

Antonio Piazza 82 Dec 12, 2022
The official repository of iGEM Paris Bettencourt team's software tools.

iGEM_ParisBettencourt21 The official repository of iGEM Paris Bettencourt team's software tools. Cell counting There are two programs dedicated to the

Abhay Koushik 1 Oct 21, 2021
LPCV Winner Solution of Spring Team

LPCV Winner Solution of Spring Team

null 22 Jul 20, 2022
Shows VRML team stats of all players in your pubs

VRML Team Stat Searcher Displays Team Name, Team Rank (Worldwide), and tier of all the players in your pubs. GUI WIP: Only username search works (for

Hamish Burke 2 Dec 22, 2022
WildHack 2021 solution by Nuclear Foxes team (public version).

WildHack 2021 Nuclear Foxes Team This repo contains our project for the Wildberries Hackathon 2021. Task 2: Searching tags Implement an algorithm of r

Sergey Zakharov 1 Apr 18, 2022
PKU team for 2021 project 'Guangchangwu detection'.

PKU team for 2021 project 'Guangchangwu detection'.

Helin Wang 3 Feb 21, 2022
Team Hash Brown Science4Cast Submission

Team Hash Brown Science4Cast Submission This code reproduces Team Hash Brown's (@princengoc, @Xieyangxinyu) best submission (ee5a) for the competition

null 3 Feb 2, 2022
Shared utility scripts for AI for Earth projects and team members

Overview Shared utilities developed by the Microsoft AI for Earth team The general convention in this repo is that users who want to consume these uti

Microsoft 38 Dec 30, 2022