Merge vas-working to master (attempt 2) #2

Merged
BobdaFett merged 28 commits from vas-working into master 2023-11-23 00:05:09 +00:00
3 changed files with 10 additions and 18 deletions
Showing only changes of commit f298296471 - Show all commits

No files matched your search

@@ -9,6 +9,16 @@ using ReactiveUI;
namespace PcgsInvUi.ViewModels;
// TODO Find window.
// TODO Export window and export function.
// TODO Error handling.
// TODO Manual handling of API key.
// TODO Use CoinFacts link.
// TODO Take giant sheet of coins to integrate into the application.
// TODO Update all coins.
// TODO API request tracker (1000 per day)
// TODO API update schedules (per month? manual override? needs to store a date of last update in the coin object)
public class MainWindowViewModel : ViewModelBase
{
public ViewModelBase SidebarContent
-8
View File
@@ -37,14 +37,6 @@ public class NewViewModel : ViewModelBase
!string.IsNullOrWhiteSpace(grade) &&
!string.IsNullOrWhiteSpace(quantity));
// This will eventually send our request to the public API, then construct our coin.
// OkCommand = ReactiveCommand.Create(
// () => new Coin { PcgsNumber = Int32.Parse(PcgsNumber),
// Grade = Grade,
// Quantity = Int32.Parse(Quantity)
// },
// okEnabled);
OkCommand = ReactiveCommand.Create(
() => (int.Parse(PcgsNumber), Grade, int.Parse(Quantity)),
okEnabled);
-10
View File
@@ -8,16 +8,6 @@ namespace PcgsInvUi.Views;
public partial class MainWindow : ReactiveWindow<MainWindowViewModel>
{
// TODO Find window.
// TODO Export window and export function.
// TODO Error handling.
// TODO Manual handling of API key.
// TODO Use CoinFacts link.
// TODO Take giant sheet of coins to integrate into the application.
// TODO Update all coins.
// TODO API request tracker (1000 per day)
// TODO API update schedules (per month? manual override? needs to store a date of last update in the coin object)
public MainWindow()
{
InitializeComponent();