-
Notifications
You must be signed in to change notification settings - Fork 0
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 #17 from OpenSpartan/release-1.0.3
Release 1.0.3
- Loading branch information
Showing
46 changed files
with
1,002 additions
and
332 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
# OpenSpartan Workshop 1.0.2 (`SANGHEILI-03012024`) | ||
# OpenSpartan Workshop 1.0.3 (`ESCHARUM-03052024`) | ||
|
||
- Application moves to Windows App SDK 1.5. | ||
- Fixed the logic where some matches for which stats were not acquired were never re-acquired. | ||
- Improves match acquisition performance. | ||
- Fixes an issue where the match population process is not done if a playlist or playlist map/mode pair is not available. | ||
- Fix an issue with the query where the map and playlist metadata was requested from the server even when it was available locally. | ||
- [#2] Fixed a bug where the battle pass navigation was not correctly done on smaller window sizes. | ||
- [#3] Medal name ID is now shown in medal details, so that a user can note it for SQL queries. | ||
- [#5] Medals are now shown for each of the matches. | ||
- User can navigate to matches where they earned medals from the match view. | ||
- [#10] Ranked information displayed in match view and match details. | ||
- [#12] **Battle Pass** is now listed as **Operations** in the navigation view. | ||
- Fixed a bug where the service record might not correctly load. | ||
- [#14] Title now correctly displays the tier and tier type. | ||
- Onyx Cadet Grade 3 now correctly renders the large icon in the service record. Caused by Halo Infinite API game CMS misconfiguration. | ||
|
||
Refer to [**getting started guide**](https://openspartan.com/docs/workshop/guides/get-started/) to start using OpenSpartan Workshop. |
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
80 changes: 80 additions & 0 deletions
80
src/OpenSpartan.Workshop/Controls/AutoClosingTeachingTip.cs
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,80 @@ | ||
using Microsoft.UI.Xaml; | ||
using System; | ||
|
||
namespace OpenSpartan.Workshop.Controls | ||
{ | ||
public class AutoClosingTeachingTip : Microsoft.UI.Xaml.Controls.TeachingTip | ||
{ | ||
private DispatcherTimer _timer; | ||
private long _token; | ||
|
||
public AutoClosingTeachingTip() : base() | ||
{ | ||
this.Loaded += AutoCloseTeachingTip_Loaded; | ||
this.Unloaded += AutoCloseTeachingTip_Unloaded; | ||
} | ||
|
||
public int AutoCloseInterval { get; set; } = 5000; | ||
|
||
private void AutoCloseTeachingTip_Loaded(object sender, RoutedEventArgs e) | ||
{ | ||
_token = this.RegisterPropertyChangedCallback(IsOpenProperty, IsOpenChanged); | ||
if (IsOpen) | ||
{ | ||
Open(); | ||
} | ||
} | ||
|
||
private void AutoCloseTeachingTip_Unloaded(object sender, RoutedEventArgs e) | ||
{ | ||
this.UnregisterPropertyChangedCallback(IsOpenProperty, _token); | ||
} | ||
|
||
private void IsOpenChanged(DependencyObject dependencyObject, DependencyProperty dependencyProperty) | ||
{ | ||
var tip = dependencyObject as AutoClosingTeachingTip; | ||
if (tip == null) | ||
{ | ||
return; | ||
} | ||
|
||
if (dependencyProperty != IsOpenProperty) | ||
{ | ||
return; | ||
} | ||
|
||
if (tip.IsOpen) | ||
{ | ||
tip.Open(); | ||
} | ||
else | ||
{ | ||
tip.Close(); | ||
} | ||
} | ||
|
||
private void Open() | ||
{ | ||
_timer = new DispatcherTimer(); | ||
_timer.Tick += Timer_Tick; | ||
_timer.Interval = TimeSpan.FromMilliseconds(AutoCloseInterval); | ||
_timer.Start(); | ||
} | ||
|
||
private void Close() | ||
{ | ||
if (_timer == null) | ||
{ | ||
return; | ||
} | ||
|
||
_timer.Stop(); | ||
_timer.Tick -= Timer_Tick; | ||
} | ||
|
||
private void Timer_Tick(object sender, object e) | ||
{ | ||
this.IsOpen = false; | ||
} | ||
} | ||
} |
Oops, something went wrong.