Needs work
Project:
Subscriptions
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
9 Apr 2012 at 00:32 UTC
Updated:
4 Aug 2021 at 09:48 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
damienmckennaThis patch makes a few changes:
A D6 patch will be easily to put together once you're happy with this :)
Comment #2
damienmckennaFYI this is what the page looks like after the update (Bartik theme:
Comment #3
salvisI like this idea, but it needs some refinement:
1. Having multiple [Save] buttons is confusing and is unlikely to work correctly. We'll need a single [Save] button at the bottom.
2. We have an option to hide the Overview page, with the following goals:
a) to reduce the number of tabs, possibly to one, if we only have one type of subscriptions, and
b) to remove the per-user settings.
Your all-in-one page covers a), and it needs to cover b) as well, and the option needs to be reworded to cover both cases.
3. Implementing both types of Overview pages in the same function makes this function overly complex and long, especially because it already does double duty. I would prefer to have a new subscriptions_page_user_combined() function that embeds the relevant parts subscriptions_page_user_overview().
Here are some preliminary comments based on a first look through your code. I'd like to have a third party review and test this, too.
When reading from top to bottom, it does not make sense to read about the "alternative UI" before having encountered the normal one.
You're offering an inappropriate judgement here.
This is the correct default, but on other occasions you pass TRUE (see above), leading to incoherent behavior as long as the variable is not set.
The text needs tuning and it should adapt to the style of the existing option descriptions.
Trailing space.
Comment #4
damienmckennaWorking on it.
Comment #5
damienmckennaI've made all of the requested changes, please give it a try. I ended up merging the two different overview options into a single selector and the logic has been updated accordingly; an update script has been included to handle changing the existing variable.
Comment #6
salvisPlease explain. Maybe I was too fuzzy in #3, but I think these are two orthogonal settings:
-- multipage or combined
-- show settings or hide them
BTW, have you checked how this works with bulk adding/removing subscriptions from the user list? This functionality needs to continue to work, of course. I'm on the fence whether to offer combined mode for bulk operations. We could save the extra step with the [Done] button and return immediately to the user list, but this is a rare administrative function and maybe it's better not to cut any corners. What do you think?
Comment #7
damienmckenna@salvis: The patch changes the "hide overview" option to be a selector with the following options:
You can change as many different checkboxes as you wish, each subform still behaves correctly.
Comment #8
salvisLet's not call the per-content-type subscription pages "settings pages." Subscriptions are not settings and there are no settings on those pages. The only page that has settings is the Overview page, in the bottom part.
Have you looked at admin/config/system/subscriptions/userdefaults? Do we agree that this will not be available for combining?
I'm sure someone will come along who likes to have all subscription types on the combined page but who doesn't want to expose any of the settings to his users. So, sorry, but I disagree with your decision to use a 'select' element. What we need on admin/config/system/subscriptions/userdefaults is two checkboxes:
Please address each of the points that I raised.
Comment #9
salvisComment #10
arekanderu commentedI would like to make a suggestion here as well since you are working on this. I posted it here http://drupal.org/node/1617008 but you can adjust it accordingly to your UI changes i believe.
Comment #11
Sifro commentedsubscribing, would love a simpler interface like the one you proposed.
BTW, patching failed 2 chunks.
Comment #12
damienmckenna