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

Address remaining problems with new settings section. #27117

Closed
SergioBertolinSG opened this issue Feb 8, 2017 · 23 comments · Fixed by #27206
Closed

Address remaining problems with new settings section. #27117

SergioBertolinSG opened this issue Feb 8, 2017 · 23 comments · Fixed by #27206

Comments

@SergioBertolinSG
Copy link
Contributor

This ticket is a compilation to track problems found with the new settings sections.

Testing is tracked here owncloud/QA#335
Now continuing using master.

When enabling a new app, it should create a new section instead of adding all of them in additional section.

@tomneedham

@davitol please add here the problems you find.

@SergioBertolinSG
Copy link
Contributor Author

SergioBertolinSG commented Feb 8, 2017

I think admin and personal titles should be more clear, they are still looking like another section.

screen shot 2017-02-08 at 17 44 45

@davitol
Copy link
Contributor

davitol commented Feb 8, 2017

Logs are not shown via webUI:

This PR:

screen shot 2017-02-07 at 13 23 36

Previous versions:
screen shot 2017-02-07 at 13 22 49

Note: TypeError: 'OC.Log is undefined' is spotted in Firebug when we change 'what to log'

@davitol
Copy link
Contributor

davitol commented Feb 8, 2017

@tomneedham

  • Clicking on setting menu, it spits the following logs in owncloud.log
{"reqId":"ofquu\/bHI\/mXaOSjJly+","remoteAddr":"82.159.139.58","app":"PHP","message":"Illegal offset type in isset or empty at \/opt\/owncloud\/lib\/private\/Cache\/CappedMemoryCache.php#41","level":3,"time":"2017-02-07T09:13:27+00:00","method":"GET","url":"\/index.php\/settings\/personal","user":"admin"}
{"reqId":"ofquu\/bHI\/mXaOSjJly+","remoteAddr":"82.159.139.58","app":"PHP","message":"Object of class OC\\User\\User could not be converted to string at \/opt\/owncloud\/lib\/composer\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Driver\/PDOStatement.php#91","level":3,"time":"2017-02-07T09:13:27+00:00","method":"GET","url":"\/index.php\/settings\/personal","user":"admin"}
{"reqId":"ofquu\/bHI\/mXaOSjJly+","remoteAddr":"82.159.139.58","app":"PHP","message":"Illegal offset type at \/opt\/owncloud\/lib\/private\/Cache\/CappedMemoryCache.php#49","level":3,"time":"2017-02-07T09:13:27+00:00","method":"GET","url":"\/index.php\/settings\/personal","user":"admin"}
  • 'En' instead of 'English' in dropdown menu (same in other languages)

  • The following error keeps showing when clicking on any admin section

screen shot 2017-02-03 at 14 47 15

@DeepDiver1975
Copy link
Member

Logs are not shown via webUI:

This was removed weeks back - this is intended

@DeepDiver1975
Copy link
Member

I think admin and personal titles should be more clear, they are still looking like another section.

I guess it would be good to get @felixheidecke to have a look at this

@tomneedham
Copy link
Contributor

When enabling a new app, it should create a new section instead of adding all of them in additional section.

Personally I think the current way is the best for backwards compatibility. Otherwise once someone upgrades they'd just get a section per app which was not really the idea here. Apps are free to join any of the sections or create their own if they believe that to be the best course of action.

@tomneedham
Copy link
Contributor

@davitol I am unable to reproduce the 3 error messages in the log when clicking on the settings menu. Are you able to enable traces and send that to me so that I can try and work out where this is coming from? Do you have anything special setup caching wise?

@SergioBertolinSG
Copy link
Contributor Author

Personally I think the current way is the best for backwards compatibility. Otherwise once someone upgrades they'd just get a section per app which was not really the idea here. Apps are free to join any of the sections or create their own if they believe that to be the best course of action.

With current approach they will have all of them hidden in 'Additional' section, while expecting to have a section per app. Look how the admin sidebar look in 9.1.4:

