Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Progress 2.0 #26

Draft
wants to merge 129 commits into
base: main
Choose a base branch
from
Draft

Progress 2.0 #26

wants to merge 129 commits into from

Conversation

smolBlackCat
Copy link
Owner

@smolBlackCat smolBlackCat commented Jun 19, 2024

A series of features will be implemented in this iteration of the application. The branch is not expected to work 100% all of the time as it is development focused.

Features

* Update POTFILES
* Update progress-tracker.pot
* Update all available .po files
@smolBlackCat smolBlackCat self-assigned this Jun 19, 2024
smolBlackCat and others added 28 commits June 23, 2024 18:29
Fix bug where the background was saved only if the board's name was modified as well

(cherry picked from commit 550e25b)
(cherry picked from commit fb491d1)
* Add task removal
* Add click gestures for TaskWidget objects
* Update Brazilian Portuguese Translation
* Mark "Task Name" string as translatable
* Remove unnecessary includes
* Bundle all binary objects into 'progress-tracker'
runtime error

* Include <app_info.h> where necessary
* Set GSK_RENDERER to opengl only on WINDOWS PLATFORMS
* Hide button frames of EditableLabelHeader objects
Because BoardBackend::load is proper for locking the GUI main loop, mainly when
connecting to the internet, a better approach to the problem is to simply delegate
the task of loading board data into memory to a thread. Current issue is that the
background does not seem to be updated even after properly synchronising data
access with std::mutex and Glib::Dispatcher
…card

This is a quick fix, but it stems from a fundamental problem that the data model is poorly
designed
…e the AdwAboutDialog

Adwaita and GTK are meant to work together, not the other way around apparently. Even though it was possible
to set a AdwAboutDialog to a GtkApplicationWindow, it appears that it's been a silent problem for some months, causing the app to break.
By adding class scope, we don't need to allocate memory every time the user opens the card dialog. The approach taken is to define a CardDetailsDialog instance as a member of ProgressWindow and have a CardWidget get the root (ProgressWindow) and open the dialog. The functionality is as equivalent as the later implementation.

The memory leak is still in investigation since the approach taken by the app is quite new. Also GTK is known to quite lazy when dealing with memory pages
* Remove can-close workaround
* Properly use AdwDialog builder UI
* Properly use AdwDialog UI builder
* Remove can-close=false workaround to be able to close dialogs using adw_dialog_force_close
@smolBlackCat smolBlackCat changed the title Cool new features Progress 2.0 Dec 27, 2024
In this commit the application have shortcuts that does the almost the same thing as the buttons in the applications (e.g home button, add card button, add cardlist button etc).
CardWidget is a custom Gtk::Widget child. This allows more freedom for extensibility later. Dynamic allocation by default is extinct for simpleness reasons
smolBlackCat and others added 10 commits January 2, 2025 11:22
* Fix bug where card's title was not correctly set
* Update header docs
* Clean header includes
* Update Brazilian Portuguese Translation
This reverts commit 38f9b4c.

This commit was a test on how AI can be used to automatically translate texts. Results?
Incomplete translations and hallucinations everywhere (marked-for-translation strings tha
 were not there).

It is a useful tool, but human intervention is still necessary
* Update Shortcuts Entry
* Update translation strings
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.

1 participant