Skip to content

Piwik Mobile to display Custom Variables values when a Custom var name is clicked #2654

Description

@mattab

When clicking on a row (Custom var name) Piwik mobile would show a subtable with values (custom var values)
Requested in: http://forum.piwik.org/read.php?2,76375

Piwik Mobile requirements:

  • Is Piwik Mobile already able to display a subtable in the same screen?
  • Or would Piwik Mobile reload the screen to display only the Custom var values after clicking on a Custom var name?
    In this case, the "swipe / back" gesture would come back to the previous "Custom variable names" report.

Both solutions would be fine IMO... whatever is easiest/best could be done?

There are also "Piwik core" requirements to make this feature work:

  • Piwik Metadata API also returns which API to call when a row is clicked eg. CustomVariables.getCustomVariablesValuesFromNameId

  • Piwik metadata should support the API call CustomVariables.getCustomVariablesValuesFromNameId currently unsupported

    Then piwik mobile would call metadata API for this API method which would return the whole report for the row clicked, as a standard Piwik report

Any feedback please post a comment!

Activity

  1. tsteur commented on Oct 25, 2011

    @tsteur
    Member

    I'd like to work on this feature. Also want to display a subtable for pages. For example clicking on '/support' opens '/support/contact', '/support/faq', ...

    Therefore the api has to return which API to call when a row is clicked (as you mentioned) and maybe which parameter to pass.

  2. mattab commented on Oct 25, 2011

    @mattab
    MemberAuthor

    see also #2742

  3. tsteur commented on Jun 24, 2012

    @tsteur
    Member

    (In [6500]) refs #2654 refactored TableView and StatisticList. Also fixed some possible memory leaks

  4. tsteur commented on Jun 24, 2012

    @tsteur
    Member

    (In [6501]) refs #2654 prevent cleanup from list of reports window on iPad

  5. mattab commented on Jul 3, 2012

    @mattab
    MemberAuthor

    Moving to Piwik core so that we hopefully get going in the next 2 months on this :)

  6. mattab commented on Aug 17, 2012

    @mattab
    MemberAuthor

    Thanks Benaka for your work on this and unblocking Thomas to continue improving Piwik Mobile, to display the very useful sub-table analytics data!

  7. tsteur commented on Aug 28, 2012

    @tsteur
    Member

    (In [6880]) refs #2654 a first working version. still have to do lots of tests and detect possible memory leaks

  8. tsteur commented on Aug 29, 2012

    @tsteur
    Member

    (In [6881]) refs #2654 make sure cleanup continues even if there are errors

  9. tsteur commented on Aug 30, 2012

    @tsteur
    Member

    (In [6889]) refs #2654 make sure tableview eventlistener will be added only once

  10. tsteur commented on Sep 1, 2012

    @tsteur
    Member

    (In [6896]) refs #2654 make sure the label has always the same left position even if hasChild is true

  11. tsteur commented on Sep 1, 2012

    @tsteur
    Member

    (In [6898]) refs #2654 display subtables only if Piwik version is 1.8.4 or newer

  12. tsteur commented on Sep 2, 2012

    @tsteur
    Member

    (In [6903]) refs #2654 request piwik version max once a day

  13. tsteur commented on Sep 2, 2012

    @tsteur
    Member

    (In [6904]) refs #2654 do not overwrite an already existing version if something went wrong during request

  14. tsteur commented on Sep 2, 2012

    @tsteur
    Member

    (In [6906]) refs #2654 track piwik version as a page custom variable

  15. mattab commented on Sep 3, 2012

    @mattab
    MemberAuthor

    Excellent !! Users will love this... such an important feature and will expose critical data in the mobile app. Kuddos Thomas and Benaka :)

    Some questions;

    • do you leave the parent table visible and display the subtable - or do you only display the subtable in a new window?
    • Thomas would you mind posting some screenshots of the feature?
  16. 4 remaining items

  17. mattab commented on Sep 5, 2012

    @mattab
    MemberAuthor

    Good, on the "Back" button when viewing the subtable, could you write the
    name of the parent report ie. "Custom Variables" instead of "Back" on the
    button?

  18. tsteur commented on Sep 5, 2012

    @tsteur
    Member

    I had wrote the name of the parent report ie "Custom Variables" instead of "Back" in a first version and then replaced it with "Back". There is often not enough space on a mobile device. Shall I do it though? It definitely makes sense on the iPad, not sure for iPhone. Maybe it is indeed better to have a shortened title instead of only "Back". I'll attach another screenshot.

  19. tsteur commented on Sep 5, 2012

    @tsteur
    Member

    Attachment:
    Screenshot_232.png

  20. tsteur commented on Sep 5, 2012

    @tsteur
    Member

    (In [6919]) refs #2654 display name of parent report instead of only Back

  21. tsteur commented on Sep 5, 2012

    @tsteur
    Member

    I thought about it... I think it's definitely better to write the name of the parent report instead of "Back".

  22. mattab commented on Sep 6, 2012

    @mattab
    MemberAuthor

    Definitely, however, can you please split 2 words on 2 lines as it would look much better and use less width!

  23. tsteur commented on Sep 6, 2012

    @tsteur
    Member

    It's not possible to split text into multiple lines in header. Multiple lines are not supported by Titanium there and I'm pretty sure also not by iOS. It's also not possible to specify the width or height of the back button.

  24. mattab commented on Sep 7, 2012

    @mattab
    MemberAuthor

    Ok thanks for confirming - it's nice as it is.

  25. added this to the milestone on Jul 8, 2014
  26. added this to the Piwik Mobile 1 milestone on Jul 25, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions