dba suggestions
Wednesday, 10 June 2015 · 6 messages · last reply 14 Jun 2015
AB
Andy Bunce10 Jun 2015 22:21 #
Hi
Here are a couple of minor suggestions for dba enhancement/fixes (based on 8.2.1). I should get a PR together but that might be some time.
1. Login field tab order.
Currently this is (1) name (2) <login bn> (3) password. Moving the login button to after the password would make sense to me as I could then tab through the fields.
This could be done just be putting the button in the next row (or setting an explicit tab order if there is some reason for the current appearance.)
2. logs
There is a little bug in the log sorting function.
The log page is /dba/*logs*?...
The field headers go to /dba/*log*?..
Also it would be nice if urls for the log display would use any supplied query parameter for initial filtering e.g going to
/dba/logs?name=2015-06-09&resource=&sort=&loglist=&query=%2Fmyapp%2F
would display the logs for 2015-06-09 containing /myapp/
/Andy
CG
Christian Grün11 Jun 2015 00:23 #
Hi Andy,
Good to see it was mostly peanuts [1]. The snapshot will be available in a few minutes..
Quoted text · Andy Bunce · 1 line
> 1. Login field tab order.
Done.
Quoted text · Andy Bunce · 2 lines
> 2. logs > There is a little bug in the log sorting function.
Done.
Quoted text · Andy Bunce · 4 lines
> Also it would be nice if urls for the log display would use any supplied > query parameter for initial filtering e.g going to > > /dba/logs?name=2015-06-09&resource=&sort=&loglist=&query=%2Fmyapp%2F
Currently, it's possible to look for a string in both the log list and the chosen log file (the key for that is "loglist"). Or would you rather be able to look for different strings?
Quoted text · Andy Bunce · 1 line
> I should get a PR together but that might be some time.
Obviously, future PRs are always welcome ;) And in general, we are interested in hearing more about what you (and others) think about the DBA interface.
Best,
Christian
[1] https://github.com/BaseXdb/basex/commit/7b5483bcb749696551f0a46416bdecdfc35a52f3
AB
Andy Bunce11 Jun 2015 23:08 #
The fixes look good to me.
Regarding the log filtering I had not really seen the role of loglist.
/dba/logs?loglist=%2Fbenchx
Gives me what I wanted, but the what I would like to see is that url to also show the results from the first log in loglist. As a user this is what I want to see most of the time.
/Andy
Quoted text · Christian Grün · 36 lines
On 10 June 2015 at 23:23, Christian Grün <christian.gruen at gmail.com> wrote: > Hi Andy, > > Good to see it was mostly peanuts [1]. The snapshot will be available > in a few minutes.. > > > 1. Login field tab order. > > Done. > > > 2. logs > > There is a little bug in the log sorting function. > > Done. > > > Also it would be nice if urls for the log display would use any supplied > > query parameter for initial filtering e.g going to > > > > /dba/logs?name=2015-06-09&resource=&sort=&loglist=&query=%2Fmyapp%2F > > Currently, it's possible to look for a string in both the log list and > the chosen log file (the key for that is "loglist"). Or would you > rather be able to look for different strings? > > > I should get a PR together but that might be some time. > > Obviously, future PRs are always welcome ;) And in general, we are > interested in hearing more about what you (and others) think about the > DBA interface. > > Best, > Christian > > [1] > https://github.com/BaseXdb/basex/commit/7b5483bcb749696551f0a46416bdecdfc35a52f3 >
CG
Christian Grün12 Jun 2015 18:34 #
Hi Andy,
Quoted text · Andy Bunce · 3 lines
> Gives me what I wanted, but the what I would like to see is that url to also > show the results from the first log in loglist. As a user this is what I > want to see most of the time.
I'm not sure if I get it right.. What do you mean by "first log"? Would you prefer to have automatically displayed the results of the uppermost entry in the log list whenever a search in the left input field is performed?
Christian
Quoted text · Andy Bunce · 42 lines
> > /Andy > > > On 10 June 2015 at 23:23, Christian Grün <christian.gruen at gmail.com> wrote: >> >> Hi Andy, >> >> Good to see it was mostly peanuts [1]. The snapshot will be available >> in a few minutes.. >> >> > 1. Login field tab order. >> >> Done. >> >> > 2. logs >> > There is a little bug in the log sorting function. >> >> Done. >> >> > Also it would be nice if urls for the log display would use any supplied >> > query parameter for initial filtering e.g going to >> > >> > /dba/logs?name=2015-06-09&resource=&sort=&loglist=&query=%2Fmyapp%2F >> >> Currently, it's possible to look for a string in both the log list and >> the chosen log file (the key for that is "loglist"). Or would you >> rather be able to look for different strings? >> >> > I should get a PR together but that might be some time. >> >> Obviously, future PRs are always welcome ;) And in general, we are >> interested in hearing more about what you (and others) think about the >> DBA interface. >> >> Best, >> Christian >> >> [1] >> https://github.com/BaseXdb/basex/commit/7b5483bcb749696551f0a46416bdecdfc35a52f3 > >
AB
Andy Bunce13 Jun 2015 01:37 #
Yes
Quoted text · Christian Grün · 62 lines
On 12 Jun 2015 17:35, "Christian Grün" <christian.gruen at gmail.com> wrote: > Hi Andy, > > > Gives me what I wanted, but the what I would like to see is that url to > also > > show the results from the first log in loglist. As a user this is what I > > want to see most of the time. > > I'm not sure if I get it right.. What do you mean by "first log"? > Would you prefer to have automatically displayed the results of the > uppermost entry in the log list whenever a search in the left input > field is performed? > > Christian > > > > > > /Andy > > > > > > On 10 June 2015 at 23:23, Christian Grün <christian.gruen at gmail.com> > wrote: > >> > >> Hi Andy, > >> > >> Good to see it was mostly peanuts [1]. The snapshot will be available > >> in a few minutes.. > >> > >> > 1. Login field tab order. > >> > >> Done. > >> > >> > 2. logs > >> > There is a little bug in the log sorting function. > >> > >> Done. > >> > >> > Also it would be nice if urls for the log display would use any > supplied > >> > query parameter for initial filtering e.g going to > >> > > >> > /dba/logs?name=2015-06-09&resource=&sort=&loglist=&query=%2Fmyapp%2F > >> > >> Currently, it's possible to look for a string in both the log list and > >> the chosen log file (the key for that is "loglist"). Or would you > >> rather be able to look for different strings? > >> > >> > I should get a PR together but that might be some time. > >> > >> Obviously, future PRs are always welcome ;) And in general, we are > >> interested in hearing more about what you (and others) think about the > >> DBA interface. > >> > >> Best, > >> Christian > >> > >> [1] > >> > https://github.com/BaseXdb/basex/commit/7b5483bcb749696551f0a46416bdecdfc35a52f3 > > > > >
CG
Christian Grün14 Jun 2015 13:36 #
Got it. One general complication here – in terms of usability – is that the first hit in the log list always refers to the newest log file, because all DBA search requests are themselves added to the log files.. As a result, the first log file is usually not the one that contains the relevant hits. Maybe we can find a solution to somehow exclude these log entries.
Quoted text · Andy Bunce · 65 lines
On Sat, Jun 13, 2015 at 1:37 AM, Andy Bunce <bunce.andy at gmail.com> wrote: > Yes > > On 12 Jun 2015 17:35, "Christian Grün" <christian.gruen at gmail.com> wrote: >> >> Hi Andy, >> >> > Gives me what I wanted, but the what I would like to see is that url to >> > also >> > show the results from the first log in loglist. As a user this is what I >> > want to see most of the time. >> >> I'm not sure if I get it right.. What do you mean by "first log"? >> Would you prefer to have automatically displayed the results of the >> uppermost entry in the log list whenever a search in the left input >> field is performed? >> >> Christian >> >> >> > >> > /Andy >> > >> > >> > On 10 June 2015 at 23:23, Christian Grün <christian.gruen at gmail.com> >> > wrote: >> >> >> >> Hi Andy, >> >> >> >> Good to see it was mostly peanuts [1]. The snapshot will be available >> >> in a few minutes.. >> >> >> >> > 1. Login field tab order. >> >> >> >> Done. >> >> >> >> > 2. logs >> >> > There is a little bug in the log sorting function. >> >> >> >> Done. >> >> >> >> > Also it would be nice if urls for the log display would use any >> >> > supplied >> >> > query parameter for initial filtering e.g going to >> >> > >> >> > /dba/logs?name=2015-06-09&resource=&sort=&loglist=&query=%2Fmyapp%2F >> >> >> >> Currently, it's possible to look for a string in both the log list and >> >> the chosen log file (the key for that is "loglist"). Or would you >> >> rather be able to look for different strings? >> >> >> >> > I should get a PR together but that might be some time. >> >> >> >> Obviously, future PRs are always welcome ;) And in general, we are >> >> interested in hearing more about what you (and others) think about the >> >> DBA interface. >> >> >> >> Best, >> >> Christian >> >> >> >> [1] >> >> >> >> https://github.com/BaseXdb/basex/commit/7b5483bcb749696551f0a46416bdecdfc35a52f3 >> > >> >
Written for BaseX 8.2. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery