Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mobile dashboard design / UX #972

Closed
metmarkosaric opened this issue Apr 28, 2021 · 19 comments
Closed

Mobile dashboard design / UX #972

metmarkosaric opened this issue Apr 28, 2021 · 19 comments

Comments

@metmarkosaric
Copy link
Contributor

metmarkosaric commented Apr 28, 2021

We're aware that the Plausible dashboard is not as optimized on smaller screens as on laptops/desktops. We will collect/combine all the main problems in one thread and prioritize the work to get them fixed. I'll start with some issues that I notice on my own device:

The traffic numbers on the main chart get squeezed and overlap

The Y value on the main chart that shows the numbers of unique visitors gets squeezed and overlaps all depending on what traffic you're getting. Here's an example of how it looks like when not optimized:

photo5785283878305511168

Details view doesn't allow scroll left or right

For every chart with the "Details" button (Top Sources and Top Pages), the report that opens up when you click on "Details" is not optimized:

  • some of the entries are not displayed correctly depending on their length
  • it is not possible to scroll the table left or right so some metrics are missing

photo5785283878305511167

Goals area has display issues depending on the name of your custom events

The goals area is not displayed correctly all depending on what type of goals you have set. Some examples here:

photo5785283878305511166

photo5785283878305511164

It is not possible to view labels for outbound links, 404 and custom props

When you open up the goals (404 error pages, outbound link clicks and any goal with custom properties) you cannot see the main label on the portrait orientation. You have to switch to landscape mode to see them. There's a thread with more details here #534

photo5785283878305511165

photo5785283878305511163

Details button issue on Firefox specifically

Firefox specific. The "Details" button on charts goes over the main chart and makes it impossible to click on the main entries:

photo5785283878305511161

@ukutaht ukutaht changed the title Mobile dashboard design / UX / a11y Mobile dashboard design / UX Apr 28, 2021
@Vigasaurus
Copy link
Contributor

I think a part of this issue should also be defining the support standards for Plausible, namely the dashboard here, but doing so for the script would also likely be beneficial.
i.e. the supported browsers (basically just IE/no-IE), and the minimum supported width (I think 320px is a pretty common standard).

Most of the browser stuff can just be solved with polyfills, but it's be important to know what all needs to be tested.

@MaybeThisIsRu
Copy link
Contributor

MaybeThisIsRu commented Apr 30, 2021

I'll pick these issues up. 🙂

@kleinicke
Copy link

An additional problem on the main chart is, when you try to see the number of visitors of one day, you need to tab and hold. When you only tab on a day you will switch to that day.

@MaybeThisIsRu
Copy link
Contributor

MaybeThisIsRu commented May 11, 2021

After working on a solution (only locally at the moment) for this issue, I can confirm that the "Details button issue on Firefox specifically" issue is not specific to Firefox:

image

MaybeThisIsRu added a commit to MaybeThisIsRu/analytics that referenced this issue Jun 8, 2021
This _mostly_ fixes one of the issues being tracked on plausible#972, titled "Details button issue on Firefox specifically"
ukutaht pushed a commit that referenced this issue Jun 15, 2021
* chore(make): convenience commands for installation & dev server

* docs: easier development env instructions

* docs: add note about docker volumes

* docs: detail pre-commit configuration

* style: eslint and prettier changes

* Allow for passing custom classes to fade-in

* style: eslint & prettier for the details button component

* style: react lifecycle methods to come first

* docs: add instructions to disable pre-commit

* style: devices components

* Move render methods to the last (together) in the order list
* Remove unused component import
* React lifecycle to come first before our own methods
* General styling and eslint changes
* Cleaner renderContent method using switch/case (fixes an eslint error as well!)
* Cleaner renderPill method with proper spacing + removing uncessary else

* style: more eslint/prettier for pages components

* Use newer Fragment syntax
* Remove unnecessary else statement
* Use backtick strings for concatenating strings
* Remove unnecessary space
* Remove unused imports and variable declarations
* Bunch render methods together as last in the order list

* fix: details button to drop to the bottom naturally on smaller screens

This _mostly_ fixes one of the issues being tracked on #972, titled "Details button issue on Firefox specifically"

* refactor: reduce usage of our CSS class in favor of tailwind's util classes

* refactor: remove our css classes in favor of Tailwind's util classes
@MaybeThisIsRu
Copy link
Contributor

For the first issue...

The traffic numbers on the main chart get squeezed and overlap

