Skip to content

Commit aa5e056

Browse files
0.5.17.0
1 parent 2bc1971 commit aa5e056

File tree

7 files changed

+34
-23
lines changed

7 files changed

+34
-23
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Text;
4+
5+
namespace DarkSky.Core.Classes
6+
{
7+
/*
8+
* Represents the user's saved feeds, lists and timeline from SavedFeedsPrefV2
9+
* Retrieved from this API https://docs.bsky.app/docs/api/app-bsky-actor-get-preferences
10+
*/
11+
public class SavedFeedPreference
12+
{
13+
public string Name { get; set; }
14+
15+
}
16+
}

DarkSky.Core/ViewModels/HomeFeedViewModel.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ private async void Setup(Session session)
5050
if ((bool)item.Pinned && item.TypeValue == "feed")
5151
{
5252
var f = (await atProtoService.ATProtocolClient.Feed.GetFeedGeneratorAsync(new ATUri(item.Value))).AsT0;
53+
5354
Feeds.Add(new CursorNavigationItem(f.View.DisplayName, new FeedCursorSource(item.Value)));
5455
}
5556
else if ((bool)item.Pinned && item.TypeValue == "list")

DarkSky/DarkSky.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<LangVersion>9.0</LangVersion>
1919
<ProjectTypeGuids>{A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
2020
<WindowsXamlEnableOverview>true</WindowsXamlEnableOverview>
21-
<AppxPackageSigningEnabled>True</AppxPackageSigningEnabled>
21+
<AppxPackageSigningEnabled>False</AppxPackageSigningEnabled>
2222
<GenerateAppInstallerFile>False</GenerateAppInstallerFile>
2323
<AppxPackageSigningTimestampDigestAlgorithm>SHA256</AppxPackageSigningTimestampDigestAlgorithm>
2424
<AppxAutoIncrementPackageRevision>True</AppxAutoIncrementPackageRevision>

DarkSky/MainPage.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@
185185
<icons:FluentIconElement Symbol="Chat24" />
186186
</muxc:NavigationViewItem.Icon>
187187
</muxc:NavigationViewItem>
188-
<muxc:NavigationViewItem Content="Feeds">
188+
<muxc:NavigationViewItem Content="Feeds" Visibility="Collapsed">
189189
<muxc:NavigationViewItem.Icon>
190190
<icons:FluentIconElement Symbol="BroadActivityFeed24" />
191191
</muxc:NavigationViewItem.Icon>

DarkSky/Package.appxmanifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<Identity
1111
Name="2505FireCubeStudios.Darksky"
1212
Publisher="CN=3C7C8FC9-7104-4B33-8730-EE1E929D5D3B"
13-
Version="0.4.16.0" />
13+
Version="0.5.17.0" />
1414

1515
<mp:PhoneIdentity PhoneProductId="6916ad9d-61d4-4569-a8b0-d65d9cdfb407" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>
1616

DarkSky/Views/FeedsPage.xaml

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,21 @@
88
xmlns:local="using:DarkSky.Views"
99
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
1010
xmlns:muxc="using:Microsoft.UI.Xaml.Controls"
11-
xmlns:toolkit="using:Microsoft.Toolkit.Uwp.UI.Controls"
11+
xmlns:toolkit="using:Microsoft.Toolkit.Uwp.UI.Controls" xmlns:classes="using:DarkSky.Core.Classes"
1212
muxc:BackdropMaterial.ApplyToRootOrPageBackground="True"
1313
NavigationCacheMode="Enabled"
1414
mc:Ignorable="d">
1515
<Grid>
1616
<Grid>
1717
<Grid.RowDefinitions>
18-
<RowDefinition Height="36" />
19-
<RowDefinition Height="50"/>
18+
<RowDefinition Height="50" />
2019
<RowDefinition Height="*" />
2120
</Grid.RowDefinitions>
2221
<Grid
2322
Grid.Row="0"
2423
Height="49"
25-
Padding="16,8,12,8">
24+
Padding="16,8,12,8"
25+
BorderThickness="0, 0, 0, 1" BorderBrush="{ThemeResource MicaBorderBrush}">
2626
<StackPanel
2727
VerticalAlignment="Center"
2828
Orientation="Horizontal"
@@ -34,7 +34,7 @@
3434
<TextBlock
3535
VerticalAlignment="Bottom"
3636
Opacity="0.7"
37-
Text="View your saved feeds and discover new ones!" />
37+
Text="Manage your saved feeds and lists." />
3838
</StackPanel>
3939
<Button
4040
HorizontalAlignment="Right"
@@ -44,20 +44,14 @@
4444
<icons:FluentSymbolIcon Symbol="Add20" />
4545
</Button>
4646
</Grid>
47-
<Grid Grid.Row="1" BorderThickness="0, 0, 0, 1" BorderBrush="{ThemeResource MicaBorderBrush}">
48-
<muxc:NavigationView
49-
Grid.Row="2"
50-
Grid.Column="0"
51-
Grid.ColumnSpan="2"
52-
Height="48"
53-
IsBackButtonVisible="Collapsed"
54-
IsSettingsVisible="False"
55-
PaneDisplayMode="Top">
56-
<muxc:NavigationView.MenuItems>
57-
<muxc:NavigationViewItem Content="My feeds"/>
58-
<muxc:NavigationViewItem Content="Suggested feeds"/>
59-
</muxc:NavigationView.MenuItems>
60-
</muxc:NavigationView>
47+
<Grid Grid.Row="1">
48+
<ListView>
49+
<ListView.ItemTemplate>
50+
<DataTemplate x:DataType="classes:SavedFeedPreference">
51+
<Grid></Grid>
52+
</DataTemplate>
53+
</ListView.ItemTemplate>
54+
</ListView>
6155
</Grid>
6256
</Grid>
6357
</Grid>

DarkSky/Views/SettingsPage.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
FontSize="20"
3636
FontWeight="SemiBold"
3737
Opacity="0.7">
38-
v0.4.16
38+
v0.5.17
3939
</TextBlock>
4040
</StackPanel>
4141
<TextBlock

0 commit comments

Comments
 (0)