Opened 3 years ago

Closed 5 weeks ago

#2174 closed New feature (fixed)

Show Websites by Group in 'All websites' dashboard

Reported by: matt Owned by: tsteur
Priority: normal Milestone: Future releases
Component: UI - UX (AngularJS, twig, less) Keywords:
Cc: Sensitive: no

Description (last modified by matt)

For users tracking 10, 20 or more websites, often websites belong to groups (for example "Intranet", "Blogs" or "Ecommerce sites"), groups can be the type of the website, a given project which contains several websites, or an agency would want to organize websites by customer.

Requires #4692

Goals:

  • Allow users to assign websites to groups in the UI
    • In the API, it is already possible to assign a 'group' to a website. However this functionnality is not available in the User Interface yet.
  • All Websites dashboard to show websites grouped by Group, and for each group show the sum of visits/actions/revenue for websites within this group

Specification:

  • In the 'All Websites' dashboard, the Super User could see an aggregate number of visits/pages for the group. Websites would appear below their group row.
  • The user can set the groups within the All Websites dashboard
    • Create a group
    • Move a website into a group
    • Move a website out of a group
    • Move a website into a group not visible on the current page
  • Allow to rename a group
  • Allow to search within websites and groups with the All websites search field
  • Website selector:
    • would also show the website groups eg. prefix with the group name: [$groupName] $siteName
    • website selector search would also search for groups

Attachments (1)

rps20140217_162817.jpg (116.9 KB) - added by tsteur 2 months ago.

Download all attachments as: .zip

Change History (86)

comment:1 Changed 3 years ago by matt (mattab)

  • Milestone changed from Feature requests to 1.x - Piwik 1.x

comment:2 Changed 3 years ago by matt (mattab)

  • Resolution set to wontfix
  • Status changed from new to closed

Not very useful as is, need better vision ;)

comment:3 Changed 2 years ago by p1erz

I have the same problem, now I handle the stats of 100 websites and more, I'd like to be able to have an overview of the stats by website group.

I think the ability of aggregating number of visits/pages for the group on the all website page is a very good idea, and I need it :)

Or maybe we could not modify the All website page but create an new page "Website Group" with stats / group ?

comment:4 Changed 2 years ago by matt (mattab)

  • Resolution wontfix deleted
  • Status changed from closed to reopened

You're right it is useful.. I shouldn't have closed it.

It would be helpful if you could propose a mockup if you are by any chance a designer or have an idea on how it could look like on the UI side?

Otherwise we will do this at some point for sure.

comment:5 Changed 2 years ago by p1erz

No sorry I m not a designer but I would have expected something very similar to the MultiSite module with a <table>, but instead of displaying the stats for the website in each row it displays the stats for the group in each row.

When a user click on a row, it could expand/collapse another <table> which display the stats of each website belonging to the group, exactly the same way of MultiSite.

comment:6 Changed 22 months ago by phoenix

I vote for this too.

comment:7 Changed 20 months ago by pw@…

Implemented something that handles the SitesManager admin UI, w/o touching the "All Websites" frontend. This doesn't require much of a design, it just behaves like the rest of the fields (in the "new website" form and when editing websites).

See here: github. cxm/piwik/piwik/pull/4
If you prefer not to pull into your Git, here's a patch: github. cxm/shesek/piwik/commit/16bede8b412a970c4d6f63483479c6b8d50296e8.patch

