Skip to content
This repository has been archived by the owner on Sep 16, 2022. It is now read-only.

Auto-formatted currency fields #81

Closed
fmaclen opened this issue May 29, 2021 · 0 comments
Closed

Auto-formatted currency fields #81

fmaclen opened this issue May 29, 2021 · 0 comments
Projects

Comments

@fmaclen
Copy link
Owner

fmaclen commented May 29, 2021

Currency fields need to format the number as the user types:

Screen.Recording.2021-05-29.at.10.40.14.AM.mov
  • For positive values: $123,456.23
  • For negative values: -$123,456.23
  • These fields should be styled with monospaceRegular.
  • Set a max of 2 decimal points when formatting currency numbers.

This behavior needs to be applied to the following fields:

@fmaclen fmaclen added this to Current sprint in v0.3.0 via automation May 29, 2021
@fmaclen fmaclen moved this from Current sprint to Backlog in v0.3.0 May 29, 2021
@nsantos16 nsantos16 moved this from Backlog to Current sprint in v0.3.0 Jun 14, 2021
@fmaclen fmaclen moved this from Current sprint to Backlog in v0.3.0 Jun 21, 2021
@fmaclen fmaclen moved this from Backlog to Current sprint in v0.3.0 Jun 22, 2021
@nsantos16 nsantos16 moved this from Current sprint to Backlog in v0.3.0 Jun 23, 2021
@nsantos16 nsantos16 moved this from Backlog to In progress in v0.3.0 Jul 5, 2021
@nsantos16 nsantos16 moved this from In progress to Current sprint in v0.3.0 Jul 7, 2021
@nsantos16 nsantos16 moved this from Current sprint to In progress in v0.3.0 Jul 12, 2021
@nsantos16 nsantos16 moved this from In progress to Review in progress in v0.3.0 Jul 19, 2021
nsantos16 added a commit that referenced this issue Jul 24, 2021
* Add CurrencyInput, CurrencyInputField, and replace it on AddAccountAsset and Import Wizzard form

