-
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
Standardize presentation of "no results" messages on tag page tabs #9510
Comments
@ebarry I'd love to work on this. |
Thank you @TildaDares ! Would you like to choose just one specific part of this to begin with? Please write back with what you'd like to break off to start with. Are there any questions i can answer? |
@ebarry I'll start with the first one. For the no results text I'm thinking 'No results. Have you checked the other tabs? or try searching:'. |
This is exactly the kind of improvement that would really help! Thanks @TildaDares :)
I'm sure this can be improved, please write back with more edit ideas! |
Thanks @TildaDares! Also wondering if a small emoji might help make the message friendlier? Building off your and @ebarry's ideas now, maybe something like:
|
@bhamster07 @ebarry Your suggestions definitely add more warmth. I'll start working on it. |
Hi all, thanks and love the brainstorming happening here. I'm just marking this with labels to show it can be broken out into multiple issues (or pull requests) and also that discussion on the exact text for each tab is still ongoing. Maybe we should think about presenting the texts like this:
is this OK for all three options to be standardized? I'm also adding the Once we agree on the exact texts for each, we can mark this as an |
These texts look perfect to me, exactly how i was hoping we could standardize, and i see @bhamster07 gave a 👍 as well, so these texts are good to go! |
@jywarren @ebarry I think the issue with the count error in the contributors tab is because of Lines 348 to 354 in 9b60ef6
That method is used to count the number of notes which excludes wikis plots2/app/controllers/tag_controller.rb Line 450 in 9b60ef6
Is it possible to replace @note_count with @users in plots2/app/views/tag/_contributors.html.erb Lines 30 to 37 in 9b60ef6
|
Just writing that I added checkboxes for the 4 forms and noticed @TildaDares put one in for Contributors too (sorry i missed that) so i added it to the list. Thanks!!! Thank you @TildaDares for this digging on the contributors count. I want to link to possibly related older issues... #6675 for example? or #9301 or #2539 I feel like we may have had a related issue here not so long ago, and am thinking about it. But, actually, almost all this code is years old: https://github.com/publiclab/plots2/blame/main/app/models/tag.rb#L155-L170 Maybe I'm just getting mixed up? In any case the inconsistency Liz pointed out is only on the Contributors tab, so I think it should be only this line: https://github.com/publiclab/plots2/blame/main/app/views/tag/show/_nav_tabs.html.erb#L48 That leads back to this variable which really could be better named to be clearer, maybe something like "@contributor_count"? That itself would make a nice FTO! Finally that leads back to this line: Lines 80 to 83 in b03d391
It is odd that we're seeing |
Strangely that user is
Weird!! Let's compare what the queries are that are generating the actual lists of people. |
Just noting that the "no results" message standardization is DONE. Great work everyone! Last thing is to look into this odd contributor count. But I'm going to close this as the main issue is resolved. 🎉 |
The two queries are: plots2/app/controllers/tag_controller.rb Line 150 in 3a05ae2
vs plots2/app/controllers/tag_controller.rb Line 155 in 3a05ae2
but this should be the same??? Lines 80 to 83 in b03d391
|
got it. Fix in #9643!! |
awesome! can't wait to see this go live
--
+1 336-269-1539 / @lizbarry <http://twitter.com/lizbarry> / lizbarry.net
…On Tue, May 18, 2021 at 5:02 PM Jeffrey Warren ***@***.***> wrote:
Closed #9510 <#9510>.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#9510 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABHNH4Q4V5YGJN3VR7POCLTOLIVRANCNFSM427YEH4Q>
.
|
Tag pages are great
Tag pages can benefit from greater standardization 😄
When a tag is clicked from a piece of content, the person is brought to the tag page. This is good.
In the gif below, observe the following non-optimized situations:
the tag page loads on the Research Notes tab, however, IF there are no Research Notes, then the display is "No results found; try searching for 'effect-based-test': Search for "effect-based-test" . In this user journey, this is rather confusing because the person was just reading
effect-based-test
content immediately before arriving on this page, although it was a Wiki vs a Research Note, which many will not understand upon first glance. In general, a person may not instantly understand the tab layout of the tag page, so the "no result" messages should be edited to instead encourage the person to "look at each tab to see where content might exist or else search" -- this suggested text needs copyediting :)Observe that the Questions tab also returns no results, but here we are presented with no text but instead an empty pagination device. Ideally, this would be consistent with how "no results" are shown on other tabs with the encouraging text suggesting people look at all the tabs to see where results might be.
The wiki tab presents properly-- hooray!!! 🎉 🎉 🎉
the Contributors tab has an actual error. Although the count on the tab correctly shows "1", in tab itself displays "no result" text: "No contributors for that tag; try searching for 'effect-based-test':" Secondly, in terms of standardization, the text is almost like the Research Notes Tab "no results" display except after the colon the actual link to go "Search" seems to have been left out, another inconsistency. This tab needs both a bug fix and a standardization.
The text was updated successfully, but these errors were encountered: