2014-12-23, 02:08
Hey everyone
I've been working on a new feature the last couple of days. It's an activity log or notification center which stores a list of all activities/notifications that were sent to it during the uptime of Kodi. The idea is to make it easier to review problems like a broken script or which items haven't been scanned into the library etc. But we could also put in informational stuff like "Addon X has been updated". In addition to simply being able to see certain activites and inspect them in more detail it is also possible to specify an action that can be performed for an activity. So for the activity "Addon X has been updated" the action would take the user directly into the addon browser to the list containing addon X. For a file that couldn't be scraped into the library the action would take the user directly to that file in the files view so that he can try to manually scrape it.
I've written the basic code to send and handle activities/notifications and now I'm looking for ideas/input/feedback on how to integrate it into the GUI.
Some background info on what is currently there. The activity log simply stores a list of activities sorted by date and supports listing/adding/deleting activities.
Every activity consists of
Right now I've implemented the GUI with a select dialog showing the icon, label/title and description and clicking on an activity will execute the action. But obviously that's very ugly and hacky (feast your eyes on the screenshot ).
What I imagine is a window with a list of activites, some options/settings like "show/hide information activites", "show/hide warning activities" and "show/hide error activities" and some actions like deleting an activity, deleting all activities, inspecting an activity (which should show a dialog with more space for the detailed description and maybe buttons for deletion and execution) and executing an activty.
I'm pretty open as to how this should be integrated into the GUI so it could be done like the addon browser (allowing to reuse the same controls and their IDs) i.e. a huge list with a view extra options/actions or it could be a completely new window. So let me know what you think of the idea, if you think something doesn't make sense or something is missing and how you would like to see it implemented from a GUI point of view (in terms of mockups or specific controls).
I've been working on a new feature the last couple of days. It's an activity log or notification center which stores a list of all activities/notifications that were sent to it during the uptime of Kodi. The idea is to make it easier to review problems like a broken script or which items haven't been scanned into the library etc. But we could also put in informational stuff like "Addon X has been updated". In addition to simply being able to see certain activites and inspect them in more detail it is also possible to specify an action that can be performed for an activity. So for the activity "Addon X has been updated" the action would take the user directly into the addon browser to the list containing addon X. For a file that couldn't be scraped into the library the action would take the user directly to that file in the files view so that he can try to manually scrape it.
I've written the basic code to send and handle activities/notifications and now I'm looking for ideas/input/feedback on how to integrate it into the GUI.
Some background info on what is currently there. The activity log simply stores a list of activities sorted by date and supports listing/adding/deleting activities.
Every activity consists of
- a level (information, warning, error)
- a label/title
- a description
- a datetime
- an icon (optional)
- a detailed description (optional)
- a label for an execution button (optional)
- an action to be executed (optional)
Right now I've implemented the GUI with a select dialog showing the icon, label/title and description and clicking on an activity will execute the action. But obviously that's very ugly and hacky (feast your eyes on the screenshot ).
What I imagine is a window with a list of activites, some options/settings like "show/hide information activites", "show/hide warning activities" and "show/hide error activities" and some actions like deleting an activity, deleting all activities, inspecting an activity (which should show a dialog with more space for the detailed description and maybe buttons for deletion and execution) and executing an activty.
I'm pretty open as to how this should be integrated into the GUI so it could be done like the addon browser (allowing to reuse the same controls and their IDs) i.e. a huge list with a view extra options/actions or it could be a completely new window. So let me know what you think of the idea, if you think something doesn't make sense or something is missing and how you would like to see it implemented from a GUI point of view (in terms of mockups or specific controls).