-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
31 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
|
||
## Structure | ||
|
||
- `run.py`: The main entry point. | ||
- `src/`: The main package directory. | ||
- `app.py`: Defines the main window and tab view, into which the three visible frames are packed. | ||
- `utils.py`: Loading and saving data, configuration. | ||
- `frames/`: | ||
- `pomodoro_frame.py`: Entire timer functionality + storing data + communicating with Rich Presence. | ||
- `settings_frame.py`: Updates config. | ||
- `stats_frame.py`: Displays stats and graphs. | ||
- `reusable/`: Reusable UI components. | ||
- `entry_frame.py`: For settings_frame.py, where you put in custom durations for the pomodoro. | ||
- `statistic_display.py`: For stats_frame.py. | ||
- `logic/`: Logic separate from customtkinter. | ||
- `richpresence.py`: The Discord Rich Presence integration - editable, but if you change function args go to pomodoro_frame.py update_rpc. | ||
- `graphs.py`: matplotlib plots using data collected. | ||
- `sounds/`: Beep. | ||
- `themes/`: Responsible for all colors in the GUI. Theme is loaded on launch in run.py. | ||
|
||
## File Dependencies | ||
|
||
- `run.py` imports and uses `src/app.py`. | ||
- `src/app.py` imports and uses `src/frames/*` and `src/utils.py`. | ||
- `src/frames/pomodoro_frame.py` imports and uses `src/utils.py` and `src/logic/richpresence.py`. | ||
- `src/frames/settings_frame.py` imports and uses `src/components/entry_frame.py` and `src/utils.py`. | ||
- `src/frames/stats_frame.py` imports and uses `src/components/statistic_display.py`, `src/utils.py`, and `src/logic/graphs.py`. | ||
|
||
## When running make sure you're in pomodoro-discord/pomodorodiscord. |
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
File renamed without changes.
File renamed without changes.