* Fix bug with required field on CurrencyInput rules and modify the tests
@fmaclen fmaclen moved this from Review in progress to Approved in v0.3.0 Aug 5, 2021
fmaclen added a commit that referenced this issue Aug 7, 2021
* Fix empty assets and without transactions cases - CanutinFile (#133)

* Fix empty transactions on canutin file

* Fix only assets import wizard with canutin file source

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Fix autocalculate logic on balance sheet (#134)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* [#131] Fix: Importing a CanutinFile to an account without auto-calculate generates an auto-calculated balanceStatement (#135)

* Fix autocalculate logic on balance sheet

* Fix balanceStatment creation in case the account already exists

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Fix account naming validation in case the account already exist (#136)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Remove condition on BalancesByTypeCard (#137)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Fix: False as a default value for autocalculate in case CanutinFile accounts only has balance field (#138)

* Remove condition on BalancesByTypeCard

* Add false as default value to auto-calculate on entity

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Capitalize only the first letter

* #131 - Update example.json to test all possible scenarios (#139)

* #131 - Update example.json to test all possible scenarios

* Add missing autoCalculate's

* Change behaviour of autocalculate field on canutin file (#141)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Fix case insensitive for the names of the accounts, sort of balance sheet and autocalculate (#145)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Revert date formatting (#146)

* Rename StatusEnum options by sentiment and combine color helpers (#148)

* Sprint 3 (#113)

* Feature: Import Wizard, Other CSV option (#54)

* Add groupedOptions to selectField

* Add other csv layout

* Add csv metadata to other csv form

* Add behavior around other csv form

* Add date validations to other csv form

* Add false as default value to auto-calculate

* Add new account grouped options

* Delete analyze message

* Fix choose types for new accounts options

* Finish other csv logic import

* Fix create transactions

Co-authored-by: Nicolas Santos Reyes <nicolassantosreyes@192.168.1.5>
Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Rename category and sub-category table names in DB (#55)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* [#49] Add global category mappings (#56)

* Add mapCategoriesToCanutinCategory and delete mapping of mint categories

* Fix call of mapCategories

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Add default values to source helpers (#57)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Hide Choose types for new accounts if no new accounts are found in the imported file (#58)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Fix public transportation category map (#59)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Add countTransactions to mint and personal capital metadata in order to display a successful message with the number of accounts and transactions (#60)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Add isNewTransactionAlreadyOnTheAccount func to prevent duplicated transactions (#61)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* [#44] Processing large files during import (#63)

* Add seed for acccount types, status progress and unique columns validation to entities

* Add condition for success background on status bar

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Add feedback around other csv form (#64)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Add seed for asset types (#65)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Fix: Save asset with account (#66)

* Fix save of the asset with account on add asset by hand

* Remove watch and console.log on AddAccountAssetForm

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Rename CanutinJsonXXX to CanutinFileXXX (#67)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Enhancement: Duplicated account warning on add account by hand (#68)

* Add error status and catch when a user create a duplicated name account on asset by hand form

* Enable logging of database

* Add validation to amount column on import other csv form

* Revert "Add validation to amount column on import other csv form"

This reverts commit 730bfc0.

* Change error copies

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Enhancement: Amount validation(Other CSV) (#69)

* Add validation to amount column on import other csv form

* Change error copy on amount column

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Add tests for add account by hand feature (#70)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Fix typo on balanceGroup enum file name and add add asset by hand tests (#71)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* [#50] Import Wizard tests (#72)

* Add import wizard tests

* Add more test cases for import wizard

* Increase tiemout for tests

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Remove import wizard warnings (#73)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Enhancement: Mapped categories (#80)

* Add category mappings for Mint

* Add category mappings for Personal Capital

* Add Income category

* Fix Personal Capital date format

* Enhancement: Improve styling and DRY syntax (#62)

* DRY Section component

* Set new viewport size constraints

* DRY form components

* Rename FormContainer

* Add type definitions for Form

* Fix tests for inputs with type number

* Fix remaining tests

* Add Form component as a UI element without attributes

* Add new component to share the styles in <Form>

* DRY field validation statuses

* Add progress bar animation

* Update font for progress bar percentage

* Change casing for account type field label

Co-authored-by: Nicolas Santos <nicolassantos16@gmail.com>

* Add number of accounts and transactions to canutinFile import (#82)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* [#78] Display date format error on it's own field instead of the Date field (#83)

* Add number of accounts and transactions to canutinFile import

* Change error format of select field

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Validate stracture of canutin file (#84)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Add scroll to error to other csv form (#85)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Add feedback commented on sprint 2 PR (#86)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Add redirect to add account or asset page in case the database is empty (#97)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Maintenance/form components (#98)

* Move <Select> to Forms folder

* Rename FormAlert to FormNotice

* Rename FormNotice to FieldNotice

* Fix typo in <FieldNotice>

* Update component paths

* Add settings page (#99)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* [#21] Add Breadcrumb (#100)

* Styling sidebar items to be disabled in case the db is empty

* Add breadcrumb

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* [#21] Switch vault (#101)

* Styling sidebar items to be disabled in case the db is empty

* Add switch vault

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* [#21] Check database file (#102)

* Styling sidebar items to be disabled in case the db is empty

* Add switch vault

* Add database validation

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Fix Import wizard: can't import other csv to existing account (#103)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Fix Add asset by hand: BalanceGroup is always the same when adding a new asset (#104)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Add step field to Input text in order to allow decimals in number inputs (#105)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Add balance sheet page and add secondary button styles (#106)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Add balance sheet viewer (#107)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Add summary Chips (#108)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* [#36] Add balance list (#109)

* Add balance list

* Add enum as jest alias

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Fix autocalculate value (#112)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Fix typo in mapped categories

* DRY and cleanup of global styles (#111)

* Add and cleanup styles

* Remove mocked png files

* Change position method for Back button

* Remove mock for image files from the package.json

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

Co-authored-by: Nicolas Santos Reyes <nicolassantosreyes@192.168.1.5>
Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>
Co-authored-by: Fernando Maclen <fmaclen@gmail.com>

* Update status messages and add support for ReactNodes for formatting

* Revert "Update status messages and add support for ReactNodes for formatting"

This reverts commit 87bb0b4.

* Sprint 4 (#147)

* Fix empty assets and without transactions cases - CanutinFile (#133)

* Fix empty transactions on canutin file

* Fix only assets import wizard with canutin file source

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Fix autocalculate logic on balance sheet (#134)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* [#131] Fix: Importing a CanutinFile to an account without auto-calculate generates an auto-calculated balanceStatement (#135)

* Fix autocalculate logic on balance sheet

* Fix balanceStatment creation in case the account already exists

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Fix account naming validation in case the account already exist (#136)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Remove condition on BalancesByTypeCard (#137)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Fix: False as a default value for autocalculate in case CanutinFile accounts only has balance field (#138)

* Remove condition on BalancesByTypeCard

* Add false as default value to auto-calculate on entity

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Capitalize only the first letter

* #131 - Update example.json to test all possible scenarios (#139)

* #131 - Update example.json to test all possible scenarios

* Add missing autoCalculate's

* Change behaviour of autocalculate field on canutin file (#141)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Fix case insensitive for the names of the accounts, sort of balance sheet and autocalculate (#145)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Revert date formatting (#146)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>
Co-authored-by: Fernando Maclen <fmaclen@gmail.com>

* Rename StatusEnum options by sentiment and unify color helpers

* Revert enum string assignments and fix test

This makes the first item in the enum to return `truthy` when used in a conditional statement.

Co-authored-by: Nicolas Santos <nicolassantos16@gmail.com>
Co-authored-by: Nicolas Santos Reyes <nicolassantosreyes@192.168.1.5>
Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* [#81] Auto-formatted currency fields (#149)

* Add CurrencyInput, CurrencyInputField, and replace it on AddAccountAsset and Import Wizzard form

* Fix bug with required field on CurrencyInput rules and modify the tests

* [#12] Transactions overview (#150)

* Add CurrencyInput, CurrencyInputField, and replace it on AddAccountAsset and Import Wizzard form

* Fix bug with required field on CurrencyInput rules and modify the tests

* Add SelectButton and Transaction context

* Add filter transaction action on electron

* Add TransactionsFilterTable

* Add empty state for transaction filter table (#151)

* Fix: Global filter between tabs (#152)

* Fix global filter between tables

* Fix sort action between tabs

* Feedback: Remove virtualization table (#155)

* Remove virtualization table

* Remove virtualization libs

* Combine status messages in a single component (#153)

* Combine status messages in a single component

* Remove unused context

* Import Other CSV: make transactions not excluded by default (#154)

* Update default value for excludeFromTotals when importing other CSV

* Update field's status messages when importing

* Update index.tsx

* Add transactions page (#156)

* [#14] Transactions: Edit (#157)

* Add transactions page

* Add edit transaction page

* Add edit transaction to transaction repository

* Add edit transaction page

* Add edit transaction to transaction repository

* Rewrite status message

* Add remove action to edit transaction (#158)

* Add mint and personal capital unit tests (#163)

* Enhancement: custom window controls for non-Mac OS's (#159)

* Add basic component structure for window controls

* Add window controls for non-macOS platforms

* Remove grid layout for sidebar when the app is not initialized

* Add InputCurrencyToggle component (#165)

* Maintenance: update styles of Transaction views (#160)

* Add Card component

* Style Transactions table and filters

* Add styles for SelectButton

* Re-use existing components and cleanup styles

* Use native confirm dialogs for transaction deletion

* Add border radius for table rows with alternate colors

* Maintenance: Remove toggle from currency fields (#167)

* Cleanup InputCurrency and remove -/+ toggle

* Add placeholder styles

* Remove old TransactionType references

* Re-arrange import order

* Remove transactionType

* Fix import path

* Remove comments from TransactionsFilterTable, and remove repeted route

* Fix mint import tests

Co-authored-by: Nicolas Santos <nicolassantos16@gmail.com>
Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>
Co-authored-by: Nicolas Santos Reyes <nicolassantosreyes@192.168.1.5>
@fmaclen fmaclen moved this from Approved to Done in v0.3.0 Aug 7, 2021
fmaclen added a commit that referenced this issue Nov 6, 2021
* Sprint 5 (#166)

* Fix empty assets and without transactions cases - CanutinFile (#133)

* Fix empty transactions on canutin file

* Fix only assets import wizard with canutin file source

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Fix autocalculate logic on balance sheet (#134)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* [#131] Fix: Importing a CanutinFile to an account without auto-calculate generates an auto-calculated balanceStatement (#135)

* Fix autocalculate logic on balance sheet

* Fix balanceStatment creation in case the account already exists

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Fix account naming validation in case the account already exist (#136)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Remove condition on BalancesByTypeCard (#137)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Fix: False as a default value for autocalculate in case CanutinFile accounts only has balance field (#138)

* Remove condition on BalancesByTypeCard

* Add false as default value to auto-calculate on entity

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Capitalize only the first letter

* #131 - Update example.json to test all possible scenarios (#139)

* #131 - Update example.json to test all possible scenarios

* Add missing autoCalculate's

* Change behaviour of autocalculate field on canutin file (#141)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Fix case insensitive for the names of the accounts, sort of balance sheet and autocalculate (#145)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Revert date formatting (#146)

* Rename StatusEnum options by sentiment and combine color helpers (#148)

* Sprint 3 (#113)

* Feature: Import Wizard, Other CSV option (#54)

* Add groupedOptions to selectField

* Add other csv layout

* Add csv metadata to other csv form

* Add behavior around other csv form

* Add date validations to other csv form

* Add false as default value to auto-calculate

* Add new account grouped options

* Delete analyze message

* Fix choose types for new accounts options

* Finish other csv logic import

* Fix create transactions

Co-authored-by: Nicolas Santos Reyes <nicolassantosreyes@192.168.1.5>
Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Rename category and sub-category table names in DB (#55)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* [#49] Add global category mappings (#56)

* Add mapCategoriesToCanutinCategory and delete mapping of mint categories

* Fix call of mapCategories

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Add default values to source helpers (#57)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Hide Choose types for new accounts if no new accounts are found in the imported file (#58)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Fix public transportation category map (#59)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Add countTransactions to mint and personal capital metadata in order to display a successful message with the number of accounts and transactions (#60)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Add isNewTransactionAlreadyOnTheAccount func to prevent duplicated transactions (#61)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* [#44] Processing large files during import (#63)

* Add seed for acccount types, status progress and unique columns validation to entities

* Add condition for success background on status bar

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Add feedback around other csv form (#64)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Add seed for asset types (#65)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Fix: Save asset with account (#66)

* Fix save of the asset with account on add asset by hand

* Remove watch and console.log on AddAccountAssetForm

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Rename CanutinJsonXXX to CanutinFileXXX (#67)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Enhancement: Duplicated account warning on add account by hand (#68)

* Add error status and catch when a user create a duplicated name account on asset by hand form

* Enable logging of database

* Add validation to amount column on import other csv form

* Revert "Add validation to amount column on import other csv form"

This reverts commit 730bfc0.

* Change error copies

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Enhancement: Amount validation(Other CSV) (#69)

* Add validation to amount column on import other csv form

* Change error copy on amount column

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Add tests for add account by hand feature (#70)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Fix typo on balanceGroup enum file name and add add asset by hand tests (#71)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* [#50] Import Wizard tests (#72)

* Add import wizard tests

* Add more test cases for import wizard

* Increase tiemout for tests

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Remove import wizard warnings (#73)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Enhancement: Mapped categories (#80)

* Add category mappings for Mint

* Add category mappings for Personal Capital

* Add Income category

* Fix Personal Capital date format

* Enhancement: Improve styling and DRY syntax (#62)

* DRY Section component

* Set new viewport size constraints

* DRY form components

* Rename FormContainer

* Add type definitions for Form

* Fix tests for inputs with type number

* Fix remaining tests

* Add Form component as a UI element without attributes

* Add new component to share the styles in <Form>

* DRY field validation statuses

* Add progress bar animation

* Update font for progress bar percentage

* Change casing for account type field label

Co-authored-by: Nicolas Santos <nicolassantos16@gmail.com>

* Add number of accounts and transactions to canutinFile import (#82)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* [#78] Display date format error on it's own field instead of the Date field (#83)

* Add number of accounts and transactions to canutinFile import

* Change error format of select field

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Validate stracture of canutin file (#84)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Add scroll to error to other csv form (#85)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Add feedback commented on sprint 2 PR (#86)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Add redirect to add account or asset page in case the database is empty (#97)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Maintenance/form components (#98)

* Move <Select> to Forms folder

* Rename FormAlert to FormNotice

* Rename FormNotice to FieldNotice

* Fix typo in <FieldNotice>

* Update component paths

* Add settings page (#99)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* [#21] Add Breadcrumb (#100)

* Styling sidebar items to be disabled in case the db is empty

* Add breadcrumb

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* [#21] Switch vault (#101)

* Styling sidebar items to be disabled in case the db is empty

* Add switch vault

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* [#21] Check database file (#102)

* Styling sidebar items to be disabled in case the db is empty

* Add switch vault

* Add database validation

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Fix Import wizard: can't import other csv to existing account (#103)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Fix Add asset by hand: BalanceGroup is always the same when adding a new asset (#104)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Add step field to Input text in order to allow decimals in number inputs (#105)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Add balance sheet page and add secondary button styles (#106)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Add balance sheet viewer (#107)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Add summary Chips (#108)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* [#36] Add balance list (#109)

* Add balance list

* Add enum as jest alias

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Fix autocalculate value (#112)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Fix typo in mapped categories

* DRY and cleanup of global styles (#111)

* Add and cleanup styles

* Remove mocked png files

* Change position method for Back button

* Remove mock for image files from the package.json

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

Co-authored-by: Nicolas Santos Reyes <nicolassantosreyes@192.168.1.5>
Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>
Co-authored-by: Fernando Maclen <fmaclen@gmail.com>

* Update status messages and add support for ReactNodes for formatting

* Revert "Update status messages and add support for ReactNodes for formatting"

This reverts commit 87bb0b4.

* Sprint 4 (#147)

* Fix empty assets and without transactions cases - CanutinFile (#133)

* Fix empty transactions on canutin file

* Fix only assets import wizard with canutin file source

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Fix autocalculate logic on balance sheet (#134)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* [#131] Fix: Importing a CanutinFile to an account without auto-calculate generates an auto-calculated balanceStatement (#135)

* Fix autocalculate logic on balance sheet

* Fix balanceStatment creation in case the account already exists

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Fix account naming validation in case the account already exist (#136)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Remove condition on BalancesByTypeCard (#137)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Fix: False as a default value for autocalculate in case CanutinFile accounts only has balance field (#138)

* Remove condition on BalancesByTypeCard

* Add false as default value to auto-calculate on entity

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Capitalize only the first letter

* #131 - Update example.json to test all possible scenarios (#139)

* #131 - Update example.json to test all possible scenarios

* Add missing autoCalculate's

* Change behaviour of autocalculate field on canutin file (#141)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Fix case insensitive for the names of the accounts, sort of balance sheet and autocalculate (#145)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* Revert date formatting (#146)

Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>
Co-authored-by: Fernando Maclen <fmaclen@gmail.com>

* Rename StatusEnum options by sentiment and unify color helpers

* Revert enum string assignments and fix test

This makes the first item in the enum to return `truthy` when used in a conditional statement.

Co-authored-by: Nicolas Santos <nicolassantos16@gmail.com>
Co-authored-by: Nicolas Santos Reyes <nicolassantosreyes@192.168.1.5>
Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>

* [#81] Auto-formatted currency fields (#149)

* Add CurrencyInput, CurrencyInputField, and replace it on AddAccountAsset and Import Wizzard form

* Fix bug with required field on CurrencyInput rules and modify the tests

* [#12] Transactions overview (#150)

* Add CurrencyInput, CurrencyInputField, and replace it on AddAccountAsset and Import Wizzard form

* Fix bug with required field on CurrencyInput rules and modify the tests

* Add SelectButton and Transaction context

* Add filter transaction action on electron

* Add TransactionsFilterTable

* Add empty state for transaction filter table (#151)

* Fix: Global filter between tabs (#152)

* Fix global filter between tables

* Fix sort action between tabs

* Feedback: Remove virtualization table (#155)

* Remove virtualization table

* Remove virtualization libs

* Combine status messages in a single component (#153)

* Combine status messages in a single component

* Remove unused context

* Import Other CSV: make transactions not excluded by default (#154)

* Update default value for excludeFromTotals when importing other CSV

* Update field's status messages when importing

* Update index.tsx

* Add transactions page (#156)

* [#14] Transactions: Edit (#157)

* Add transactions page

* Add edit transaction page

* Add edit transaction to transaction repository

* Add edit transaction page

* Add edit transaction to transaction repository

* Rewrite status message

* Add remove action to edit transaction (#158)

* Add mint and personal capital unit tests (#163)

* Enhancement: custom window controls for non-Mac OS's (#159)

* Add basic component structure for window controls

* Add window controls for non-macOS platforms

* Remove grid layout for sidebar when the app is not initialized

* Add InputCurrencyToggle component (#165)

* Maintenance: update styles of Transaction views (#160)

* Add Card component

* Style Transactions table and filters

* Add styles for SelectButton

* Re-use existing components and cleanup styles

* Use native confirm dialogs for transaction deletion

* Add border radius for table rows with alternate colors

* Maintenance: Remove toggle from currency fields (#167)

* Cleanup InputCurrency and remove -/+ toggle

* Add placeholder styles

* Remove old TransactionType references

* Re-arrange import order

* Remove transactionType

* Fix import path

* Remove comments from TransactionsFilterTable, and remove repeted route

* Fix mint import tests

Co-authored-by: Nicolas Santos <nicolassantos16@gmail.com>
Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>
Co-authored-by: Nicolas Santos Reyes <nicolassantosreyes@192.168.1.5>

* 117: Add validations for assets with the same name to add asset by hand and import wizzard (#208)

* Revert "117: Add validations for assets with the same name to add asset by hand and import wizzard (#208)" (#209)

This reverts commit 4325f1f.

* Sprint 7 (#215)

* [#117] (#210)

* 117: Add validations for assets with the same name to add asset by hand and import wizzard

* [#6] The big picture: Trailing cashflow (#207)

* Add trailingcashflow panel to the big picture

* Delete console.log

* Add cashflow chart (#206)

* Fix personal capital tests

* Fix: Edit asset name error (#211)

* Fix: Trailing cashflow (#212)

* Refactor: Entities context (#213)

* Fix: Remove auto-calculate fiter for trailing cashflow (#214)

* Feedback sprint 7 (#218)

* Fix: Dates in local time zone for transactions (#221)

* Fix: Transactions dates

* Fix: monthDate range

* Add trends page

* Add defaults for electron isolation flag

* Change name of the balance statement to account_balance_statement

* Fix Transaction form default values

* Add a condition for not autocalculate accounts

* Fix eachWeekOfInterval starts on for account overview and trends

* Restore of React imports and change the name of the trends data interface

* Use the same logic as account/assets for getting the last balance

* Fix balanceWeek by account/asset on trends.utils

* Fix networthBalances

* Fix select Transactions/balance range

* Fix: Settle conflicts for "Sprint 8" (#249)

* [#117] (#210)

* 117: Add validations for assets with the same name to add asset by hand and import wizzard

* [#6] The big picture: Trailing cashflow (#207)

* Add trailingcashflow panel to the big picture

* Delete console.log

* Add cashflow chart (#206)

* Fix personal capital tests

* Fix: Edit asset name error (#211)

* Fix: Trailing cashflow (#212)

* Refactor: Entities context (#213)

* Fix: Remove auto-calculate fiter for trailing cashflow (#214)

* Feedback sprint 7 (#218)

* Fix: Dates in local time zone for transactions (#221)

* Fix: Transactions dates

* Fix: monthDate range

* Fix auto-window-resizing bug

The window width and height values don't support decimals.

* Set "weekStartsOn: 1" for filtering transactions and balanceStatements (#231)

* Create LICENSE (#244)

* Add placeholder on Budgets section (#233)

* Make "Last 3 months" the default date range (#226)

* Fix: Chart styling for peak values and period counts (#227)

* Add new styles and cleanup

* Highlight Surplus/Balance card

* Update chart labels

* Update styling for Chart component

* Fix bug where the first period of a year could display the wrong year number

* Update CashflowChart so it only renders 12 periods in total

* Change order of Cashflow components in BigPicture

* Align PositiveBar's to the bottom of container when no label is present

* Enhancement: Add app version and link to Canutin.com (#234)

* Open external browser when clicking on Canutin icon

* Add version on Settings section

* Update src/app/components/Settings/About/index.tsx

Co-authored-by: Nicolas Santos <nicolassantos16@gmail.com>

Co-authored-by: Nicolas Santos <nicolassantos16@gmail.com>

* Fix: breadcrumbs and transactions paths (#235)

* Make breadcrumbs unclickable

* Make Accounts in Transactions table clickable

* Get AccountOverview and AssetOverview data from EntityContext

* Re-enable breadcrumbs and cleanup routes

* Update tests

* Rename dataTestId

Co-authored-by: Nicolas Santos <nicolassantos16@gmail.com>

Co-authored-by: Fernando Maclen <fmaclen@gmail.com>
Co-authored-by: Nicolas Santos <hi@nicolassantos.dev>
Co-authored-by: Nicolas Santos Reyes <nicolassantosreyes@192.168.1.5>
@fmaclen fmaclen closed this as completed Dec 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
No open projects
Development

No branches or pull requests

1 participant