Releases: thegli/yfquotes-cinnamon-desklet
Style your quotes
Ever wanted to highlight certain quotes so they are easier to spot in the list? Or simply want to brighten up your day with a touch of color? This release makes it possible with individual quote styling!
The customization options include text color, font style and font weight for the name and the symbol, as well as the assignment of a custom name to a quote.
Here's how the sample from the README looks like (where you also find the description of the syntax):
Behavior change on quotes list modification
As part of the resolution of some nasty internal technical issues, modifications in the quotes list (and the custom User-Agent option) are not immediately reflected in the desklet view anymore. Instead, there is now a refresh button on the first tab of the settings which allows you to perform a manual data reload and view update. All the other settings (details, presentation, layout) are not affected by this change.
I'm aware that this is not an ideal outcome for all scenarios, and future releases might improve on this.
And just to be clear: Any changes in the quotes list are still automatically preserved, and will be applied on the next data update cycle. No entries are lost if the refresh button is not clicked.
Customize font and time formats
This release brings configuration settings to control the size and color of text, and the format of date and time information.
Before, the font size was always derived from the global system settings. Depending on the screen dimension and display resolution, the text might have shown up as too small or too large.
Now, you can enable font scaling which allows to render text larger or smaller, independent of the system settings.
Similar to the font size, the presentation of date and time information, such as the last trading time, was governed by the global system locale and time settings.
Now, you can specify custom format patterns that give you control how dates and times are displayed. The available format strings are the same as the date command uses. The settings tooltips also show some examples for starters.
And as a "quick fix", there is a switch to always show time in 24-hour notation.
The new settings are disabled by default, so check out the configuration dialog for a try-out.
Cookies and Privacy
As a consequence of the EU's GDPR cookie consent, Yahoo (among many other companies) has to prompt users from the EU to decide which data they want to share. This manual step did confuse the desklet... until now. This release adds support for the consent prompt - no manual interaction required.
Since v6 of the API is now defunct, the corresponding setting was removed.
Coping with Change
The Yahoo Finance Quotes API went through some changes in the past weeks, that rendered the desklet non-functional.
This release contains the necessary adaption work, and - at least for now - brought the quotes back (fingers crossed).
Note that the temporary workaround - using version 6 instead of 7 of the API - stopped working two days ago.
Layout polishing, data fetching optimization
The layout got some visual improvements by aligning text to the left, and numbers and dates to the right side.
The trend colors are now freely configurable, and the number rounding got some additional option.
Under the hood, the fetch method for the quote data was changed from synchronous to asynchronous calls. This way the desklet doesn't block system threads on startup anymore
Revamped settings dialog, setting for alternative colors
The old presentation of all the options in the settings dialog was one big list. Now there are tabs!
One setting was added: use alternative colors, i.e. instead of green, use the color blue. This setting affects the percentage price change and the trend icon.
More settings for layout and behavior
Based on various PRs from the community, new settings were added to:
- color the percentage change column according to trend (green/red)
- add Yahoo Finance hyperlink to symbol/quote column
- use the long label for quote name (if available), instead of the short one previously used
More settings, improved error handling
Many more settings to customize the layout and the displayed financial data. Better connection error handling.
Add German translation. Allow multiple Desklet instances.
first release
v0.1.0 first version released on cinnamon-spices