We could either increase the chart height here, or look at making it less granular on the Y axis. Which one would be ideal?

@ukutaht
Copy link
Contributor

ukutaht commented Jun 16, 2021

I'd rather go for a less granular Y axis

@MaybeThisIsRu
Copy link
Contributor

MaybeThisIsRu commented Jun 30, 2021

Are there any more issues to tackle other than those in the OP?

@ukutaht
Copy link
Contributor

ukutaht commented Jun 30, 2021

I'm not aware of any. The idea with this issue was to compile all together.

MaybeThisIsRu added a commit to MaybeThisIsRu/analytics that referenced this issue Jul 6, 2021
This fixes two issues from plausible#972

- Goals area has display issues depending on the name of your custom events
- It is not possible to view labels for outbound links, 404 and custom props
ukutaht pushed a commit that referenced this issue Jul 8, 2021
* chore(docker): improve repeat contributions workflow

* This change adds two new commands to gracefully stop and remove the Postgres and Clickhouse docker containers. To do so, it also gives them a recognizable name.

* Additionally, the Postgres container is updated to use a named volume for its data. This lower friction for repeat contributions where one would otherwise sign up and activate their accounts again and again each time.

* Improve bar component to work in a variety of situations

This fixes two issues from #972

- Goals area has display issues depending on the name of your custom events
- It is not possible to view labels for outbound links, 404 and custom props

* Update changelog entry

* Move content to children for Bar component

* Remove redundant fallback width

* Fix text color on root conversion texts

Hyperlinks (<a>) inherit their color. In the case of the root conversion text, we needed to specify the color somewhere.

The same color as the breakdown texts has been chosen.

The Bar component no longer needs to take in text classes.
This was referenced Aug 17, 2021
@metmarkosaric
Copy link
Contributor Author

"noticed that custom filter breaks the layout on mobile screens a bit"

E9LLywFXMAMAuz4

looks to happen with longer domain names

(reported via twitter)

@metmarkosaric
Copy link
Contributor Author

we have two more reports:

"a third of my goals are not displaying since today's update. Both for today, and past dates. Looks like you've put a limit on the number of displayed goals? I mean that I now only see the top 9 goals, the other ones are not displayed."

"Also, on mobile, the add filter button doesn't fit well, and there are no more the arrows to switch to previous day"

@metmarkosaric
Copy link
Contributor Author

"Hey, PlausibleHQ , why are the outbound links not clickable anymore?"

(via twitter)

@MaybeThisIsRu
Copy link
Contributor

"a third of my goals are not displaying since today's update. Both for today, and past dates. Looks like you've put a limit on the number of displayed goals? I mean that I now only see the top 9 goals, the other ones are not displayed."

Presumably fixed in a443094 by @ukutaht

@MaybeThisIsRu
Copy link
Contributor

"Hey, PlausibleHQ , why are the outbound links not clickable anymore?"

(via twitter)

Confirmed to be a bug. Investigating.

@MaybeThisIsRu
Copy link
Contributor

"Hey, PlausibleHQ , why are the outbound links not clickable anymore?"
(via twitter)

Confirmed to be a bug. Investigating.

Fixed in 021cffa by @ukutaht.

@MaybeThisIsRu
Copy link
Contributor

Also on the to-do list:

A way for anonymous/logged-out viewers to see domain name on the embed/public mobile version. #1256 temporarily solves the larger issue, but we'd also like to get this taken care of.

@metmarkosaric
Copy link
Contributor Author

Several issues that people reported over the last few days have now been fixed:

  • There are no longer any mobile display issues with longer domain names
  • The arrows to change dates/time ranges are now back on mobile view
  • The custom events are now uncapped again
  • Outbound link clicks URLs can now be opened externally

@metmarkosaric
Copy link
Contributor Author

Also on the to-do list:

A way for anonymous/logged-out viewers to see domain name on the embed/public mobile version. #1256 temporarily solves the larger issue, but we'd also like to get this taken care of.

thanks for your help @hirusi! another quick note: now that all this is live i noticed that if i'm logged in and tap on the favicon to display the full domain / other sites i have, i cannot tap the favicon again to close that little menu. i must tap on another site or somewhere else on the display to close the menu. would be nice if i can tap the favicon again

@MaybeThisIsRu
Copy link
Contributor

Interesting problem, I'll take a look at that one tomorrow morning.

@metmarkosaric
Copy link
Contributor Author

closing this. i've added the remaining issues in this #1272

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants