summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2019-12-04 10:42:44 -0300
committerFlorian Müllner <fmuellner@gnome.org>2020-08-11 17:28:59 +0200
commit9e07fba5cf71f871d8aff083eb6d715ca8ef1e68 (patch)
tree1ddd68c0c5c0a1ccaad526dbdae437b43658a10a
parent35db67930fa93250c71621bd09577d12fe6d0923 (diff)
downloadgnome-shell-sass-9e07fba5cf71f871d8aff083eb6d715ca8ef1e68.tar.gz
appDisplay: Remove Frequent view
The Frequent apps grid has a few problems: * On a fresh install there would be no history of app usage so the applications shown in the grid have no relevance it takes time to be useful instead of being useful from the start; * The grid has far too many items in it to be relevant; 24 apps is well beyond the average use case as most people don't frequently use that many, so it gets populated with several apps that are single use (hello xterm); * The position of items in the grid are always changing based on an unknown frequency metric (and not by user-intended input) which makes it a poor way to quickly launch apps as one would have to constantly learn the positions of the items in the grid; * Having two app grids is a bit superfluous and needlessly complicates the app launching navigation: you have to spend time checking the frequent grid and if it's not there you have to switch over to another grid and find the app you need in there it's not straightforward. Remove the Frequent tab and simplify the related code. Related: https://gitlab.gnome.org/GNOME/gnome-shell/issues/1425 https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/880
-rw-r--r--widgets/_app-grid.scss49
1 files changed, 1 insertions, 48 deletions
diff --git a/widgets/_app-grid.scss b/widgets/_app-grid.scss
index 1d2e135..c2b8f7e 100644
--- a/widgets/_app-grid.scss
+++ b/widgets/_app-grid.scss
@@ -14,8 +14,6 @@ $app_icon_padding: 24px;
}
}
-//.app-display { spacing: 20px; }
-
/* App Icons */
$app_grid_fg_color: #fff;
@@ -123,15 +121,11 @@ $app_grid_fg_color: #fff;
}
// Some hacks I don't even know
-.all-apps,
-.frequent-apps > StBoxLayout {
+.all-apps {
// horizontal padding to make sure scrollbars or dash don't overlap content
padding: 0px 88px 10px 88px;
}
-// Label when no frequent apps
-.no-frequent-applications-label { @extend %status_text; }
-
// shutdown and other actions in the grid
.system-action-icon {
background-color: rgba(0,0,0,0.8);
@@ -139,44 +133,3 @@ $app_grid_fg_color: #fff;
border-radius: 99px;
icon-size: $app_icon_size * 0.5;
}
-
-/* Frequent | All toggle */
-
-// container
-.app-view-controls {
- padding-bottom: 32px;
-}
-
-// buttons
-.app-view-control {
- padding: 4px 32px;
- margin: 0 4px;
-
- &, &:hover, &:checked {
- @include button(undecorated);
- color: darken($osd_fg_color, 25%);
- }
-
- &:hover {
- color: $osd_fg_color;
- box-shadow: inset 0 -2px darken($osd_fg_color, 25%);
- }
-
- &:active {
- box-shadow: inset 0 -2px $osd_fg_color;
- }
-
- &:checked {
- color: $osd_fg_color;
- box-shadow: inset 0 -2px $selected_bg_color;
- }
-
- &:first-child {
- border-right-width: 0;
- border-radius: 0;
- }
-
- &:last-child {
- border-radius: 0;
- }
-}