Giter Site home page Giter Site logo

salanileo / forecast Goto Github PK

View Code? Open in Web Editor NEW
30.0 1.0 7.0 5.59 MB

⛅ Weather app for Linux made in LibAdwaita

Home Page: http://forecast.salanileo.dev/

License: GNU General Public License v3.0

Python 90.70% Meson 3.55% CSS 4.38% Shell 1.06% Makefile 0.31%

forecast's Issues

Better app listing

This app's listing already looks pretty good, with just a few tweaks it could pass the Flathub metadata guidelines, which would make it eligible to be featured.

The issues are:

Remove Left Anchor for Weekly Forecast

Nice weather app!
There's just one (actually pretty minor) thing I think needs to be changed.
I believe anchoring the Weekly Forecast to the left side of the window is a missed opportunity that also results in an imbalanced feeling app.
Example:
image
image
I believe utilizing whatever Flexbox-like technology GTK provides would allow the app to feel more balanced at any window size.
This also could allow for a responsive app that automatically realigns into a vertical scroll-able layout for mobile devices and devices with small displays.
Thank you for considering this change, and I really like the app :)

Adding a more detailed weather forecast for the next five days

I suggest adding a more detailed hourly forecast for five days, using an example of how it is implemented for today. To do this, I propose to logically divide the application window into two parts: Today and the Five-day forecast. This will make it more convenient to compose the elements (I will attach an approximate layout of the idea a little later). I also consider it necessary to add the ability to adjust the color (lighter or darker) of the glass substrates under the elements.

Gio.Settings.new

I searched the documentation but could figure it out. You have your own server and retrieve data from there? Because I want to do something similar

Uses UTC instead of the local timezone

Running the app from flathub, it seems that it uses UTC (ex: 02:54) instead of using the system's local time (ex: 22:54):

image

By the way, it might be worth being explicit with that label, and prefixing it with Last checked on ; maybe you could even put the refresh button directly next to that label?

Light text on light background

Is it possible to change the text colour to a darker colour if the weather is particularly bright, as the lack of contrast makes it difficult to read?
Screenshot from 2023-06-19 09-00-36

Other than that, I love the app :)

Incorrect text aligment

Schermata del 2023-06-02 23-48-55

The "Wind" row isn't properly aligned. Not sure much can be done about it without involving the GTK toolkit, as in the source code it's correctly aligned to the number of characters.

The misalignment is likely caused by the font not being monospace, but with different characters having different widths.

Weekly forecast chart breaks (cut off portions) under some conditions

I'm not sure how to explain this, but if you look at the temperature ranges bars shown in this screenshot's "Weekly forecast" section:

image

...you will see that the bar for Friday is cut off on the left side.

Similarly here, on the Monday row:

image

This is the flatpak version running on GNOME 45 with 1.00 font scaling.

Waiting for newer version of gtk for new release

Hi all, first thanks for using my app. There is currently a bug with GTK 5917 which makes an app crash when removing an element from a Gtk.Stack linked with a Gtk.StackSidebar, and the problem is I already wrote the code for a more accurate forecast page which uses exactly that (and besides snap support is the only major addition, also it's too late to remove the new code). I made the decision to wait for a newer release of gtk that would resolve the bug to release a new version. I'm very sorry for the wait, it's not my fault.

What API is used?

The settings mention that another API key can be used, but for what API? This should be clear in the app.

Consider stacked interactive graphs to combine hourly and weekly views?

In #1 I see that you were looking for some feedback on the previous (and current) design.

One thing that I find a bit clunky with the current design is the modal aspect of it, where you have to switch between the main "Weekly forecast" view and the individual day view (with combobox-like switcher between days).

This is a long shot, but have you considered an interactive stacked charts approach as a way to unify all of this into a single UI?
A bit like what you'd find on the "10 days" forecast here for example:

Screenshot from 2024-05-26 23-18-49

I don't know if you'd find this approach worthwhile for this application, I'm just throwing the idea out here. This is the same kind of idea that I'm suggesting in amit9838/mousam#130.

Works too slow

Hi, i love that this new succession of meteo, but to me it is pretty slow on searching locations, so maybe is something related to python idk, but thanks anyways to redevelop the app!!

Merge similar locations

Schermata del 2023-06-02 18-53-21

Apparently whatever API(s) you're using result in duplicates. If I have to take a guess, it could be caused by the different rows only differing by a few decimals. Perhaps add filter which removes the entries less than 0.001 apart?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.