The Reader Manage page is getting a big upgrade!
Copy/pasted from @fraying's p2 post here: p5PDj3-1lP-p2
The default view includes two recommended sites.
If the user enters a URL.
If the user enters a search term.
If the user clicks “Settings".
<660px
as those are not needed on mobile.Related Work:
New UI Components:
New Data Layers:
New Reducers:
Looks fantastic!
Just a small accessibility note on the "hit return to follow" behaviour in Follow by URL - I think the functionality is great but we should consider whether to mention it in the label below the search box.
A lot of users won't have a return key to hit. Virtual keyboards on mobile devices often have a "submit" or "search" for an input instead, and those using assistive technologies might not be hitting keys at all.
@bluefuton Re: "hit return to follow" - good point. iOS has "return" in the keyboard. Android has an icon, but the icon means "return" and I think we can count on people to know that.
I want to use "hit return" here because the user is already typing, so it could save them some time and they won't know they can do that unless we tell them. In the end, if they can't "hit return" they can still click the text and complete the action.
I want to use "hit return" here because the user is already typing
They might not be typing, though :) They might be dictating the characters, and navigating the page using a screen reader.
I can see that it's a really useful instruction. Can we think of another way of saying it that doesn't reference the input device? Like "Submit to Follow giraffesaregreat.com" or something along those lines?
"They might not be typing, though"
That's a tiny percentage. If we can change the message for that browser, great. If not, we have to speak clearly to the majority of users. "Submit to" is not clear.
@fraying why do you think we need to call it out explicitly? It's a standard-ish thing to hit enter in a textbox to kick off the action associated with the textbox. I can see the concern that by explicitly saying "Hit enter..." we're setting up the expectation that the user _needs_ to hit enter, not that it's a handy affordance for folks with keyboards.
Because if we don't call it out, the only way to discover it is by accident.
Because if we don't call it out, the only way to discover it is by accident.
but...
It's a standard-ish thing to hit enter in a textbox to kick off the action associated with the textbox
also, it's a bit confusing because for that to work, the textbox must have focus. Do we want to tie the message appearing to the textbox having focus?
Throwing out ideas: maybe just highlighting the selected result is a common enough pattern? Letting arrow keys change what is highlighted?
A nice thing there is that we could highlight the result that is not first. So we could let the user try to follow a url that we don't know about.
This is the least critical decision to getting this working. Let's not rabbit hole on it. We can tweak text once we have something to play with. Ok?
Behavior for when clicking "See More" results:
In "Follow by Text Search":
If the user enters a search term, clicking “Follow” on a result disappears it from the results and adds it to the top of the Followed Sites list.
Clicking "Follow" doesn't make it disappear from the results. It just changes the text label from Follow to Following.
I thought about this overnight and realized where the problem was. We have two states:
Right after searching, when there are a limited number of search results shown (design shows 3 but the text calls for 10), and the Followed Sites block is showing below the search results. In this case, it would make the most sense for a newly followed site to disappear from search results and appear in the Followed Sites block below it (this is what happens now when entering a URL).
After searching _and_ clicking the "X More" link. In this state, the Followed Sites block is gone so we can use infinite scroll. In this case, it might be confusing for the result to disappear when followed, because there's nowhere for it to appear, so the user doesn't see it go anywhere.
Having two different behaviors for two different states is too complicated for our own good, so if we have to choose one, I suspect _not_ disappearing the result is the right call. Either way, triggering a success message ("You followed Site Name") in the green pill will be helpful.
I've updated this issue's description to include a mockup of Manage Following's mobile view and updated popover design.
@samouri: Note also that we should go with @jancavan's design for the larger widths, too. That means we're omitting the Last Update timestamp and URL, and moving the byline to the end.
we're omitting the Last Update timestamp and URL, and moving the byline to the end.
I'm updating these in the ReaderSubscriptionListItem
component.
Closing in favour of individual issues: #12950, #12951, #12952, #12953, #12954, #12956, #12958, #12959, #12960, https://github.com/Automattic/wp-calypso/issues/12752
Most helpful comment
This is the least critical decision to getting this working. Let's not rabbit hole on it. We can tweak text once we have something to play with. Ok?