screen shot 2017-02-09 at 08 47 09

@DeepDiver1975
Copy link
Member

All the apps have to be ported to support the new approach

@SergioBertolinSG
Copy link
Contributor Author

OK, after talking with @tomneedham I understand how this works. I'll make a list of all apps which requires improvements to appear correctly.

@davitol
Copy link
Contributor

davitol commented Feb 10, 2017

@tomneedham Apps section does not show tha apps enabled /disabled (master branch)

IMHO it has sev-1

screen shot 2017-02-10 at 08 55 36
screen shot 2017-02-10 at 08 55 27

@felixheidecke
Copy link
Contributor

I am very fond of not nesting in too many levels. Having multiple categories might help flattening the structure. Showing and hiding disabled apps could be changed in Apps ➡️ General. Disabled apps in the list could be labeled to make it more clear. Try this click-dummy 👈

@davitol
Copy link
Contributor

davitol commented Feb 10, 2017

@felixheidecke Not sure if I got the idea, but showing all apps (enabled and disabled) in that menu, maybe it will be too long:

Enabled:
  - activity: 2.3.2
  - admin_audit: true
  - comments: 0.3.0
  - dav: 0.2.7
  - enterprise_key: true
  - federatedfilesharing: 0.3.0
  - federation: 0.1.0
  - files: 1.5.1
  - files_external: 0.6.0
  - files_pdfviewer: 0.8.1
  - files_sharing: 0.10.0
  - files_texteditor: 2.1
  - files_trashbin: 0.9.0
  - files_versions: 1.3.0
  - files_videoplayer: 0.9.8
  - firewall: 2.4.0
  - firstrunwizard: 1.1
  - gallery: 15.0.0
  - notifications: 0.3.0
  - provisioning_api: 0.5.0
  - systemtags: 0.3.0
  - systemtags_management: 0.2.0
  - templateeditor: 0.1
  - updatenotification: 0.2.1
  - user_ldap: 0.9.0
  - windows_network_drive: 0.2.33
  - workflow: 0.2.3
Disabled:
  - announcementcenter
  - encryption
  - external
  - files_antivirus
  - files_drop
  - files_ldap_home
  - objectstore
  - password_policy
  - sharepoint
  - user_external
  - user_shibboleth

Just my opinion 🦊
Note: Experimental apps should also have another label I guess

@DeepDiver1975
Copy link
Member

Apps section does not show tha apps enabled /disabled (master branch)

@davitol works for me - maybe related to the installed apps. Any error in the browser console? THX

@felixheidecke
Copy link
Contributor

@davitol I think you got the wrong person 😉 it's @felixheidecke

maybe it will be too long:

There is a UX saying: "horizonal space is expensive, vertical space is cheap"
As of today, having long vertical sites is the most common way to display greater amounts of content. As of this moment, the current page is over 6000px in height, and you probably didn't have any trouble navigating the site. 😉 We navigate loooong pages everyday without noticing it because it comes natural to us.

As a general advice @ALL:
Trying to hide more and more stuff behind buttons that need to be found, identified and clicked is a pain in the butt. Keeping nesting to a healthy minimum, streamlining navigation of click-paths, thinking vertical increases good UX vastly.

@davitol
Copy link
Contributor

davitol commented Feb 10, 2017

@DeepDiver1975

@davitol works for me - maybe related to the installed apps. Any error in the browser console? THX

screen shot 2017-02-10 at 13 42 05

Not sure if the 302 returned when listing the apps list is right. If you think is useful, do no hesitate to ping and i'll share my container credentials.

@DeepDiver1975
Copy link
Member

