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

feat(up-contract): serve HTML from string, fix deployment message on error, cors, and other misc. improvements #377

Conversation

peterwht
Copy link
Contributor

@peterwht peterwht commented Dec 12, 2024

* feat(wallet-integration): implement server and API

* feat(wallet-integration): add a few tests to server. Needs more

* refactor(wallet-integration): just use call_data, remove data types

* feat(wallet-integration): add frontend type for flexible serving

* feat(wallet-integration): StateHandler in WalletIntegrationManager. Add terminate method

* refactor(wallet-integration): move to module with pop-cli crate

* feat(wallet-integration): server-side error handling, update port to 9090

* refactor(wallet-integration): restructure server for easier use in thread

* fix(wallet-integration): remove invalid fn `finish`

* docs(wallet-integration): inline comments

* test(wallet-integration): unit tests for wallet-integration server. Add new frontend type

* feat(wallet-integration): two new routes: error and terminate

* refactor(wallet-integration): consistent comments, remove unnecessary code in tests

* feat: add TransactionData::new

* refactor(wallet-integration: shutdown channel error handling, terminate helper, take_error and TranscationData::new tests

* chore: clippy warning
@peterwht peterwht requested review from al3mart and AlexD10S December 12, 2024 07:08
@peterwht peterwht changed the base branch from peter/feat-wallet-integration to peter/feat-wallet-integration-up-contract December 12, 2024 07:08
Copy link
Collaborator

@AlexD10S AlexD10S left a comment

Choose a reason for hiding this comment

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

Changes look good.
Probably frontend feedback better here than in the frontend repository:

The flow looks great, nice work! It would be even better with the frontend a bit more polished.
My main feedback is about the buttons: Terminate appears bigger than Sign, which can be confusing. I suggest either moving Terminate below as a text-only button or emphasizing Sign as the primary button to make its importance clearer.

I know you're already aware, but just to have it written down so we don't forget: the dry_run functionality still needs to be implemented.

@peterwht
Copy link
Contributor Author

superseded by #380

@peterwht peterwht closed this Dec 13, 2024
@peterwht peterwht deleted the peter/feat-wallet-integration-string-content branch December 13, 2024 17:38
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.

2 participants