KKulma / footprint-shiny-app

0 stars 0 forks source link

float emissions over map in new column #2

Open acircleda opened 3 years ago

acircleda commented 3 years ago

I moved the map into a new column and used CSS to float emissions over the map. We can use the right column to include all the educational materials we would like.

KKulma commented 3 years ago

thanks for the PR @acircleda and apologies for the delay reviewing it! I like the idea of having a clear space for all the metrics and any additional info, however, in the current form the map size is significantly reduced. What do you think about adding an absolutePanel() instead, similar to the app here or just a table, like here?

KKulma commented 3 years ago

@acircleda also, have a look at the absolute-panel branch. It's not finished but I think it gives us an idea if this is the style we like

acircleda commented 3 years ago

I'm not sure about the absolute panel. From a UX perspective, the floating panel does not seem related to the input field at the top and it was not intuitive that it could be moved.

The look I was going for was the map on one side and then metrics or graphics related to the emissions on the right (where the red box below is). For example what % the flight is of our allowable carbon budget, how much arctic ice is melted, etc (like here or here). You said it was significantly reduced. How small was it? The map is a nice touch, but do you think it should be the focus (take up a lot of space) compared to other information?

Instead of putting the form in there, we could put the results. With additional information below? I'm just not sure if we want the map to be the focus. What do you think?

image

KKulma commented 3 years ago

I think we have a very similar idea in mind and we only need to iron out some details :) Things that I think we agree on:

Now, my thinking behind the absolute-panel draft was that:

Hope it all makes more sense now!

acircleda commented 3 years ago
KKulma commented 3 years ago

Sounds good. Let's start with the examples of the context for the emissions results, then, and then we can decide how to deal with the text area for them. All the other suggestions I captured in the Issues.

I was thinking about one more suggestion: perhaps we could streamline the input flow a bit by offering a single input for City and IATA - we could display a city name with IATA code in the brackets in the UI.

Additionally, we could group airports by country (we could use select input groups for that). Not strictly necessary, but I think it would keep things tidier and would encourage data exploration.

What do you think?