aboutsummaryrefslogtreecommitdiffstats
path: root/src/list_item.cpp
Commit message (Collapse)AuthorAge
* Use smart pointers with AP classes and InstanceConfuSomu2024-03-20
|
* Fix harmless missing return for non-void functionConfuSomu2024-02-06
| | | | | | choose_icon's switch statement was missing a return statement for the default case, which would be unreachable anyways (unless in the case of a bug) as all enum values are already covered.
* Show status list item tooltip regardless of NDEBUGConfuSomu2024-01-08
| | | | This shows the tooltip even when making a release build.
* Make status list item tooltip translatableConfuSomu2024-01-08
|
* Move status info widget to its own widgetConfuSomu2023-11-12
| | | | | | | It is responsable of processing list items which are given to it, via signals, and then displaying them on the interface. Making this widget separate and modular will allow creating more advanced status views that aren't only HTML-based and that are more intuitive to use.
* Implement archive method for getting APActivityConfuSomu2023-09-12
| | | | | | This replaces the existing method that returns HTML with a method that gives us an APActivity object, which is more precise and allows more extension in the future.
* Display status type icons in status listConfuSomu2023-08-16
| | | | | | | | These icons allow users to identify the type of status with ease. I had to make — hand draw — custom icons as I didn't find any suitable icons in the Free Desktop Icon Theme Specification. Note that these icons are currently suitable only for a light theme. Support for a dark theme shouldn't be too hard to add.
* Implement basic multithreading supportConfuSomu2023-07-10
| | | | | | A few CPU heavy operations, which are opening an archive and displaying a selected Activity, have been moved to another thread to avoid having long-running operations on the main thread.
* Rename ListItem class to StatusListItemConfuSomu2023-04-06
| | | | The new class name is more descriptive about how it is used.
* Move call to get status HTML info into ListItemConfuSomu2023-04-06
| | | | | This makes the code less of a mess and will allow moving more of the code that renders HTML status info into the ListItem class.
* Implement Announce activity supportConfuSomu2023-02-25
| | | | | | This commit adds support for listing Announce activities/reblogs in the status list. These can be hidden using the new "Show reblogs" action in the "View" menu.
* Allow only listing statuses which have attachmentsConfuSomu2023-01-05
|
* Display status info when list item activatedConfuSomu2023-01-05
|
* Determine status typeConfuSomu2022-12-28
|
* Only initialize each QIcon onceConfuSomu2022-12-28
|
* Store metadata of items that are in status listConfuSomu2022-12-27
There is more control and customizability of elements added to the status list, which allows us to set the icon used and also to store additional information about the status that has been selected, useful when we have to display it with more detail.