Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Resolve "Import transactions" #144

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

ArsalanSavand
Copy link
Contributor

Closes #138

this.step = 1;
}

ngOnInit(): void {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Delete empty function.

*
* @returns Given value's percentage calculated from number of expenses scanned.
*/
private getPercentage(value: number): number {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Private members come first.

@@ -0,0 +1,15 @@
/**
* **UI purpose**
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove ** around the text. All comments must be human friendly.

import { CsvFieldMap } from 'src/app/dash/import/shared/interfaces/csv-field-map';

export class CsvFieldMapModel {
static readonly whiteListFields: string[] = ['IGNORE_THIS_FIELD', 'DONT_MAP_FIELD'];
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • static and readonly members must be LIKE_THIS.
  • Add documentation
  • Remove type, it's type is its value exactly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Import transactions
2 participants