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

Better design for errors in popovers #8184

Merged
merged 4 commits into from Jun 24, 2015
Merged

Better design for errors in popovers #8184

merged 4 commits into from Jun 24, 2015

Conversation

mnapoli
Copy link
Contributor

@mnapoli mnapoli commented Jun 23, 2015

Fixes #8087

The popup now shows this error:

capture d ecran 2015-06-23 a 12 17 31

instead of this:

@mnapoli mnapoli added Pull Request WIP Indicates the current pull request is still work in progress and not ready yet for a review. not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. c: Design / UI For issues that impact Matomo's user interface or the design overall. labels Jun 23, 2015
@mnapoli mnapoli added this to the 2.14.0 milestone Jun 23, 2015
@mnapoli mnapoli added Needs Review PRs that need a code review and removed Pull Request WIP Indicates the current pull request is still work in progress and not ready yet for a review. labels Jun 23, 2015
</div>',
Piwik::translate('General_Error'),
$errorMessage,
'index.php?module=Login&idSite=7&period=day&date=yesterday',
Copy link
Member

Choose a reason for hiding this comment

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

idSite is hardcoded to 7

In general Login URL needs to be only index.php?module=Login (other params not needed)

mattab pushed a commit that referenced this pull request Jun 24, 2015
Better design for errors in popovers
@mattab mattab merged commit 5e40e2d into master Jun 24, 2015
@mattab
Copy link
Member

mattab commented Jun 24, 2015

Looks good 👍

@mattab mattab deleted the popover-errors branch June 24, 2015 01:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Design / UI For issues that impact Matomo's user interface or the design overall. 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.

None yet

2 participants