-
Notifications
You must be signed in to change notification settings - Fork 738
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
PDO Drivers: remove the visual noice #3981
base: master
Are you sure you want to change the base?
Conversation
Makes sense, but I don't know how I feel about this. I believe the idea was to make it obvious in the title of the page that it's for PDO driver as compared to the dedicated drivers. See this for example: Having PDO in the title is actually useful in distinguishing it from the other pages. That's why I think we should not remove this. |
Indeed, the |
0There is a saying in the place where I live: Transfer from a sore head to a healthy one, which means: to shift from the guilty (the abbr-titles instead full titles, the hidden breadcrums on mobile devices instead horizontall scrolled, the search engine snippets instead of convenience for users etc.) to the innocent (the abbr-titles of a PDO Drivers pages :-) 1
The current headlines interfere with users, create visual noise and nothing else. In the example you gave, you can clearly see which page you are talking about, if you imagine that the garbage Otherwise, we need to add the names of the parent levels to each documentation header like predefined constants to see exactly which predefined constants we are talking about: https://www.php.net/manual/en/uodbc.constants.php — It's a terse headline, isn't it? :) And also do the same with all the other sections that violate the logic you suggested. Otherwise, it is not clear why it applies only to the page with the list of PDO drivers. Maybe the tab headings are unclear because they should be replaced with full headings, not abbreviated ones. And show a breadcrumbs with horizontal scroll on mobile devices. In any case, users don't deserve to see For example, this page should look like this, otherwise it's not clear which section we're in right now: Please open the link on your smartphone and try to answer where on the site php.net You are currently. But this does not prevent this page from existing without the PostgreSQL Vendor Specific Database Extension title 2
A specific example of such a page would be more convincing ;-) 3Is it really true that nothing jumps inside you when you look at a list that says The headings on the page are the headings of the page, they are primarily for people. Tab headings are also for people, but I dare say that to a much lesser extent and they are looked at less often; and the responsibility of page headings does not include responsibility for tab headings. Search engines without Why breadcrumbs are hidden on small—screen devices is a big mystery... P.S.My tabs look like this. Therefore, only hovering the mouse gives me the full name of the page, so I (like, apparently, you) don't care, they wrote in the title of the tab P.P.S.We've done this trick with headlines before, and then there were no objections: #3117 |
That would actually be nice. I am not completely against this change. I completely see where you are coming from with it, and it makes sense. But in this particular case, it's not much of a gain. It would be better if we had a solution so we could have the cake and eat it, too. I haven't looked at how the titles are generated. I am unsure what the difference is between short and full titles. There are other issues I can see with these pages. For example, why do we have a table and a list with the same information in https://www.php.net/manual/en/pdo.drivers.php I would say that this page needs a more holistic approach than what you are proposing. |
@cmb69 Shouldn't the full title be used in the page's title and the abbreviated title only in the table of contents? |
It seems to me that breadcrumbs are enough for the user to have the opportunity to understand which part of the site he is currently in. And to do this, we just need to make changes to a few CSS rules
You are absolutely right. But even if everything stays the same and the noisy headlines are removed, the page will get better, not worse. And if there is an opportunity to improve the page, why not do it ;) Moreover, the changes have already been made, and it remains to press a couple of buttons for the changes to take effect)) |
Take a look at these screenshots instead of a thousand words:
Before
After
The names of the drivers in the list follow the general heading: PDO Drivers, so it is clear that each element of the list is a separate driver name, and the suffix
(PDO)
only creates visual noise, so suffixes should be removed