June 16, 2025
I forgot to mention in the last update that I created a system for saving data from the UI to a .pkl file (with overwrite confirmation and more, thats why it's 2,5 h devlog). Icon creation was probably registered as around 15 minutes in Hackatime because I used Inkscape and edited a few colors in VS Code.
After few days (1-3, don't remember), I checked if saving was working, and on the version downloaded from GitHub, it wasn't. So 30 min of work and I fixed it. The folder used for saving was wrong (now it's %appdata%\Launkey\Launkey_Templates on windows).
Today I started making template editor back-end. It will be based on objects and their manipulation. Currently, the app only has a main Template class, which has name and type (so you can have sliders and other control elements, rather than just shortcuts to buttons). For now, I will only implement the BUTTONS type because it's simpler. Properties of the template can be now edited in the left side of the widow. Development has slowed down because school has started, and I have less time for programming.
Wow 5h? That was a lot... But little progress... WHY?! Now I know more about Qt, but at what cost...
I have:
- rewritten the code, now other people can (probably) read it
- created a new custom classes for Buttons (so, less repetition in code)
- removed unused dependences
- and made some other small fixes (suggested by DeepSource)
So, last time I forget to post devlog, so I don't remember everything.
I finished a class for presets window, now it's displaying plus buttons and main object. It was hard to make something that worked.
Today, I was trying to rework the async parts of my code, but nothing was working so I just changed few imports...
Today, I focused on fixing code readability, because I started reading a book - Clean Code: A Handbook of Agile Software Craftsmanship. It's more about Java, but many of its principles are applicable to Python as well. I changed few functions and created two classes (LaunchpadWrapper and GUITable).
Also, I tested the build process (dev briefcase) on Linux. I had a problem, launchpad wasn't connecting to my app. It turned out that I need to install pygame using dnf not pip.
I’ve finished designing the UI for the template editor. I used Qt Creator for this, but since it doesn’t support the WakaTime plugin, some of the time I spent wasn’t tracked. Now I just need to create a custom layout for it.
I also changed the VS Code debugging command. Now it will track my hours properly. Previously, I was using ‘node-terminal’, and sometimes I forgot to click the stop debug button after closing my app, so some extra time (around 2–3 hours) was counted when I wasn’t actually programming. Now I switched to ‘debugpy’, which automatically stops debugging. It also has more features, like breakpoints and inline errors.
Rewriting took too long. I have changed my mind and created a GitHub Action to automatically rewrite the Firefox add-on to the Chrome one. The only thing that holds the release of the add-on is privacy settings in the Chrome Web Store. I still need to fill them. Also added better Privacy Policy.
Control your game with Launchpad. Compatible only with Windows and Linux. This is an app that you can use to assign shortcuts to Launchpad. It's based on templates that you can edit. The app is still very buggy and lacks a lot of features. Ai is used as spellcheck (my English isn’t great) and to help me code (in line suggestions, code rewriting, etc.)
This is continuation of older project for Journey! Simple (Firefox and now Chrome) browser extension for GitHub to add tasks count on the issues page. I have added new functions, fixed bugs and made it work with Chrome. More customization options soon! For link to Chrome version click demo button. For link to Firefox version click repo button then click “Get the Add-on”. Ai was used as spellcheck (my English isn’t great) and to help me code (in line suggestions, code rewriting, etc.)
This was widely regarded as a great move by everyone.