{"reqId":"aGoo00ui03Gb1z9z+jax","remoteAddr":"95.90.199.29","app":"no app in context","message":"Exception: {\"Exception\":\"Symfony\\\\Component\\\\Routing\\\\Exception\\\\RouteNotFoundException\",\"Message\":\"Unable to generate a URL for the named route \\\"settings.AppSettings.viewApps\\\" as such route does not exist.\",\"Code\":0,\"Trace\":\"#0 \\\/opt\\\/owncloud\\\/lib\\\/private\\\/Route\\\/Router.php(339): Symfony\\\\Component\\\\Routing\\\\Generator\\\\UrlGenerator->generate('settings.AppSet...', Array, 1)\\n#1 \\\/opt\\\/owncloud\\\/lib\\\/private\\\/URLGenerator.php(73): OC\\\\Route\\\\Router->generate('settings.AppSet...', Array)\\n#2 \\\/opt\\\/owncloud\\\/lib\\\/private\\\/TemplateLayout.php(101): OC\\\\URLGenerator->linkToRoute('settings.AppSet...')\\n#3 \\\/opt\\\/owncloud\\\/lib\\\/private\\\/legacy\\\/template.php(230): OC\\\\TemplateLayout->__construct('user', 'files')\\n#4 \\\/opt\\\/owncloud\\\/lib\\\/public\\\/AppFramework\\\/Http\\\/TemplateResponse.php(156): OC_Template->fetchPage()\\n#5 \\\/opt\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(112): OCP\\\\AppFramework\\\\Http\\\\TemplateResponse->render()\\n#6 \\\/opt\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/App.php(99): OC\\\\AppFramework\\\\Http\\\\Dispatcher->dispatch(Object(OCA\\\\Files\\\\Controller\\\\ViewController), 'index')\\n#7 \\\/opt\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Routing\\\/RouteActionHandler.php(46): OC\\\\AppFramework\\\\App::main('ViewController', 'index', Object(OC\\\\AppFramework\\\\DependencyInjection\\\\DIContainer), Array)\\n#8 [internal function]: OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler->__invoke(Array)\\n#9 \\\/opt\\\/owncloud\\\/lib\\\/private\\\/Route\\\/Router.php(299): call_user_func(Object(OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler), Array)\\n#10 \\\/opt\\\/owncloud\\\/lib\\\/base.php(894): OC\\\\Route\\\\Router->match('\\\/apps\\\/files\\\/')\\n#11 \\\/opt\\\/owncloud\\\/index.php(46): OC::handleRequest()\\n#12 {main}\",\"File\":\"\\\/opt\\\/owncloud\\\/lib\\\/composer\\\/symfony\\\/routing\\\/Generator\\\/UrlGenerator.php\",\"Line\":130}","level":3,"time":"2017-02-10T13:29:26+00:00","method":"GET","url":"\/index.php\/apps\/files\/","user":"admin"}
{"reqId":"aGoo00ui03Gb1z9z+jax","remoteAddr":"95.90.199.29","app":"PHP","message":"strpos(): Empty needle at \/opt\/owncloud\/lib\/private\/TemplateLayout.php#101","level":3,"time":"2017-02-10T13:29:26+00:00","method":"GET","url":"\/index.php\/apps\/files\/","user":"admin"}
{

@DeepDiver1975
Copy link
Member

LOL - this PR killed too much code - #26763

@DeepDiver1975 DeepDiver1975 mentioned this issue Feb 10, 2017
9 tasks
@SergioBertolinSG
Copy link
Contributor Author

Related - #27158

@davitol
Copy link
Contributor

davitol commented Feb 15, 2017

Related - #27166

@davitol
Copy link
Contributor

davitol commented Feb 21, 2017

@davitol I am unable to reproduce the 3 error messages in the log when clicking on the settings menu. Are you able to enable traces and send that to me so that I can try and work out where this is coming from? Do you have anything special setup caching wise?

@tomneedham please ping me in private and I will give you the credentials of my testing environment

@davitol
Copy link
Contributor

davitol commented Feb 21, 2017

#27117 (comment)

Fixed with #27197

@lock
Copy link

lock bot commented Aug 1, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Aug 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.