My Sites and My Groups take user to the profile page
Hi Boone -- when on either the main sites or groups pages, if one clicks "My Sites" or "My Groups," one is taken to that listing on one's profile page. I can't remember whether this is expected behavior; it seems wrong to me for users to be taken to the profile page at that point, as it moves them to a new interface, and it also seems (at least to my memory) like something that wasn't happening earlier -- before, clicking My Sites/Groups would show the user's sites/groups in the same interface
#1 Updated by Boone Gorges 7 months ago
- Target version set to 1.19.0
These tabs may have been AJAX-powered in the past, but it likely wasn't recent. See eg https://github.com/cuny-academic-commons/cac/commit/637bf5f7edd3c4302f1df37063218bb2fd5f6a2a
Introducing AJAX navigation is complicated because of the interaction with other navigation tools on the page, such as the directory filters and pagination. But it should be possible to make it work in a non-AJAX way, by introducing a URL parameter to the top-level directories to limit results to those belonging to the current user.
I'm leaving this assigned to me because of the interaction with the directory filters introduced in 1.18.0, but I've added Ray as a watcher because he's done work on AJAX and nav tabs throughout the Commons in the past.
Thanks, Boone. I'm almost certain that the My Sites link used to just trigger a filtering of the all sites listing within the same interface. But maybe I'm wrong! It seemed like Laurie remembered it working this way, too. I've cc'ed her here just for a sanity check (for me!)
#3 Updated by Laurie Hurson 7 months ago
Yes, I noticed recently that when I click "my sites" when signed in, I am kicked over to my Commons profile page listing of my sites rather than seeing the "my sites" tab in the sites directory page (like it used to work).
For me, I find it much easier and more legible to view my sites listing through the sites directory within the main commons than be shifted into my profile page (since other main tabs like people, all groups, and courses are less accessible from my profile).
I could have sworn that yesterday I clicked on "My Sites" and that it worked as it used to, showing "My Sites" within the Sites listing interface. but I just checked again and now I'm brought to my profile page to view My Sites. Is it possible that something might have changed yesterday and then changed back? Or maybe I am losing it!