Moved the TODO list and removed an unnecessary comment.

This commit is contained in:
alphafetus committed 2023-10-18 16:13:12 -04:00
1 parent c97db12f8a
commit f298296471
3 files changed
+10 -18

No files matched your search

@@ -9,6 +9,16 @@ using ReactiveUI;
namespace PcgsInvUi.ViewModels; 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 class MainWindowViewModel : ViewModelBase
{ {
public ViewModelBase SidebarContent public ViewModelBase SidebarContent
-8
View File
@@ -37,14 +37,6 @@ public class NewViewModel : ViewModelBase
!string.IsNullOrWhiteSpace(grade) && !string.IsNullOrWhiteSpace(grade) &&
!string.IsNullOrWhiteSpace(quantity)); !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( OkCommand = ReactiveCommand.Create(
() => (int.Parse(PcgsNumber), Grade, int.Parse(Quantity)), () => (int.Parse(PcgsNumber), Grade, int.Parse(Quantity)),
okEnabled); okEnabled);
-10
View File
@@ -8,16 +8,6 @@ namespace PcgsInvUi.Views;
public partial class MainWindow : ReactiveWindow<MainWindowViewModel> 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() public MainWindow()
{ {
InitializeComponent(); InitializeComponent();