Skip to content

Updates plateform UX to fit Pyronear style & improves UX#180

Merged
MateoLostanlen merged 10 commits intomainfrom
style-pyronear
Jan 28, 2025
Merged

Updates plateform UX to fit Pyronear style & improves UX#180
MateoLostanlen merged 10 commits intomainfrom
style-pyronear

Conversation

@fe51
Copy link
Member

@fe51 fe51 commented Jan 26, 2025

Motivation

The style of our platform seems a little too carnival-like to me & the format of the various buttons too rounded with coarse margins. Moreover, the scroll activation button doesn't look natural.

The aim of this PR is to come up with a more coherent design that fits with the Pyronear color code.
Below, You can see various screenshot showing how it renders.

it seemed appropriate to consider a small style update before developing new screens (dashboard cameras) & inspiring the redesign in react

What has been done

Tested on Chrome & Safari on 14inch & big screen (16:9?)

This PR introduces the following modification :

  • Updates style of alert panel element
  • Adds play-pause icon near slider instead of "Activer/Désactiver l'animation" (the icon button changes color between play and pause) => seems more natural as play pause in any video player.
  • Updates center button style
  • Updates right side panel style
  • Updates info panel style to highlight info
  • Switch map and info panel positions
  • Updates padding and margins to avoid touching scroll bar and limit of the window

About the right side panel, I've switched map and info panel position. I am not sure what is the best, do you have any opinion ?

Happy to discuss it !

image

image

image

@fe51 fe51 added the type: enhancement New feature or request label Jan 26, 2025
@fe51 fe51 requested a review from MateoLostanlen January 26, 2025 15:27
@fe51 fe51 self-assigned this Jan 26, 2025
@fe51
Copy link
Member Author

fe51 commented Jan 28, 2025

This is how it looks when you remove the borders
Capture d’écran 2025-01-27 à 13 14 29

Copy link
Member

@MateoLostanlen MateoLostanlen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @fe51, thanks for this PR it works like a charm, this new style is nice !

@MateoLostanlen MateoLostanlen merged commit 25b1b86 into main Jan 28, 2025
6 of 8 checks passed
@MateoLostanlen MateoLostanlen deleted the style-pyronear branch January 28, 2025 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants