Fix duplicate results for sessions, simplify and optimize

Authored by alex on Feb 16 2020, 2:49 PM.

Description

Fix duplicate results for sessions, simplify and optimize

Summary:
The sessions are now only loaded when the plugin is initialized or the folder changes.
Additionally the option to search for a session just by the name has been removed,
because Kate itself provides this functionality (demonstated in screenshots).

Test Plan:
Create sessions, they should show up like in the last two screenshots.
After testing this create/edit/delete sessions, the changes should be automatically applied.
Before:


After:

Search with "kate" prefix should work as before:

Reviewers: broulik, davidedmundson, ngraham, Plasma, Kate, cullmann

Reviewed By: Kate, cullmann

Subscribers: cullmann, plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D27109

Details

Committed
cullmannFeb 16 2020, 2:50 PM
Reviewer
Kate
Differential Revision
D27109: Fix duplicate results for sessions, simplify and optimize
Parents
R114:30a5ea828a7e: Merge remote-tracking branch 'origin/Plasma/5.18'
Branches
Unknown
Tags
Unknown