Bug #3705
closedFiltering Crossover on MyCommons and My Activity
0%
Description
- in My Activity when you first choose a filter by the Show dropdown the formatting of the page gets messed up
- The filter you choose effects the My Commons page
- Go to My Activity
- Choose a filter, like Posts (2-FilterActivity.png)
- The layout will get messed up (3-LayoutIssue.png)
- Hard refresh fixes layout issue (4-AfterRefresh.png)
- Go to My Commons and pick filter that uses what you chose in step 2, showing Groups in 5-MyCommons-filterBleed.png. It will be filtered with the same one chose in step 2
- If you go back to My Activity and choose Everything under the filter it will have the same layout issue fixed by hard refresh but also
- if you go back to My Commons and look at the same filter from step 5 you will see it now shows everything again
Files
Updated by Raymond Hoh almost 10 years ago
Thanks for the detailed steps and the screenshots, Chris! Definitely helped in duplicating the issue.
For image 5, this should be fixed as of commit 4461f47.
For image 3, the problem is with the div.activity
selector on the CAC Advanced Profiles header (the header-top.php
template). If we rename the element for div.activity
to something else like span.activity
or p.activity
, this will fix the problem. However, the div.activity
element is not even visible; it's currently hidden with this CSS - display:none
.
So my recommendation would be to remove the <div class="activity">
block from the header-top.php template entirely when on a BP profile page. Boone, I've gone ahead and committed this in the CAC Advanced Profiles repo.
If you'd rather go with a different approach (like renaming the element), Boone, feel free to revert the commit. I also haven't pinned this CACAP commit to 1.7.x branch yet. Let me know what you think.
Updated by Boone Gorges almost 10 years ago
- Target version set to 1.7.6
Ray, your solution looks great. Please go ahead and pin it, and make a note in the release notes to do a submodule update.
Updated by Raymond Hoh almost 10 years ago
- Status changed from New to Resolved
Please go ahead and pin it, and make a note in the release notes to do a submodule update.
Done!