-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
HTML IDs are used multiple times #27870
Comments
yes and it sucks... very old dusty tech debt |
it's all over the place. Instead of touching everything the approach is to fix whatever is being touched as part of feature/bugfixes |
So I guess @individual-it should fix this one while writing the UI tests that need to find things on the page by id. And fix others as they are found when building PageObjects for each page. |
Yes, that's a good idea. Make sure to grep all source code to make sure that changing those ids don't break anything. Some source code and CSS likely requires adjusting. |
I don't think we need to change the IDs just delete the DIVs that come later |
same problem on the files page with |
Hey, this issue has been closed because the label |
I feel this is a real problem and we need to fix it to make oC generate correct HTML |
This would likely need a rewrite of all the frontend components. Can only be done on a case by case basis when touching parts of the UI. |
should I open case by case issues? If the UI works in practicality its "only" bad design and makes future development harder |
@individual-it if you find issues that are impairing or breaking the UI tests, then we have a good reason to fix that if possible. I know there are some ids that are really hard-coded in many places so might not be easy for some (ex: "#filestables", "#fileList") |
Steps to reproduce
Expected behaviour
there should be only one item with that id
Actual behaviour
there is a div with the id "notification" inside "notification-container" div
and multiple in "app-content-*" divs
Server configuration
Operating system:
Debian
Web server:
Apache 2.2
Database:
sqlite
PHP version:
PHP 7.0.7-5
ownCloud version: (see ownCloud admin page)
10.0.0.12
Updated from an older ownCloud or fresh install:
fresh
Where did you install ownCloud from:
git
The content of config/config.php:
List of activated apps:
Are you using external storage, if yes which one: local/smb/sftp/...
no
Are you using encryption: yes/no
no
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
no
Client configuration
Browser:
Firefox
Operating system:
Debian
The text was updated successfully, but these errors were encountered: