Public bug reported:
Some scopes are still not updated to correctly handle the change in
search semantics (to be released with support for filters), that is to
allow searching inside departments and displaying departments if search
string is not empty (rather than doing search "globally", and only allow
departments to be browsed).
This bug is to track any remaining scopes that needs updating.
Long explanation:
The change is in the semantics of the search in the UI. In the
old designs search was designed to be "global", i.e. if you
start typing, departments menu disappears and the search is
"broad". Departments were meant to be used and displayed only
for browsing, i.e. when search query is empty and departments
navigation is used. This search semantics is partially
reflected in the search logic of some scopes.
In the new approach unity shell plugin will no longer reset
current department to "root" nor hide departments menu when
you start typing a query, meaning you can search inside
departments. Some scopes may not expect this and have a simple
search logic along these lines (pseudo-code for better
clarity):
if (search_query_not_empty) {
do_global_search(query_string); // current department surely must be
root , so don't bother passing it around to search! Also, don't bother creating
departments menu since UI will not display it when searching
} else { // empty search string
display_departments_menu(); // ok, empty search, so create
departments menu
display_results_for_department(current_department);
}
** Affects: ubuntu-rest-scopes
Importance: Undecided
Status: New
** Affects: unity-scope-click (Ubuntu)
Importance: High
Assignee: Pawel Stolowski (stolowski)
Status: In Progress
** Also affects: unity-scope-click (Ubuntu)
Importance: Undecided
Status: New
** Branch linked: lp:~stolowski/unity-scope-click/apps-new-search-
semantics
** Changed in: unity-scope-click (Ubuntu)
Importance: Undecided => High
** Changed in: unity-scope-click (Ubuntu)
Assignee: (unassigned) => Pawel Stolowski (stolowski)
** Changed in: unity-scope-click (Ubuntu)
Status: New => Confirmed
** Changed in: unity-scope-click (Ubuntu)
Status: Confirmed => In Progress
** Description changed:
Some scopes are still not updated to correctly handle the change in
search semantics (to be released with support for filters), that is to
- allow searching inside departments (rather than doing search "globally",
- and only allow departments to be browsed).
+ allow searching inside departments and displaying departments if search
+ string is not empty (rather than doing search "globally", and only allow
+ departments to be browsed).
This bug is to track any remaining scopes that needs updating.
Long explanation:
The change is in the semantics of the search in the UI. In the
ld designs search was designed to be "global", i.e. if you
start typing, departments menu disappear and the search is
"broad". Departments were meant to be used and displayed only
for browsing, i.e. when search query is empty and departments
navigation is used. This search semantics is partially
reflected in the search logic of some scopes.
In the new approach unity shell plugin will no longer reset
current department to "root" nor hide departments menu when
you start typing a query, meaning you can search inside
departments. Some scopes may not expect this and have a simple
search logic along these lines (pseudo-code for better
clarity):
if (search_query_not_empty) {
- do_global_search(query_string); // current department surely must
be root , so don't bother passing it around to search! Also, don't bother
creating departments menu since UI will not display it when searching
- } else { // empty search string
- display_departments_menu(); // ok, empty search, so create
departments menu
- display_results_for_department(current_department);
- }
+ do_global_search(query_string); // current department surely must
be root , so don't bother passing it around to search! Also, don't bother
creating departments menu since UI will not display it when searching
+ } else { // empty search string
+ display_departments_menu(); // ok, empty search, so create
departments menu
+ display_results_for_department(current_department);
+ }
** Description changed:
Some scopes are still not updated to correctly handle the change in
search semantics (to be released with support for filters), that is to
allow searching inside departments and displaying departments if search
string is not empty (rather than doing search "globally", and only allow
departments to be browsed).
This bug is to track any remaining scopes that needs updating.
Long explanation:
The change is in the semantics of the search in the UI. In the
- ld designs search was designed to be "global", i.e. if you
+ old designs search was designed to be "global", i.e. if you
start typing, departments menu disappear and the search is
"broad". Departments were meant to be used and displayed only
for browsing, i.e. when search query is empty and departments
navigation is used. This search semantics is partially
reflected in the search logic of some scopes.
In the new approach unity shell plugin will no longer reset
current department to "root" nor hide departments menu when
you start typing a query, meaning you can search inside
departments. Some scopes may not expect this and have a simple
search logic along these lines (pseudo-code for better
clarity):
if (search_query_not_empty) {
do_global_search(query_string); // current department surely must
be root , so don't bother passing it around to search! Also, don't bother
creating departments menu since UI will not display it when searching
} else { // empty search string
display_departments_menu(); // ok, empty search, so create
departments menu
display_results_for_department(current_department);
}
** Description changed:
Some scopes are still not updated to correctly handle the change in
search semantics (to be released with support for filters), that is to
allow searching inside departments and displaying departments if search
string is not empty (rather than doing search "globally", and only allow
departments to be browsed).
This bug is to track any remaining scopes that needs updating.
Long explanation:
The change is in the semantics of the search in the UI. In the
old designs search was designed to be "global", i.e. if you
- start typing, departments menu disappear and the search is
+ start typing, departments menu disappears and the search is
"broad". Departments were meant to be used and displayed only
for browsing, i.e. when search query is empty and departments
navigation is used. This search semantics is partially
reflected in the search logic of some scopes.
In the new approach unity shell plugin will no longer reset
current department to "root" nor hide departments menu when
you start typing a query, meaning you can search inside
departments. Some scopes may not expect this and have a simple
search logic along these lines (pseudo-code for better
clarity):
if (search_query_not_empty) {
do_global_search(query_string); // current department surely must
be root , so don't bother passing it around to search! Also, don't bother
creating departments menu since UI will not display it when searching
} else { // empty search string
display_departments_menu(); // ok, empty search, so create
departments menu
display_results_for_department(current_department);
}
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1541025
Title:
Some scopes are not ready for changes in search semantics
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-rest-scopes/+bug/1541025/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs