-
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 #42 from OpenSpartan/release-1.0.7
1.0.7 Release
- Loading branch information
Showing
44 changed files
with
1,983 additions
and
2,065 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,10 +1,19 @@ | ||
# OpenSpartan Workshop 1.0.6 (`CRUCIBLE-06072024`) | ||
# OpenSpartan Workshop 1.0.7 (`CYLIX-06082024`) | ||
|
||
- Fixes an issue with matches not being populated in full search mode. | ||
- Fixes an issue where extra events are not loaded on first (cold) boot. | ||
- Fixes an issue where matches based on a medal are not loaded due to a malformed SQLite query. | ||
|
||
>[!NOTE] | ||
>This is a point release with a hotfix. Original changelog with new functionality captured in [1.0.4](https://github.com/OpenSpartan/openspartan-workshop/releases/tag/1.0.4). | ||
- [#30] Prevent auth loops if incorrect release number is used. | ||
- [#38] Battlepass data now correctly renders on smaller screens, allowing scrolling. | ||
- [#39] Removes the odd cross-out line in the calendar view. | ||
- [#41] Fixes average life positioning, ensuring that it can't cause overflow. | ||
- Improved image fallback for The Exchange, so that missing items now render properly. | ||
- Season calendar now includes background images for each event, operation, and battle pass season. | ||
- Calendar colors are now easier to read. | ||
- Fixes how ranked match percentage is calculated, now showing proper values for next level. | ||
- Home page now can be scrolled on smaller screens. | ||
- Inside match metadata, medals and ranked counterfactuals correctly flow when screen is resized. | ||
- The app now correctly reacts at startup to an error with authentication token acquisition. A message is shown if that is not possible. | ||
- General performance optimizations and maintainability cleanup. | ||
- Fixed an issue where duplicate ranked playlist may render in the **Ranked Progression** view. | ||
- Fixed an issue where duplicate items may render in the **Exchange** view. | ||
- Massive speed up to the **Operations** view load times - the app no longer issues unnecessary REST API calls to get currency data. | ||
|
||
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
457 changes: 238 additions & 219 deletions
457
src/OpenSpartan.Workshop/Controls/MatchesGridControl.xaml
Large diffs are not rendered by default.
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
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
21 changes: 12 additions & 9 deletions
21
src/OpenSpartan.Workshop/Converters/ComplexTimeToSimpleTimeConverter.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 |
---|---|---|
@@ -1,20 +1,23 @@ | ||
using Microsoft.UI.Xaml.Data; | ||
using System; | ||
using System.Globalization; | ||
using System.Linq; | ||
|
||
namespace OpenSpartan.Workshop.Converters | ||
{ | ||
internal sealed class ComplexTimeToSimpleTimeConverter : IValueConverter | ||
{ | ||
public object Convert(object value, Type targetType, object parameter, string language) | ||
{ | ||
TimeSpan interval = (TimeSpan)value; | ||
return string.Format(CultureInfo.InvariantCulture, "{0:D2}d {1:D2}hr {2:D2}min {3:D2}sec", interval.Days, interval.Hours, interval.Minutes, interval.Seconds); | ||
} | ||
public object Convert(object value, Type targetType, object parameter, string language) => | ||
value is TimeSpan interval | ||
? string.Join(" ", new[] | ||
{ | ||
interval.Days > 0 ? $"{interval.Days}d" : null, | ||
interval.Hours > 0 ? $"{interval.Hours}hr" : null, | ||
interval.Minutes > 0 ? $"{interval.Minutes}min" : null, | ||
interval.Seconds > 0 || interval.TotalSeconds < 60 ? $"{interval.Seconds}sec" : null | ||
}.Where(part => part != null)) | ||
: value; | ||
|
||
public object ConvertBack(object value, Type targetType, object parameter, string language) | ||
{ | ||
public object ConvertBack(object value, Type targetType, object parameter, string language) => | ||
throw new NotImplementedException(); | ||
} | ||
} | ||
} |
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
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
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
Oops, something went wrong.