(your spam filters are quite aggressive... had to remove http:// and replace .com with . cxm)

comment:8 Changed 20 months ago by matt (mattab)

  • Description modified (diff)

comment:9 Changed 20 months ago by matt (mattab)

  • Description modified (diff)

comment:10 Changed 20 months ago by capedfuzz (diosmosis)

  • Description modified (diff)

comment:12 Changed 19 months ago by matt (mattab)

How did you find this nice patch, if I go to: https://github.com/piwik/piwik/pulls I don't see the pull requests?

comment:13 Changed 16 months ago by matt (mattab)

  • Description modified (diff)
  • Summary changed from Display website Group in "All websites" and in Manage Websites to Organize and display Websites by Group in 'All websites' dashboard (and in 'Manage Websites')

comment:14 Changed 10 months ago by roosit

i would also like to have statistics of grouped websites. And maybe it is not so advisible to implement the group just as a column in the piwik_site. take maybe into account that a site can be member of multiple groups

comment:15 Changed 9 months ago by noushamt

"In the API, it is already possible to assign a 'group' to a website. However this functionality is not available in the User Interface yet. "
Is the UI Implemented so far? I need this functionality with UI, being able to use.


comment:16 Changed 8 months ago by matt (mattab)

please contact us via http://piwik.pro/ to learn more about this feature!

comment:17 Changed 3 months ago by matt (mattab)

  • Milestone changed from 2.x - Piwik 2.x to Future releases
  • Priority changed from normal to major

comment:18 Changed 2 months ago by matt (mattab)

  • Description modified (diff)

comment:19 Changed 2 months ago by matt (mattab)

  • Description modified (diff)

comment:20 Changed 2 months ago by matt (mattab)

  • Description modified (diff)

Updated specification.

Changed 2 months ago by tsteur

comment:21 Changed 2 months ago by matt (mattab)

  • Description modified (diff)

Note: this ticket requires the All Websites dashboard to use AngularJS, will be done in: #4692

comment:22 Changed 2 months ago by tsteur

  • Owner set to tsteur
  • Status changed from reopened to new

comment:23 Changed 2 months ago by tsteur

In e04f4cdf5f66360d8a3ba5151313b37839583f97:

refs #2174 all websites selector based on angularjs, also added the possibility to use %s and %1$s in JS translations

comment:24 Changed 2 months ago by tsteur

In d001c558691ee5e5b96242725b6bfdc0504cc230:

refs #2174 removed all the no longer needed code, added refresh functionality

comment:25 Changed 2 months ago by tsteur

In 11864d8312d7fcfd031fab39e97daa9d29b68090:

refs #2174 fix sorting, next: adding groups

comment:26 Changed 2 months ago by tsteur

In fcc1e5a97363f8cc37dc223fe8ed8a4dfdf9a1b7:

refs #2174 added name of group as metadata

comment:27 Changed 2 months ago by tsteur

In 60211e04725f7433775a788c26b203b9fdb4dfc0:

refs #2174 display site groups and show aggregated values for them

comment:28 Changed 2 months ago by tsteur

In cfbb50a9716efc0e7d5dd9fb6fda76dd1384d6d3:

refs #2174 do not link name of group

comment:29 Changed 2 months ago by tsteur

In 610edc352b5e675a5e6edd3904b9f188b10db459:

refs #2174 adding the actual angular lib, maybe later we use bower?

comment:31 Changed 2 months ago by tsteur

In 3fa4603d00623bb4af815ace7e79ae2bc8e64afb:

refs #2174 removed some not needed files

comment:32 Changed 2 months ago by tsteur

In d689528eac0d183fcbbadcd38f6e2e0f21e5ff85:

refs #2174 removed source map mapping as it will not work on production (when merged assets is enabled it cannot find the path to this file)

comment:34 Changed 2 months ago by tsteur

In 04808545dc523ea24f95dbf38854ff85fab67d3d:

refs #2174 update name of group only on success

comment:35 Changed 8 weeks ago by tsteur

In 74deb5f532d3353bfac503a5372c2f572f25dda6:

refs #2174, bugfixes, compatibility with IE8, display groups in site selector

comment:36 Changed 8 weeks ago by tsteur

In da7d92e0d50621cac8340d19bdfc9339555de6be:

refs #2174 remove access service in favor of writing superUserAccess info directly into a var as it is just faster and allows us to execute less code

comment:37 Changed 8 weeks ago by tsteur

In 318450ecb3abe3d3b66fa051835370f990f1f4ad:

refs #2174 get date via broadcast

comment:41 Changed 8 weeks ago by tsteur

In 4d5e89b5d6bb293e47d821a053e2133aca711687:

refs #2174 loads of bugfixes and improvements

comment:42 Changed 8 weeks ago by tsteur

In a61661608171a8aec474a0db382c499ee8951a44:

refs #2174 workaround for a bug in Webkit which does not apply the styles / render in this case. only if one manually adds a class afterwards and removes it again

comment:44 Changed 8 weeks ago by tsteur

In c8a0b911d856d5578558d8ba22f4fdc920ec18b4:

refs #2174 remove some logic from multisites API which is no longer needed as it is done in JavaScript

comment:45 Changed 8 weeks ago by tsteur

In d7a5a598f66ad4218aa62e4dcc6510b0e733e361:

refs #2174 added some documentation and some features

comment:46 Changed 8 weeks ago by tsteur

In 6c9750ff7cd2b1fb3d7624c62d02215c955e800b:

refs #2174 add an import directory only if the asset contains an @import. Fixes a file named admin.less file in any plugin overwrites the admin.less file in Morpheus plugin

comment:47 Changed 8 weeks ago by tsteur

In d802ae005138e44907745b7f82b9a9636026a6f8:

refs #2174 clear the sites cache after we have added all the needed information to reduce memory usage

comment:48 Changed 8 weeks ago by tsteur

In 321f55bdfb6d76feb72eafbd8edb004192ecc55f:

refs #2174 this fixes a segmentation fault issue when requesting > 16k sites, still one Seg fault to fix

comment:49 Changed 8 weeks ago by tsteur

In 5936bcaeddcf4ba07bd67f61127c2d2de3d0cf25:

refs #2174 fix some tests, looks like we still need to get past data to calculate the volution

comment:51 Changed 8 weeks ago by tsteur

In 1657f05383a2cb28c9547057a175b530e263402b:

refs #2174 some more bugfixes and prevent some XSS

comment:52 Changed 7 weeks ago by tsteur

In 8f6695722cc4d1e0161a9d1b6b1854652391a837:

refs #2174 all websites selector based on angularjs, also added the possibility to use %s and %1$s in JS translations

comment:53 Changed 7 weeks ago by tsteur

In e2b7b65f6081babd938ef65f471d639b8670f4d7:

refs #2174 removed all the no longer needed code, added refresh functionality

comment:54 Changed 7 weeks ago by tsteur

In d76810ade650e326a6b70f42ff3d60fb52497939:

refs #2174 fix sorting, next: adding groups

comment:55 Changed 7 weeks ago by tsteur

In 974e86061656f09e09c331d74224a524d94cb3a0:

refs #2174 added name of group as metadata

comment:56 Changed 7 weeks ago by tsteur

In db2896ba5720094e97c46d24547c2f4d9c90f586:

refs #2174 display site groups and show aggregated values for them

comment:57 Changed 7 weeks ago by tsteur

In 31e20c5c65559f27f4c61dd81c2625f675c6e1c7:

refs #2174 do not link name of group

comment:58 Changed 7 weeks ago by tsteur

In be1e5d211939c7c2ff2be56c951424b176f47c11:

refs #2174 adding the actual angular lib, maybe later we use bower?

comment:60 Changed 7 weeks ago by tsteur

In 9b3a9ad938c27c104d0db9d67b924d9e0ca85ff7:

refs #2174 removed some not needed files

comment:61 Changed 7 weeks ago by tsteur

In b72b505c9892bb3749d3cc15a58a2d88dd27e613:

refs #2174 removed source map mapping as it will not work on production (when merged assets is enabled it cannot find the path to this file)

comment:62 Changed 7 weeks ago by tsteur

In 6e8086fec929399062ead40663a66475bc4a7793:

refs #2174 display total revenue

comment:63 Changed 7 weeks ago by tsteur

In 4b1862cf9ae72a878f448fcfafd5f96e4eab6423:

refs #2174 update name of group only on success

comment:64 Changed 7 weeks ago by tsteur

In 2710748b1d8aa274dbd5a6c5f91e786a10c7a620:

refs #2174, bugfixes, compatibility with IE8, display groups in site selector

comment:65 Changed 7 weeks ago by tsteur

In 6eac37a4c0ebb9732c3d1c0fafb2b5f59baf913b:

refs #2174 remove access service in favor of writing superUserAccess info directly into a var as it is just faster and allows us to execute less code

comment:66 Changed 7 weeks ago by tsteur

In d6e47909add2985ec25d8575b1ffceb3ea2b60aa:

refs #2174 get date via broadcast

comment:70 Changed 7 weeks ago by tsteur

In f1ce9781ed3003c8bdb5d09ab62345438ef2b486:

refs #2174 loads of bugfixes and improvements

comment:71 Changed 7 weeks ago by tsteur

In 6af210e3410be3b59b9d9305d37f4f964af67e96:

refs #2174 workaround for a bug in Webkit which does not apply the styles / render in this case. only if one manually adds a class afterwards and removes it again

comment:73 Changed 7 weeks ago by tsteur

In de9a6ec669a9a8f3eae5f709fd6e3f9fdae5f46e:

refs #2174 remove some logic from multisites API which is no longer needed as it is done in JavaScript

comment:74 Changed 7 weeks ago by tsteur

In fa2f6be56d82730b49489f88290779bdcfaa4457:

refs #2174 added some documentation and some features

comment:75 Changed 7 weeks ago by tsteur

In 2fc593e88a74c254aeec35254e7e7a0ee705166d:

refs #2174 add an import directory only if the asset contains an @import. Fixes a file named admin.less file in any plugin overwrites the admin.less file in Morpheus plugin

comment:76 Changed 7 weeks ago by tsteur

In c500a05b12d6bdb89302c60de279f2d1d51c0779:

refs #2174 clear the sites cache after we have added all the needed information to reduce memory usage

comment:77 Changed 7 weeks ago by tsteur

In 1a1a4faf631ef044e8691e1d05b3dc45c18dbba3:

refs #2174 this fixes a segmentation fault issue when requesting > 16k sites, still one Seg fault to fix

comment:78 Changed 7 weeks ago by tsteur

In e2cb9183adf854300a28bf311df14101dca0dffa:

refs #2174 fix some tests, looks like we still need to get past data to calculate the volution

comment:80 Changed 7 weeks ago by tsteur

In 3f966046f8da6097707db01f133505527edfb267:

refs #2174 some more bugfixes and prevent some XSS

comment:81 Changed 7 weeks ago by tsteur

In 4224360c48aff0cdd0a7cf850e07d43c28e69cd9:

Merge pull request #230 from piwik/angularjs_websites_selector

refs #4692 #2174 SiteSelector and AllWebsitesDashboard using AngularJS

comment:82 Changed 7 weeks ago by tsteur

In 5f656f6160e2a4ea89781be26550e70ce2755619:

refs #2174 make sure we update the private var and not the local var

comment:84 Changed 7 weeks ago by tsteur

In 46f2dd8ab4e810967ab66b133f08eb0c1429d9d2:

refs #2174 added cachebuster to template

comment:85 Changed 5 weeks ago by matt (mattab)

  • Priority changed from major to normal
  • Resolution set to fixed
  • Status changed from new to closed
  • Summary changed from Organize and display Websites by Group in 'All websites' dashboard (and in 'Manage Websites') to Show Websites by Group in 'All websites' dashboard

a job well done!

Note: See TracTickets for help on using tickets.