Skip to content

allow log messages to be sorted/paginated#142

Open
pbiron wants to merge 1 commit into
humanmade:masterfrom
pbiron:sort-paginate-log-messages
Open

allow log messages to be sorted/paginated#142
pbiron wants to merge 1 commit into
humanmade:masterfrom
pbiron:sort-paginate-log-messages

Conversation

@pbiron

@pbiron pbiron commented Aug 9, 2017

Copy link
Copy Markdown

Addresses #134.

This uses the DataTables jquery plugin to sort/paginate log messages.

DataTables is very configurable, and others may have different preferences for how to configure it, but I think the way I have it configured in this PR is pretty good:

  • by default, sort by the log level (the Type column), in the following order: error, warning, notice, info...under the assumption that what is most important to end-users are the error & warning messages
  • by default, show 10 messages per page
  • allows searching/filtering of log messages

p.s. I experimented with the tablesorter jquery plugin as mentioned in #134, but found DataTables to be easier

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant