Skip to content

Commit 1af475d

Browse files
committed
Update for new Sociable status
1 parent 496361b commit 1af475d

3 files changed

Lines changed: 19 additions & 16 deletions

File tree

FlexibleContactsSort/FlexibleContactSorting.cs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,11 @@ private static int GetOnlineStatusOrder(ContactData contactData)
8686
{
8787
return (contactData?.CurrentStatus.OnlineStatus).GetValueOrDefault() switch
8888
{
89-
OnlineStatus.Online => 1,
90-
OnlineStatus.Away => 2,
91-
OnlineStatus.Busy => 3,
92-
_ => 4,
89+
OnlineStatus.Sociable => 1,
90+
OnlineStatus.Online => 2,
91+
OnlineStatus.Away => 3,
92+
OnlineStatus.Busy => 4,
93+
_ => 5,
9394
};
9495
}
9596

FlexibleContactsSort/FlexibleContactsSort.csproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
<PackageId>FlexibleContactSorting</PackageId>
1212
<Title>Flexible Contact Sorting</Title>
1313
<Authors>Banane9</Authors>
14-
<Version>0.4.2-beta</Version>
15-
<Description>This MonkeyLoader mod for Resonite allows sorting contacts flexibly and to your liking, including pinning your favorites to the top.</Description>
14+
<Version>0.5.0-beta</Version>
15+
<Description>This MonkeyLoader mod for Resonite allows sorting contacts flexibly and to your liking, including pinning your favorites to the top. It also adds other Quality of Life features to the Contacts Page, such as a clear button for the search, an extra color for your outgoing conctact requests, capacity display to contacts' sessions, and contacts loading without lag.</Description>
1616
<PackageReadmeFile>README.md</PackageReadmeFile>
1717
<PackageLicenseExpression>LGPL-3.0-or-later</PackageLicenseExpression>
1818
<PackageProjectUrl>https://github.com/ResoniteModdingGroup/FlexibleContactsSort</PackageProjectUrl>
@@ -42,16 +42,16 @@
4242
</ItemGroup>
4343

4444
<ItemGroup>
45-
<PackageReference Include="MonkeyLoader" Version="0.16.3-beta" />
46-
<PackageReference Include="MonkeyLoader.GamePacks.Resonite" Version="0.15.1-beta" />
45+
<PackageReference Include="MonkeyLoader" Version="0.16.4-beta" />
46+
<PackageReference Include="MonkeyLoader.GamePacks.Resonite" Version="0.15.2-beta" />
4747
<PackageReference Include="PolySharp" Version="1.14.1">
4848
<PrivateAssets>all</PrivateAssets>
4949
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
5050
</PackageReference>
5151
<PackageReference Include="Resonite.Elements.Core" Version="1.0.2" />
5252
<PackageReference Include="Resonite.Elements.Quantity" Version="1.0.2" />
53-
<PackageReference Include="Resonite.FrooxEngine" Version="2024.4.32.495" />
54-
<PackageReference Include="Resonite.SkyFrost.Base" Version="1.0.2" />
53+
<PackageReference Include="Resonite.FrooxEngine" Version="2024.5.31.202" />
54+
<PackageReference Include="Resonite.SkyFrost.Base" Version="1.0.3" />
5555
<PackageReference Include="System.Text.Json" Version="8.0.2">
5656
<PrivateAssets>all</PrivateAssets>
5757
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,27 @@ Flexible Contacts Sort
22
======================
33

44
A [MonkeyLoader](https://github.com/MonkeyModdingTroop/MonkeyLoader) mod for [Resonite](https://resonite.com/) that sorts contacts Better™ and to your liking, including pinning your favorites to the top.
5+
It also adds other Quality of Life features to the Contacts Page, such as a clear button for the search, an extra color for your outgoing conctact requests, capacity display to contacts' sessions, and contacts loading without lag.
56

67
Semi-relevant Resonite issue: [#41](https://github.com/Yellow-Dog-Man/Resonite-Issues/issues/41).
78

89
## Sorting Order
910
I've made a few noteworthy changes to the sorting order:
1011
- No longer sorts by most recent message timestamp
1112
- Incoming friend requests are now the first category, preceding Online friends
12-
- Neos Bot is now forced to the top of the list
13+
- 'Resonite' and personal account are now forced to the top of the list
1314
- You can pin contacts to always appear at the top of the list, regardless of status
1415
- Sent Requests are separated from Offline friends, and have a yellow background color
1516

1617
### Vanilla Sort
1718
1. Friends with unread messages
1819
2. Ties broken by online status
19-
1. Online Friends
20-
2. Incoming Friend Requests
21-
3. Away Friends
22-
4. Busy Friends
23-
5. Offline Friends and Sent Requests
20+
1. Sociable Friends
21+
2. Online Friends
22+
3. Incoming Friend Requests
23+
4. Away Friends
24+
5. Busy Friends
25+
6. Offline Friends and Sent Requests
2426
3. Further ties broken by most recent message
2527
4. Even further ties broken by username alphabetical order
2628

0 commit comments

Comments
 (0)