Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Tabular Loan UI added #3539

Merged
merged 15 commits into from
Sep 18, 2024
Merged

Conversation

shamim-emon
Copy link
Member

@shamim-emon shamim-emon commented Sep 17, 2024

Pull request (PR) checklist

Please check if your pull request fulfills the following requirements:

  • I've read the Contribution Guidelines and my PR doesn't break the rules.
  • I've read and understand the Developer Guidelines.
  • I confirm that I've run the code locally and everything works as expected.
  • My PR includes only the necessary changes to fix the issue (i.e., no unnecessary files or lines of code are changed).
  • 🎬 I've attached a screen recording of using the new code to the next paragraph (if applicable).

Screen recording of your changes (if applicable):

video.mp4

What's changed?

Describe with a few bullets what's new:

  • I've added optional tabular loan screen, where user can see pending & completed loans in separate tabs.

Risk factors

What may go wrong if we merge your PR?

  • N/A
    In what cases won't your code work?
  • N/A

Does this PR close any GitHub issues? (do not delete)

Troubleshooting GitHub Actions (CI) failures ❌

Pull request checks failing? Read our CI Troubleshooting guide.

@ILIYANGERMANOV
Copy link
Collaborator

@shamim-emon replace the red color with purple. Red means error. I'll review the code later today or tmrw

Copy link
Collaborator

@ILIYANGERMANOV ILIYANGERMANOV left a comment

Choose a reason for hiding this comment

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

Didn't review much in detail but overall LGTM! Left some comments

@ILIYANGERMANOV ILIYANGERMANOV added the requested changes Changes are needed. Please, apply them label Sep 17, 2024
Copy link
Contributor

@suyash01 suyash01 left a comment

Choose a reason for hiding this comment

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

LGTM except what Iliyan mentioned.

@ILIYANGERMANOV
Copy link
Collaborator

LGTM except what Iliyan mentioned.

@suyash01 thank you for reviewing! I'm planning to delegate reviewers to contributors so our project is even more community-driven

@ILIYANGERMANOV ILIYANGERMANOV merged commit b75a0b8 into Ivy-Apps:main Sep 18, 2024
9 checks passed
@shamim-emon shamim-emon deleted the fix-issue-3490 branch September 18, 2024 07:28
@@ -332,6 +375,14 @@ class LoanViewModel @Inject constructor(
}
}

private fun loadCompletedLoans() {
completedLoans = allLoans.filter { loan -> loan.percentPaid == 1.0 }.toImmutableList()
Copy link
Contributor

Choose a reason for hiding this comment

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

@shamim-emon could you replace == with >= to patch #3546?

Copy link
Member Author

Choose a reason for hiding this comment

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

@nvllz sure

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
requested changes Changes are needed. Please, apply them
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Separate Tabs for Pending and Completed Loans in the Loan Section
4 participants