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

Make goal title in report clickable #10571

Merged
merged 3 commits into from Sep 30, 2016
Merged

Make goal title in report clickable #10571

merged 3 commits into from Sep 30, 2016

Conversation

tsteur
Copy link
Member

@tsteur tsteur commented Sep 26, 2016

fixes #10554

Please note that the title shows an underline when hovered so the link is more visible. This is default behaviour that can be changed but will be more useable with underline

@tsteur tsteur added not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. Needs Review PRs that need a code review labels Sep 26, 2016
@tsteur tsteur added this to the 3.0.0-b1 milestone Sep 26, 2016
if (!empty($idSite) && Piwik::isUserHasAdminAccess($idSite)) {
$view->config->title_edit_entity_url = 'index.php' . Url::getCurrentQueryStringWithParametersModified(array(
'module' => 'Goals',
'action' => 'manage',
Copy link
Member

Choose a reason for hiding this comment

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

FYI: link should go to the Report page, not the manage page (as users will want to click to view more details goal report)

Copy link
Member Author

Choose a reason for hiding this comment

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

this is quite tricky currently, it would likely change date etc unless we refactor it quite a bit. Can you check on demo.piwik.org it goes to same page

Copy link
Member

Choose a reason for hiding this comment

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

it goes to same page, can you just replace the action=index by action=goalReport?

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member Author

@tsteur tsteur Sep 27, 2016

Choose a reason for hiding this comment

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

I'm having a look. BTW: The links in Piwik 2 are currently broken when exporting it as widgetize. Need to see what to do there

Copy link
Member Author

Choose a reason for hiding this comment

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

@mattab it should work now

Copy link
Member

Choose a reason for hiding this comment

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

The links in Piwik 2 are currently broken when exporting it as widgetize. Need to see what to do there

@tsteur could you create an issue for that one?

Copy link
Member Author

Choose a reason for hiding this comment

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

In 3.x they are not clickable when exported so shouldn't be a problem and don't think needs fixing in 2.x or even can be easily fixed

@mattab
Copy link
Member

mattab commented Sep 30, 2016

Well done, I know that one wasn't easy at all, and result is perfect!

@mattab mattab merged commit 40f5351 into 3.x-dev Sep 30, 2016
@mattab mattab deleted the 10554 branch September 30, 2016 22:47
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.

On Goals > Overview, the Goal names titles should link to the Goal report
2 participants