Flowtime icon indicating copy to clipboard operation
Flowtime copied to clipboard

general: Port Flowtime to Rust

Open Diego-Ivan opened this issue 1 year ago • 2 comments

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

    • [x] Port settings service
  • Timer Service:

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

    • [x] 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 avatar Aug 22 '24 18:08 Diego-Ivan

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

Rirusha avatar Jan 10 '25 13:01 Rirusha

@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.

Diego-Ivan avatar Jan 10 '25 19:01 Diego-Ivan