Skip to content

general: Port Flowtime to Rust#103

Draft
Diego-Ivan wants to merge 19 commits intomainfrom
rust-port
Draft

general: Port Flowtime to Rust#103
Diego-Ivan wants to merge 19 commits intomainfrom
rust-port

Conversation

@Diego-Ivan
Copy link
Owner

@Diego-Ivan Diego-Ivan commented Aug 22, 2024

This is a proof of concept and I will eventually decide if I really want to port Flowtime to Rust (probably yes though)

TODO:
This is a proof of concept and I will eventually decide if I really want to port Flowtime to Rust (probably yes though)

TODO:

  • Main Window

    • Confirm close dialog when a timer is running
  • Application

    • Inhbit shutdown when a timer is running
    • Pause timer once the state has changed
  • Settings Service

    • Port settings service
  • Timer Service:

    • Add Work/Break Mode
    • Save progress into statistics
    • Use settings to automatically start next stage
  • Statistics Service:

    • Load and save statistics
    • Discard the days that are already over the user-set limit
    • Reimplement 'most productive day of the week' feature
    • Expose API to get week, month and all time work/break times
  • Color Provider

    • Port Color Provider service
    • Consider whether or not to use the user's preferred accent colors or hard-code Flowtime's Blue and Green
  • Background Status:

    • Port background status service
  • Screensaver Service

    • Port screensaver service
  • Pending Widgets to port:

    • Preferences Window
    • Timer Page
      • Fix bug that shows the wrong icon for pause/play
    • Sound row
    • Stat Graph
    • StatInfo + StatPage
      • Reimplement using the GtkFilterListModel models for break and work lists
      • Maybe consider implementing filtering by time period

@Diego-Ivan Diego-Ivan marked this pull request as draft August 22, 2024 18:27
@Rirusha
Copy link
Contributor

Rirusha commented Jan 10, 2025

A matter of curiosity: What's wrong with Vala?

@Diego-Ivan
Copy link
Owner Author

@Rirusha Nothing wrong with Vala, I really like it. I just wanted to experiment more with other languages since Vala was the only one I was writing for apps, and I also like Rust so I just gave it a chance for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants