Skip to content
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

[ticket/12649] Change sort & display options in footers to dropdown menu #2541

Closed
wants to merge 9 commits into from

Conversation

PayBas
Copy link
Contributor

@PayBas PayBas commented Jun 3, 2014

https://tracker.phpbb.com/browse/PHPBB3-12649

display-options

Somewhat depends on #2504 for icons.

@iMattPro
Copy link
Member

iMattPro commented Jun 6, 2014

I'm not sure about this particular change. Hiding multiple drop-down menus in another drop-down menu? I think this one may be going a bit too far with all the button-menus. It's just hiding menus in a place that is not obvious. I think these topic sort tools were much more effective as they were.

@PayBas
Copy link
Contributor Author

PayBas commented Jun 6, 2014

It wasn't necessarily my idea.

The reasoning is that these items are a major eyesore, and take up quite a lot of UI space. And 99% of users will never touch them in their lives.

On most of my boards I simply hide them completely, and in all these years I haven't had a single(!) remark that something was missing.

@nickvergessen
Copy link
Contributor

More efficient yes, but also more clutter.

@nickvergessen
Copy link
Contributor

Should we just add this into the topic tools thing? Just like the option to download all attachments?

@iMattPro
Copy link
Member

iMattPro commented Jun 9, 2014

I don't think we should be doing this to the topic sort tools at all IMO.

@PayBas
Copy link
Contributor Author

PayBas commented Jun 9, 2014

These display options are present on a lot of pages. Way more than topic-tools.

Whereas the benefits on viewforum and viewtopic might be minor, this PR greatly reduces the already overcrowded MCP. It was prototech's idea. He was working on the new CSS jumpbox and quick-mod. This PR fits those upcoming changes nicely.

Keep in mind though that the screenshot is just a quickie. I didn't really get around to styling it yet, because it depends on other PRs.

<!-- IF S_VIEWFORUM -->
<form method="post" action="{S_FORUM_ACTION}">
<!-- ELSEIF S_VIEWTOPIC -->
<form id="viewtopic" method="post" action="{S_TOPIC_ACTION}">
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure why this one has an id. I searched through all the CSS and JS files and can't find any instance where it's actually referred to.

@PayBas PayBas changed the title [WIP][ticket/12649] Change sort & display options in footers to dropdown menu [ticket/12649] Change sort & display options in footers to dropdown menu Jun 15, 2014
@PayBas PayBas changed the title [ticket/12649] Change sort & display options in footers to dropdown menu [3.2][ticket/12649] Change sort & display options in footers to dropdown menu Jun 21, 2014
<!-- ENDIF -->
<hr class="dashed" />
<!-- IF S_IN_MCP and TOPIC_ID -->
<label><input type="checkbox" class="radio" name="t" value="{TOPIC_ID}" checked="checked" />&nbsp; <strong>{L_ONLY_TOPIC}</strong></label>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm actually not really sure what this does. I haven't been able to get it to show.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Click on the MCP link whilst in a topic, then go to the Moderation queue tab and it'll show.

@nickvergessen
Copy link
Contributor

I think it would be a nice idea to add a button to save the settings as new default settings.

@PayBas
Copy link
Contributor Author

PayBas commented Sep 23, 2014

@nickvergessen so that would be a checkbox below the select options, with a label "Set as default".

If it's checked, upon form submit, it will go to the UCP, change the settings, and automatically redirect back to the topic/forum we were viewing?

@nickvergessen
Copy link
Contributor

I would go with a new button instead of a check box.

@VOLKERMORD
Copy link

This change work good in phpbb 3.1.0 rc4?
by the way very nice work.

@PayBas
Copy link
Contributor Author

PayBas commented Oct 1, 2014

@VOLKERMORD this needs to be updated first

@nickvergessen nickvergessen changed the title [3.2][ticket/12649] Change sort & display options in footers to dropdown menu [ticket/12649] Change sort & display options in footers to dropdown menu Oct 2, 2014
@Nicofuma
Copy link
Member

bump @PayBas @nickvergessen

@marc1706
Copy link
Member

While I don't like hiding too much stuff, this is one of the least used features on the viewtopic page so I'm all for adding this drop down.

@Nicofuma
Copy link
Member

As far as I know, @PayBas doesn't have enough time to work on this these days.
Someone wants to take it over and finish the PR? (needs to be rebased against master to start, and a new PR opened). @hanakin maybe?

@hanakin
Copy link
Member

hanakin commented Aug 28, 2015

This had alot of controversy in its UI implimentation and no one could agree upon a solution. But when I get some time over the weekend I will rebase it if I can as I know its complete as @PayBas included it in his theme.

@rmcgirr83
Copy link
Contributor

#4013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
10 participants