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

Show city / country in visitor details #12534

Merged
merged 5 commits into from May 3, 2018
Merged

Show city / country in visitor details #12534

merged 5 commits into from May 3, 2018

Conversation

sgiehl
Copy link
Member

@sgiehl sgiehl commented Feb 3, 2018

fixes #12015

@sgiehl sgiehl added the Needs Review PRs that need a code review label Feb 3, 2018
@sgiehl sgiehl added this to the 3.5.0 milestone Feb 3, 2018
@sgiehl sgiehl force-pushed the locationinlog branch 3 times, most recently from 2945e55 to 06501e4 Compare February 4, 2018 13:28
@sgiehl sgiehl force-pushed the locationinlog branch 2 times, most recently from 72d9b91 to 4fb48d7 Compare March 11, 2018 21:59
@mattab mattab modified the milestones: 3.5.0, 3.4.0, 3.3.1 Mar 19, 2018
@diosmosis
Copy link
Member

I see two flags now, if that's ok, then LGTM

Copy link
Member

@mattab mattab left a comment

Choose a reason for hiding this comment

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

Review

  • Visitor log: Let's remove the flag in the middle column, and leave only the flag in the first column next to country/city name.
  • Visitor profile: let's remove the flag in each visit on hover, and only show the flag in the top left profile, as well as when the visit is expanded to show detailed visit info.
  • When the geolocation is Unknown, do not display the flag+text. For privacy reasons it may be more common in the future not to collect accurate geo location data and we can simply not show it then.

@mattab mattab modified the milestones: 3.4.0, 3.4.1 Mar 22, 2018
@sgiehl sgiehl force-pushed the locationinlog branch 2 times, most recently from 7bf4aee to c5ce869 Compare April 1, 2018 16:41
@sgiehl
Copy link
Member Author

sgiehl commented Apr 30, 2018

Updated the PR accordingly... UI files need an update before merging.

@mattab
Copy link
Member

mattab commented May 2, 2018

@sgiehl Looks good 👍 can you update the UI tests/rebase and merge this?

@sgiehl sgiehl force-pushed the locationinlog branch 2 times, most recently from 9e22a7e to 89151b9 Compare May 3, 2018 19:00
@sgiehl sgiehl merged commit c58689c into 3.x-dev May 3, 2018
@sgiehl sgiehl deleted the locationinlog branch May 3, 2018 19:47
@Findus23
Copy link
Member

Findus23 commented May 5, 2018

@sgiehl Is it intentional that the flag is now only 16x12 instead of 20.66x16 as before?

@mattab mattab added the not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. label May 8, 2018
InfinityVoid pushed a commit to InfinityVoid/matomo that referenced this pull request Oct 11, 2018
* Show city or country in visitor details

* update UI files

* Show country flag and location only if not unknown

* hide flag icon in icon list

* update UI files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review PRs that need a code review not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Visitor log should display country/city information without having to hover on the country flag
4 participants