Recent

Author Topic: Hustle - A simple task manager  (Read 4723 times)

Hansvb

  • Hero Member
  • *****
  • Posts: 772
Re: Hustle - A simple task manager
« Reply #15 on: March 15, 2025, 07:42:04 pm »
Hi
I downloaded it and tested it. Now it works well. I had to delete the old ini file in the roaming folder first otherwise I got an error message.

What I would do differently myself is make the automatic opening of the database optional (and catch the error better). Because the program wants to open a database automatically and if there is none, you get an error message that probably doesn't mean anything to an regular user. (just my 2 cents).

info
I tested on Win 11 and the sqlite3.dll version is 3.31.1.0 (27-1-2020). I guess a fairly old sqlite3.dll. Maybe that's why I got stuck on the unixepoch. (Not looked at it any further).

Wesbat

  • New Member
  • *
  • Posts: 42
    • engrams.dev
Re: Hustle - A simple task manager
« Reply #16 on: March 17, 2025, 07:00:23 am »
Thanks for confirming the change works Hansvb and jcmontherock, and additionally the issue was due to using an older version of the SQLite DLL. Using the backwards-compatible method is much better.

Quote
What I would do differently myself is make the automatic opening of the database optional (and catch the error better). Because the program wants to open a database automatically and if there is none, you get an error message that probably doesn't mean anything to an regular user. (just my 2 cents).

Yes that sounds sensible, I will create a task to handle this in a better way, thanks for the good feedback.

Hansvb

  • Hero Member
  • *****
  • Posts: 772
Re: Hustle - A simple task manager
« Reply #17 on: March 17, 2025, 07:54:32 am »
Quote
I will create a task to handle this
  nice one  :)

cris75

  • Jr. Member
  • **
  • Posts: 68
Re: Hustle - A simple task manager
« Reply #18 on: March 18, 2025, 12:26:03 pm »
Quote
I will create a task to handle this
  nice one  :)
yes, very "on topic", funny   :)
Lazarus: 3.2 / FPC: 3.2.2 [x86_64-win64-win32/win64]
Win10 x64
Debian 12

cris75

  • Jr. Member
  • **
  • Posts: 68
Re: Hustle - A simple task manager
« Reply #19 on: March 18, 2025, 12:53:14 pm »
I tried it too, nice work  :)
just my 2 cents, I think it makes sense to clear htmlNotes after a new database is created, it's just my idea

Code: Pascal  [Select][+][-]
  1. procedure TMainForm.actNewDatabaseExecute(Sender: TObject);
  2. begin
  3.   if SaveDialog1.Execute then
  4.   begin
  5.     if OpenDatabase(SaveDialog1.FileName) then
  6.     begin
  7.       Appcfg.AddFileToHistory(SaveDialog1.FileName);
  8.       PopulateRecentFileHistory;
  9.       htmlNotes.Clear; //<-- Clear htmlNotes
  10.     end;
  11.   end;
  12. end;
  13.  

p.s.
in "New Task" form, if i try to insert a new task and then just close the form via top-right close button, I'm asked if i want to save changes, but if I select yes it raises an exception, in the source editor I'm pointed to winapi.inc, function TextOut line 1049.
Instead by clicking "Save" via menu it works correctly
Lazarus: 3.2 / FPC: 3.2.2 [x86_64-win64-win32/win64]
Win10 x64
Debian 12

Wesbat

  • New Member
  • *
  • Posts: 42
    • engrams.dev
Re: Hustle - A simple task manager
« Reply #20 on: March 29, 2025, 04:03:19 am »
Thank you CRIS75, I added the Clear command as you suggested.

Thanks you Hansvb, I added a new option (settings/other) to "Open most recent database on application start" so the user can choose the behaviour they prefer.

These changes are in the repo's main branch.

cris75

  • Jr. Member
  • **
  • Posts: 68
Re: Hustle - A simple task manager
« Reply #21 on: March 29, 2025, 05:14:19 pm »
Hi Wesley,
thank you, I appreciate your work :)
I'am on Debian (KDE Plasma) and my current LCL widget set for Hustle is qt5.
Just a "cosmetic" suggestion useful (i hope) when a user is in task insert mode, maybe I would remove the captions for pnlTaskNotes and pnlNoteEditorAndPreview, shouldn't hurt anything else, see attachment, have a nice weekend :)
Lazarus: 3.2 / FPC: 3.2.2 [x86_64-win64-win32/win64]
Win10 x64
Debian 12

Wesbat

  • New Member
  • *
  • Posts: 42
    • engrams.dev
Re: Hustle - A simple task manager
« Reply #22 on: March 30, 2025, 06:32:20 am »
Just a "cosmetic" suggestion useful (i hope) when a user is in task insert mode, maybe I would remove the captions for pnlTaskNotes and pnlNoteEditorAndPreview, shouldn't hurt anything else, see attachment, have a nice weekend :)

Ah well spotted! Done, and thanks Cris :)

 

TinyPortal © 2005-2018