-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #69 from turtlegarden/status-pages
Status pages for Search and backend improvements. Thank you so much for the work done on this!
- Loading branch information
Showing
25 changed files
with
981 additions
and
641 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
option( | ||
'profile', | ||
type: 'combo', | ||
choices: [ | ||
'default', | ||
'development' | ||
], | ||
value: 'default' | ||
) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!@PYTHON@ | ||
# SPDX-License-Identifier: GPL-3.0-or-later | ||
|
||
class Config: | ||
DEVEL = '@DEVEL@' == 'Development' | ||
PROFILE = '@DEVEL@' | ||
APP_ID = '@APPID@' | ||
VERSION = '@VERSION@' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,60 @@ | ||
using Gtk 4.0; | ||
using Adw 1; | ||
|
||
template DowngradeWindow : Adw.Window { | ||
default-width: 500; | ||
default-height: 450; | ||
modal: true; | ||
|
||
Adw.ToolbarView main_toolbar_view { | ||
[top] | ||
HeaderBar header_bar { | ||
show-title-buttons: false; | ||
|
||
[start] | ||
Button cancel_button { | ||
label: _("Cancel"); | ||
template DowngradeWindow: Adw.Window { | ||
default-width: 500; | ||
default-height: 450; | ||
modal: true; | ||
|
||
Adw.ToolbarView main_toolbar_view { | ||
[top] | ||
HeaderBar header_bar { | ||
show-title-buttons: false; | ||
|
||
[start] | ||
Button cancel_button { | ||
label: _("Cancel"); | ||
} | ||
|
||
[end] | ||
Button apply_button { | ||
sensitive: false; | ||
label: _("Downgrade"); | ||
|
||
styles [ | ||
"suggested-action" | ||
] | ||
} | ||
} | ||
|
||
content: Adw.ToastOverlay toast_overlay { | ||
Stack main_stack { | ||
Overlay main_overlay { | ||
[overlay] | ||
ProgressBar progress_bar { | ||
pulse-step: 0.7; | ||
can-target: false; | ||
|
||
styles [ | ||
"osd" | ||
] | ||
} | ||
|
||
Adw.PreferencesPage outerbox { | ||
Adw.PreferencesGroup { | ||
Adw.SwitchRow mask_row { | ||
title: _("Disable Updates"); | ||
active: true; | ||
} | ||
} | ||
[end] | ||
Button apply_button { | ||
sensitive: false; | ||
label: _("Downgrade"); | ||
styles["suggested-action"] | ||
|
||
Adw.PreferencesGroup versions_group { | ||
title: _("Select a Release"); | ||
description: _("This will uninstall the current release and install the chosen one instead. Note that downgrading can cause issues."); | ||
} | ||
} | ||
} | ||
content: | ||
Adw.ToastOverlay toast_overlay { | ||
Stack main_stack { | ||
Overlay main_overlay { | ||
[overlay] | ||
ProgressBar progress_bar { | ||
pulse-step: 0.7; | ||
can-target: false; | ||
styles["osd"] | ||
} | ||
|
||
Adw.PreferencesPage outerbox { | ||
|
||
Adw.PreferencesGroup { | ||
Adw.SwitchRow mask_row { | ||
title: _("Disable Updates"); | ||
active: true; | ||
} | ||
} | ||
|
||
Adw.PreferencesGroup versions_group { | ||
title: _("Select a Release"); | ||
description: _("This will uninstall the current release and install the chosen one instead. Note that downgrading can cause issues."); | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
} | ||
} | ||
} | ||
}; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,86 +1,98 @@ | ||
using Gtk 4.0; | ||
using Adw 1; | ||
|
||
template FilterWindow : Adw.Window { | ||
default-width: 500; | ||
default-height: 450; | ||
title: _("Set Filters"); | ||
modal: true; | ||
|
||
Adw.ToolbarView main_toolbar_view { | ||
[top] | ||
HeaderBar header_bar { | ||
show-title-buttons: false; | ||
|
||
[start] | ||
Button cancel_button { | ||
label: _("Cancel"); | ||
} | ||
[end] | ||
Button apply_button { | ||
label: _("Apply"); | ||
styles["suggested-action"] | ||
} | ||
} | ||
content: | ||
Adw.ToastOverlay toast_overlay { | ||
Stack main_stack { | ||
Overlay main_overlay { | ||
ScrolledWindow scrolled_window { | ||
vexpand: true; | ||
Adw.Clamp{ | ||
Box outerbox { | ||
orientation: vertical; | ||
|
||
ListBox install_type_list { | ||
margin-top: 12; | ||
margin-bottom: 12; | ||
margin-start: 12; | ||
margin-end: 12; | ||
hexpand: true; | ||
valign: start; | ||
selection-mode: none; | ||
styles["boxed-list"] | ||
|
||
Adw.ActionRow apps_row { | ||
title: _("Show Apps"); | ||
|
||
Switch apps_switch { | ||
valign: center; | ||
} | ||
|
||
activatable-widget: apps_switch; | ||
} | ||
Adw.ActionRow runtimes_row { | ||
title: _("Show Runtimes"); | ||
|
||
Switch runtimes_switch { | ||
valign: center; | ||
} | ||
|
||
activatable-widget: runtimes_switch; | ||
} | ||
Adw.ExpanderRow remotes_expander { | ||
enable-expansion: false; | ||
title: _("Filter Apps by Remotes"); | ||
} | ||
Adw.ExpanderRow runtimes_expander { | ||
enable-expansion: false; | ||
title: _("Filter Apps by Runtime"); | ||
} | ||
} | ||
// Button remove_filters_button { | ||
// visible: false; | ||
// margin-bottom: 18; | ||
// halign: center; | ||
// label: _("Clear Filters"); | ||
// styles ["pill"] | ||
// } | ||
} | ||
} | ||
template FilterWindow: Adw.Window { | ||
default-width: 500; | ||
default-height: 450; | ||
title: _("Set Filters"); | ||
modal: true; | ||
|
||
Adw.ToolbarView main_toolbar_view { | ||
[top] | ||
HeaderBar header_bar { | ||
show-title-buttons: false; | ||
|
||
[start] | ||
Button cancel_button { | ||
label: _("Cancel"); | ||
} | ||
|
||
[end] | ||
Button apply_button { | ||
label: _("Apply"); | ||
|
||
styles [ | ||
"suggested-action" | ||
] | ||
} | ||
} | ||
|
||
content: Adw.ToastOverlay toast_overlay { | ||
Stack main_stack { | ||
Overlay main_overlay { | ||
ScrolledWindow scrolled_window { | ||
vexpand: true; | ||
|
||
Adw.Clamp { | ||
Box outerbox { | ||
orientation: vertical; | ||
|
||
ListBox install_type_list { | ||
margin-top: 12; | ||
margin-bottom: 12; | ||
margin-start: 12; | ||
margin-end: 12; | ||
hexpand: true; | ||
valign: start; | ||
selection-mode: none; | ||
|
||
styles [ | ||
"boxed-list" | ||
] | ||
|
||
Adw.ActionRow apps_row { | ||
title: _("Show Apps"); | ||
|
||
Switch apps_switch { | ||
valign: center; | ||
} | ||
|
||
activatable-widget: apps_switch; | ||
} | ||
|
||
Adw.ActionRow runtimes_row { | ||
title: _("Show Runtimes"); | ||
|
||
Switch runtimes_switch { | ||
valign: center; | ||
} | ||
|
||
activatable-widget: runtimes_switch; | ||
} | ||
|
||
Adw.ExpanderRow remotes_expander { | ||
enable-expansion: false; | ||
title: _("Filter Apps by Remotes"); | ||
} | ||
|
||
Adw.ExpanderRow runtimes_expander { | ||
enable-expansion: false; | ||
title: _("Filter Apps by Runtime"); | ||
} | ||
} | ||
|
||
// Button remove_filters_button { | ||
// visible: false; | ||
// margin-bottom: 18; | ||
// halign: center; | ||
// label: _("Clear Filters"); | ||
// styles ["pill"] | ||
// } | ||
} | ||
} | ||
}; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
} | ||
} |
Oops, something went wrong.