Everything related to finding the users location is now in a seperate file to make the code more readable.
Furthermore, the error handling is improved and also a timeout is included now.
A bug in the language file caused some random errors during the build process.
By clicking on the location icon on the header bar it is now possible to get the users location (GeoClue).
Date and time can now be set from every view.
Changing from AdwPreferencesPage to AdwClamp fixes some strange UI behaviour.
UI should now fit on mobile devices.
Otherwise appstream-util is unhappy:
$ appstream-util validate data/de.zwarf.picplanner.appdata.xml.in
data/de.zwarf.picplanner.appdata.xml.in: FAILED:
• style-invalid : <caption> is too long [The overview page with the basic information visible];longest allowed is 50 chars
• style-invalid : <caption> is too long [The overview page with time and date settings visible];longest allowed is 50 chars
Validation of files failed
Closes: #6
Exchange words "azimuth" and "elevation" with symbolic icons.
Furthermore, the overview page is now a "paned" widget which means, that the size of the map can now be adjusted by the user.
A lot of comments were addes to describe all functions better. Furthermore,
some small changes were made e.g. a new milky way icon was added. For the,
hopefully soon happening, Flatpak release I added another Screenshot for the store.
The disturbance calculation to determine the visibility of the milky way is now only one single function.
Furthermore, the unrefering of an emty GDateTime object led to a crash and was fixed.
Some lines were made easier readable.
The UI of the coordinate entry has now a normal Adwaita style.
All AdwPreferencesGroups are now inside the AdwPreferencesPage container.
Furthermore, titles of AdwPreferencesGroups are not made by labels anymore. Insted the intended title option of AdwPreferencesGroups are used.
The milky way is best visible during the dark night. However, under certain circumstances it is also possible to make good milky way pictures earlier or during illumination due to the moon.
Therfore, additional information is shown now.
Furthermore, some slight UI changes and comments were made.
Currently the time zone was selected automatically through the time zone information provided by libgweather.
Now it is also possible to set the time zone manually in the settings.
In the same breath the preferences dialog was rearranged to look more user friendly.