minor fixes, API integration

This commit is contained in:
2025-12-17 00:39:44 +01:00
parent 154837d411
commit 6b11176015
17 changed files with 287 additions and 174 deletions

View File

@@ -24,11 +24,11 @@ template $ChecklistPage: Box {
}
Label {
label: _("List of all Warframes available as of Dec 10 '25");
label: _("List of all Warframes available as of today");
margin-bottom: 12;
styles [
"dim-label",
"dimmed",
]
}
@@ -155,7 +155,7 @@ template $ChecklistPage: Box {
}
ToggleButton cyte09 {
name: "cyte09";
name: "cyte-09";
label: _("Cyte-09");
margin-bottom: 4;
}
@@ -622,7 +622,7 @@ template $ChecklistPage: Box {
}
ToggleButton cyte09_prime {
name: "cyte09_prime";
name: "cyte-09_prime";
label: _("Cyte-09 Prime");
margin-bottom: 4;
can-target: false;

View File

@@ -32,10 +32,10 @@ corresponding .blp file and regenerate this file with blueprint-compiler.
</child>
<child>
<object class="GtkLabel">
<property name="label" translatable="yes">List of all Warframes available as of Dec 10 '25</property>
<property name="label" translatable="yes">List of all Warframes available as of today</property>
<property name="margin-bottom">12</property>
<style>
<class name="dim-label"/>
<class name="dimmed"/>
</style>
</object>
</child>
@@ -189,7 +189,7 @@ corresponding .blp file and regenerate this file with blueprint-compiler.
</child>
<child>
<object class="GtkToggleButton" id="cyte09">
<property name="name">cyte09</property>
<property name="name">cyte-09</property>
<property name="label" translatable="yes">Cyte-09</property>
<property name="margin-bottom">4</property>
</object>
@@ -740,7 +740,7 @@ corresponding .blp file and regenerate this file with blueprint-compiler.
</child>
<child>
<object class="GtkToggleButton" id="cyte09_prime">
<property name="name">cyte09_prime</property>
<property name="name">cyte-09_prime</property>
<property name="label" translatable="yes">Cyte-09 Prime</property>
<property name="margin-bottom">4</property>
<property name="can-target">false</property>

View File

@@ -5,59 +5,65 @@ template $HomePage: Box {
orientation: vertical;
baseline-position: center;
Adw.Clamp {
Adw.PreferencesGroup {
title: _("Welcome back, Tenno");
styles [
'list-title'
]
Adw.ActionRow {
title: _("Owned Unique Frames:");
title-selectable: false;
activatable: false;
ScrolledWindow {
hexpand: true;
vexpand: true;
child: Adw.PreferencesGroup {
margin-start:20;
margin-end: 20;
title: _("Welcome back, Tenno");
styles [
'list-title'
]
Adw.ExpanderRow owned_frames_row {
title: _("Owned Unique Frames:");
title-selectable: false;
activatable: false;
[suffix]
Label owned_frames {
[suffix]
Label owned_frames {
}
}
}
Adw.ActionRow {
title: _("Owned Basic Frames:");
title-selectable: false;
activatable: false;
Adw.ExpanderRow owned_basics_row {
title: _("Owned Basic Frames:");
title-selectable: false;
activatable: false;
[suffix]
Label owned_basics {
[suffix]
Label owned_basics {
}
}
}
Adw.ActionRow {
title: _("Missing Basic Frames:");
title-selectable: false;
activatable: false;
Adw.ExpanderRow missing_basics_row {
title: _("Missing Basic Frames:");
title-selectable: false;
activatable: false;
[suffix]
Label missing_basics {
[suffix]
Label missing_basics {
}
}
}
Adw.ActionRow {
title: _("Owned Prime Frames:");
title-selectable: false;
activatable: false;
Adw.ExpanderRow owned_primes_row {
title: _("Owned Prime Frames:");
title-selectable: false;
activatable: false;
[suffix]
Label owned_primes {
[suffix]
Label owned_primes {
}
}
}
Adw.ActionRow {
title: _("Missing Prime Frames:");
title-selectable: false;
activatable: false;
Adw.ExpanderRow missing_primes_row {
title: _("Missing Prime Frames:");
title-selectable: false;
activatable: false;
[suffix]
Label missing_primes {
[suffix]
Label missing_primes {
}
}
}
}
}
};
}
}
}

View File

@@ -12,61 +12,69 @@ corresponding .blp file and regenerate this file with blueprint-compiler.
<child>
<object class="AdwClamp">
<child>
<object class="AdwPreferencesGroup">
<property name="title" translatable="yes">Welcome back, Tenno</property>
<style>
<class name="list-title"/>
</style>
<child>
<object class="AdwActionRow">
<property name="title" translatable="yes">Owned Unique Frames:</property>
<property name="title-selectable">false</property>
<property name="activatable">false</property>
<child type="suffix">
<object class="GtkLabel" id="owned_frames"></object>
<object class="GtkScrolledWindow">
<property name="hexpand">true</property>
<property name="vexpand">true</property>
<property name="child">
<object class="AdwPreferencesGroup">
<property name="margin-start">20</property>
<property name="margin-end">20</property>
<property name="title" translatable="yes">Welcome back, Tenno</property>
<style>
<class name="list-title"/>
</style>
<child>
<object class="AdwExpanderRow" id="owned_frames_row">
<property name="title" translatable="yes">Owned Unique Frames:</property>
<property name="title-selectable">false</property>
<property name="activatable">false</property>
<child type="suffix">
<object class="GtkLabel" id="owned_frames"></object>
</child>
</object>
</child>
<child>
<object class="AdwExpanderRow" id="owned_basics_row">
<property name="title" translatable="yes">Owned Basic Frames:</property>
<property name="title-selectable">false</property>
<property name="activatable">false</property>
<child type="suffix">
<object class="GtkLabel" id="owned_basics"></object>
</child>
</object>
</child>
<child>
<object class="AdwExpanderRow" id="missing_basics_row">
<property name="title" translatable="yes">Missing Basic Frames:</property>
<property name="title-selectable">false</property>
<property name="activatable">false</property>
<child type="suffix">
<object class="GtkLabel" id="missing_basics"></object>
</child>
</object>
</child>
<child>
<object class="AdwExpanderRow" id="owned_primes_row">
<property name="title" translatable="yes">Owned Prime Frames:</property>
<property name="title-selectable">false</property>
<property name="activatable">false</property>
<child type="suffix">
<object class="GtkLabel" id="owned_primes"></object>
</child>
</object>
</child>
<child>
<object class="AdwExpanderRow" id="missing_primes_row">
<property name="title" translatable="yes">Missing Prime Frames:</property>
<property name="title-selectable">false</property>
<property name="activatable">false</property>
<child type="suffix">
<object class="GtkLabel" id="missing_primes"></object>
</child>
</object>
</child>
</object>
</child>
<child>
<object class="AdwActionRow">
<property name="title" translatable="yes">Owned Basic Frames:</property>
<property name="title-selectable">false</property>
<property name="activatable">false</property>
<child type="suffix">
<object class="GtkLabel" id="owned_basics"></object>
</child>
</object>
</child>
<child>
<object class="AdwActionRow">
<property name="title" translatable="yes">Missing Basic Frames:</property>
<property name="title-selectable">false</property>
<property name="activatable">false</property>
<child type="suffix">
<object class="GtkLabel" id="missing_basics"></object>
</child>
</object>
</child>
<child>
<object class="AdwActionRow">
<property name="title" translatable="yes">Owned Prime Frames:</property>
<property name="title-selectable">false</property>
<property name="activatable">false</property>
<child type="suffix">
<object class="GtkLabel" id="owned_primes"></object>
</child>
</object>
</child>
<child>
<object class="AdwActionRow">
<property name="title" translatable="yes">Missing Prime Frames:</property>
<property name="title-selectable">false</property>
<property name="activatable">false</property>
<child type="suffix">
<object class="GtkLabel" id="missing_primes"></object>
</child>
</object>
</child>
</property>
</object>
</child>
</object>

View File

@@ -35,7 +35,7 @@ template $VoidmanifestWindow: Adw.ApplicationWindow {
// Main View
content:
Adw.ViewStack viewstack {
notify::visible-child => $on_page_changed();
};
[bottom]
ActionBar {

View File

@@ -39,7 +39,9 @@ corresponding .blp file and regenerate this file with blueprint-compiler.
</object>
</child>
<property name="content">
<object class="AdwViewStack" id="viewstack"></object>
<object class="AdwViewStack" id="viewstack">
<signal name="notify::visible-child" handler="on_page_changed"/>
</object>
</property>
<child type="bottom">
<object class="GtkActionBar">

View File

@@ -5,20 +5,25 @@ template $WishlistPage: Gtk.Box {
orientation: vertical;
baseline-position: center;
Adw.Clamp {
Adw.PreferencesGroup wishlist {
header-suffix: Button btn_wishlist_add {
icon-name: 'plus-circle-outline-symbolic';
ScrolledWindow {
hexpand: true;
vexpand: true;
Adw.PreferencesGroup wishlist {
margin-end:20;
header-suffix: Button btn_wishlist_add {
icon-name: 'plus-circle-outline-symbolic';
styles [
'flat',
'circular',
'suggested-action'
]
};
separate-rows: true;
title: _("Wishlist");
styles [
'flat',
'circular',
'suggested-action'
"list-title"
]
};
separate-rows: true;
title: _("Wishlist");
styles [
"list-title"
]
}
}
}
}

View File

@@ -12,22 +12,29 @@ corresponding .blp file and regenerate this file with blueprint-compiler.
<child>
<object class="AdwClamp">
<child>
<object class="AdwPreferencesGroup" id="wishlist">
<property name="header-suffix">
<object class="GtkButton" id="btn_wishlist_add">
<property name="icon-name">plus-circle-outline-symbolic</property>
<object class="GtkScrolledWindow">
<property name="hexpand">true</property>
<property name="vexpand">true</property>
<child>
<object class="AdwPreferencesGroup" id="wishlist">
<property name="margin-end">20</property>
<property name="header-suffix">
<object class="GtkButton" id="btn_wishlist_add">
<property name="icon-name">plus-circle-outline-symbolic</property>
<style>
<class name="flat"/>
<class name="circular"/>
<class name="suggested-action"/>
</style>
</object>
</property>
<property name="separate-rows">true</property>
<property name="title" translatable="yes">Wishlist</property>
<style>
<class name="flat"/>
<class name="circular"/>
<class name="suggested-action"/>
<class name="list-title"/>
</style>
</object>
</property>
<property name="separate-rows">true</property>
<property name="title" translatable="yes">Wishlist</property>
<style>
<class name="list-title"/>
</style>
</child>
</object>
</child>
</object>