-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
tag page tab overhaul, removing sidebar, styling/spacing tweaks #8046
Conversation
Codecov Report
@@ Coverage Diff @@
## master #8046 +/- ##
=======================================
Coverage 82.49% 82.49%
=======================================
Files 99 99
Lines 5737 5737
=======================================
Hits 4733 4733
Misses 1004 1004 |
OK, this needs test tweaks:
and
|
@jywarren Yeah sure would love to help! 🎉 So just to be clear I need to the code added be more accessible by adding aria labels etc right? Also should I pull from this branch and add my commit to this pr or like separate? Thanks ✌️ |
If you could open a PR against this branch that'd be awesome. Then after I fix the tests I can pull your code in and merge all together. |
Thank you!!!! |
This looks beautiful!!! |
Fixed 2, and i think the third (spam related) is non-deterministic and possibly unrelated... let's see! |
Hmm. @keshavsethi I am seeing an error here: The error output is above. Do you have any idea what went wrong? Thank you!!! |
@jywarren System tests of this PR are fine. Can you please check it? Thanks |
Hey @jywarren I ran the changed pages through WAVE and there is only one tiny change that has to been done (show.html.erb line 60 err:empty link) Maybe we can open this as an fto? ✌️ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jywarren The changes look great!! 😍
This looks fantastic, thank you so much!!! |
Oh one question about the ambiguity you asked in #6307 -- i support removing the line of "stats", i agree "we don't need that little stats display at all anymore" and that we should remove it. At a later time, i will probably request that we think about other ways to assess tags in addition to viewing them by # of subscribers as shown here: https://publiclab.org/stats/subscriptions . Perhaps a view that allows sorting and re-ordering of tags by # of contributors, and by total content posted in a tag. Perhaps some way that site mods can manually group and then see all water-related tags together.... like this wikimedia "category tree": https://www.appropedia.org/Appropedia:CategoryTree, or perhaps this might be an expansion of the "Popular Tags" interactive graph that @cesswairimu created on publiclab.org/stats, but i'm really not sure! Thanks for reading 😃 At a later time, i look forward to thinking about this. |
Hi @keshavsethi - I saw this error in the log and it seemed related to spam2:
|
Thank you! |
@jywarren I have made some changes in system tests of spam2 i.e banning if users, publish and spam(these three tests were giving some errors). Now it is working fine, please review #8034 Thanks!! |
Thank you @keshavsethi @Tlazypanda @jywarren all so much for work on this! Exciting! 🌈 |
OK, final change: note how in Note I had thought of adding an icon to https://fontawesome.com/v4.7.0/icon/filter So I opted to leave the text. |
Great, so just to make sure i understand, The contributors tab looks great! |
It's all based on screen width breakpoints -- https://getbootstrap.com/docs/4.4/layout/overview/#responsive-breakpoints -- so, large devices are those with:
I chose this because it's when the tabs start to hit the button on the right side, and tested it at all widths. Thanks! |
OK, so solution will be to just hide the counts on the narrowest screens (like many phones): Done in 831aea1 ! |
Can be checked momentarily at https://stable.publiclab.org/tag/balloon-mapping |
Hi @Tlazypanda -- i'm making some changes from #6307 here, and it may need some aria fixes if you're able to help out? Thank you!!
More soon, this is just my first commit.
Compact view:
Larger view:
And largest layout:
Do we prefer that the text of the tabs is all black? I guess that makes sense, but it's an easy fix.
UPDATE:
OK, i made all tab text black (dark grey) and adjusted the spacing below the main image. Tidier: