Closed boonebgorges closed 7 years ago
It might be that we keep the "like" as is and stick something like a bell next to it for the 'subscribe' functionality? The number of subscribers may be ignored, or could be added to the 'popularity' rating for the question...
Yes, I think that's the best way forward in the long run, but I think it's beyond what we can do for the spring.
In https://www.dropbox.com/s/v1yosvl4yozxwal/OLWW_LAYOUT_PROBLEMPOSTV4-EDITQuestion.png?dl=0, subscriptions are mocked up as being per-question. I'll see what can be done to implement this for the Fall.
This is up and ready to test on openlabdev.org.
Previously, question-author subscriptions had been hardcoded. Now that subscriptions are opt-in, I've written a script that subscribes authors to their own questions.
Initial experiment worked - I was emailed when I subscribed and then commented on a question. I then unsubscribed and commented again, and did not receive a notification. Awesome!
My only immediate observation is regarding placement of the notification button - it seems to be a little buried down there at the bottom of the thread. I guess it's only compounded by the fact that we've got some insanely long threads going... Regardless, feel free to ignore this for now - it's not a testing issue.
I'm seeing a rendering issue -- the action icons appear to be overlapping. Anyone else see this?
Windows 10 Home v1703 (64-bit) Chrome 59.0.3071.115 (Official Build) (64-bit)
edit in response 2 @boonebgorges below:
after hard refresh I am still seeing it e.g. http://openlabdev.org/webwork-playground/#:problemId=local/CoordinatePlaneTrig/ratio-inequality-xyr.pg:questionId=11390
to clarify, it looks fine when the question is expanded, but when I collapse it I get what you see below
@moui72 You shouldn't be seeing the subscription icon (the bell) on the main question index, but only on the single problem (zoomed-in) view. Can you confirm? Please be sure you've done a hard refresh, and if you're still seeing it, please share URLs.
The emails are sending!
I've noticed another potential issue, though. The E-mail I was sent including the following url linkback:
however, this gave me an index view. the zoomed-in url for that question seems to be:
the difference being /#/problem/local/
vs /#:problemId=local/
edit: I originally overlooked a secondary differences in the two strings:
/ratio-inequality-xyr.pg/question-11392
vs /ratio-inequality-xyr.pg:questionId=11392
I'm also seeing the overlapping bell whenever a question is collapsed.
Safari 10.1.1 on MacOS 10.12.5
Ah! Collapsing. Thanks. I assume we have to remove the icon for collapsed questions.
Incorrect links are due to changes #24.
I'll make these updates and report back.
Overlapping icons and incorrect email links should be fixed on webwork-playground.
I'm still getting overlapping icons in the following context:
Logged out, zoomed in view, question expanded (not collapsed).
The subscription email now has the correct link. I will break the overlapping icons issue out into a new issue.
This may need design work if it's going to happen for the spring, since we may want to change the heart icon to something else (a bell, maybe).