readsoftware / ReadIssues

This is an issue repository for READ. Intended for issues and feature change request that arise during testing and development.
0 stars 0 forks source link

Utility Panel - Intialize View #157

Closed IanMcCrabb closed 5 years ago

IanMcCrabb commented 5 years ago

At the moment the utility panel initializes with both the Edit tools and View tools expanded. Not suggesting we change the default behaviour, but we would like the flexibility to initialize with any permutation of the edit, view and layout tools collapsed. If not any permutation, then all collapsed would work. Ideally if we could make this a parameter on the url search string.

image

stevewh commented 5 years ago

Need some more description.

On Thu, Jun 27, 2019 at 6:25 AM IanMcCrabb notifications@github.com wrote:

Assigned #157 https://github.com/readsoftware/ReadIssues/issues/157 to @stevewh https://github.com/stevewh.

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/readsoftware/ReadIssues/issues/157?email_source=notifications&email_token=AARYOIPM32PE2CFC7LM57N3P4Q6MLA5CNFSM4H3X7OU2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOSGN4ONA#event-2442905396, or mute the thread https://github.com/notifications/unsubscribe-auth/AARYOIPXVCTXJ7BQJWYM673P4Q6MLANCNFSM4H3X7OUQ .

IanMcCrabb commented 5 years ago

Simple description is that we want away to initialize READ with the edit, view and layout tools collapsed rather than expanded. If this can be a parameter on the url then this would be best.

stevewh commented 5 years ago

Enhancement and could be done with little effort.

On Thu, Jun 27, 2019 at 8:08 AM IanMcCrabb notifications@github.com wrote:

Simple description is that we want away to initialize READ with the edit, view and layout tools collapsed rather than expanded. If this can be a parameter on the url then this would be best.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/readsoftware/ReadIssues/issues/157?email_source=notifications&email_token=AARYOIKZ3U7PAGLLY5MAEPTP4RKMRA5CNFSM4H3X7OU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYWBJVQ#issuecomment-506205398, or mute the thread https://github.com/notifications/unsubscribe-auth/AARYOINAQ2DXNI7EGMII5Q3P4RKMRANCNFSM4H3X7OUQ .

IanMcCrabb commented 5 years ago

If this can be done with little effort would appreciate it as we have a current requirement.

IanMcCrabb commented 5 years ago

config.php settings tested OK

IanMcCrabb commented 5 years ago

What are the parameters for the url?

stevewh commented 5 years ago

part of the focus parameter f=textEdit, pane1, EVL where presence means open and E - Edit, V-View and L-Layout no 3rd value results in using the config.php parameter values and , with no value results in all closed. Currently these are not stick as the close/open states have not been added to the URL update.

On Wed, Aug 7, 2019 at 3:10 AM IanMcCrabb notifications@github.com wrote:

What are the parameters for the url?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/readsoftware/ReadIssues/issues/157?email_source=notifications&email_token=AARYOINNZ2LXAFZKXSB4OLDQDIOI5A5CNFSM4H3X7OU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3W4NJQ#issuecomment-518899366, or mute the thread https://github.com/notifications/unsubscribe-auth/AARYOIPAYQ7C5T6LV3DEMKTQDIOI5ANCNFSM4H3X7OUQ .

IanMcCrabb commented 5 years ago

Have tested this and its not really what we were after. As I noted above the config.php settings work OK. But parameters are not working properly.

Firstly they don't seem to be accepted at all if they are not placed directly after pane1. This doesn't work for us because we are always specifying a set of resources we wnat loaded e.g.

?db=CKI00600&f=textEdit,pane1&l=H12,bln1

When testing them with just the pane1 they default to all closed when the config setting is all opened.

?db=CKI00600&f=textEdit,pane1

When I do add them in after the pane1 they don,t seem to have any effect.

?db=CKI00600&f=textEdit,pane1, EVL

stevewh commented 5 years ago

This works in test case. It must be 3rd in the list of values for the 'f' parameter. The 'f' parameter can be in any position. This does accept parameters after.

localhost:81/readV1RC/?db=testdb&f=textEdit,pane1,EV&l=H12,bln1,edn1

On Fri, Aug 9, 2019 at 1:34 AM IanMcCrabb notifications@github.com wrote:

Have tested this and its not really what we were after. As I noted above the config.php settings work OK. But parameters are not working properly.

Firstly they don't seem to be accepted at all if they are not placed directly after pane1. This doesn't work for us because we are always specifying a set of resources we wnat loaded e.g.

?db=CKI00600&f=textEdit,pane1&l=H12,bln1

When testing them with just the pane1 they default to all closed when the config setting is all opened.

?db=CKI00600&f=textEdit,pane1

When I do add them in after the pane1 they don,t seem to have any effect.

?db=CKI00600&f=textEdit,pane1, EVL

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/readsoftware/ReadIssues/issues/157?email_source=notifications&email_token=AARYOIIHC5WKZPHFJRY4PWDQDSURTA5CNFSM4H3X7OU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD35FZDA#issuecomment-519724172, or mute the thread https://github.com/notifications/unsubscribe-auth/AARYOIJJP3H6ULLHWZG42HDQDSURTANCNFSM4H3X7OUQ .

IanMcCrabb commented 5 years ago

Cheers Steve, All good.