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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contest2024/submission #14

Open
wants to merge 33 commits into
base: develop
Choose a base branch
from
Open

Conversation

serkrapiv
Copy link

@serkrapiv serkrapiv commented May 29, 2024

Buy/sell feature. Some notes:

  1. As suggested in contest discussion chat I did use results of existing (/fiat/methods/) and new (https://boot.tonkeeper.com/widget/) APIs. However, it is still not enough, as URLs for sell methods in /fiat/methods/ are incorrect (crypto currency and fiat currency params are reversed), and thus an incorrect amount is opened in web view. I could fix it with more hacks like constructing URLs on the client, but I decided not to. Buy works fine.

  2. Also I asked in contest chat how payment methods list and country selection on initial buy/sell screen should be implemented, and I was told that they are out of the scope, so they are not present in the UI.

  3. Sorry, I decided to delete UglyBuyList module in my PR. Press F 馃

  4. I did add some validation for input data on the initial buy/sell screen, although min amount is hardcoded, later we can get other values to perform checks on the last screen.

  5. I would also add an "empty results" view on the operator selection screen, although it is not present in the design.

Sergey Krapivenskiy added 30 commits May 15, 2024 16:06
# Conflicts:
#	LocalPackages/App/Sources/App/BuyModule/Flows/BuyCoordinator.swift
#	LocalPackages/App/Sources/App/SettingsModule/Sources/Modules/SettingsList/SettingsListViewModel.swift
#	LocalPackages/core-swift/Sources/KeeperCore/API/TonkeeperAPI/TonkeeperAPI.swift
This reverts commit 692c8ce.

# Conflicts:
#	Configurations/Signing/SignDebug.xcconfig
#	Tonkeeper/Resources/Info.plist
@serkrapiv
Copy link
Author

Telegram contact: https://t.me/spail

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.

None yet

1 participant