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

Various UI improvements and a bug fix. #144

Merged
merged 10 commits into from
Dec 17, 2024
Merged

Various UI improvements and a bug fix. #144

merged 10 commits into from
Dec 17, 2024

Conversation

ronickg
Copy link
Collaborator

@ronickg ronickg commented Dec 2, 2024

Bug fixes:

  • fix the amount and fee values not correctly updating in send page when pressing onSubmit

UI improvements:

  • Show addresses in this format now "txch1fz...agzfzg" which is responsive to the width
  • Added masked inputs for fee or amount inputs which prevent inputing a smaller decimal then decimals or default of 12.
  • Added a warning to confirmation dialog if the users fee is very high

src-tauri/gen/android/app/build.gradle.kts Outdated Show resolved Hide resolved
@@ -1,6 +1,10 @@
<resources xmlns:tools="http://schemas.android.com/tools">
<!-- Base application theme. -->
<style name="Theme.sage_tauri" parent="Theme.MaterialComponents.DayNight.NoActionBar">
<!-- <item name="android:statusBarColor">@android:color/transparent</item> -->
Copy link
Collaborator

Choose a reason for hiding this comment

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

What is this for?

@@ -355,7 +355,7 @@
CODE_SIGN_ENTITLEMENTS = "sage-tauri_iOS/sage-tauri_iOS.entitlements";
CODE_SIGN_IDENTITY = "iPhone Developer";
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = NQJQRYZZG3;
DEVELOPMENT_TEAM = 5PSQ3NC8JP;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Does this need to be changed?

src/components/ConfirmationDialog.tsx Outdated Show resolved Hide resolved
<img src={icon} className='h-6 w-6' />
{wallet?.name}
<img src={icon} className='h-8 w-8' />
{/* {wallet?.name} */}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we need this still

src/index.css Outdated
body,
#root {
height: 100%;
/* overflow: hidden; */
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is this stuff left behind from testing?

index.html Outdated
@@ -2,9 +2,17 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta
<!-- <meta
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can this be deleted now?

[package]
name = "tauri-plugin-safe-area-insets"
version = "0.1.0"
authors = [ "You" ]
Copy link
Collaborator

Choose a reason for hiding this comment

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

Probably would be best to set the author/description properly, you can just put yourself here if you want.

It's formatted like Name <email>

@ronickg
Copy link
Collaborator Author

ronickg commented Dec 17, 2024

Went over the comments, removed and reverted not needed changes. Fixed the fee is to high warning to use mojo's now as well after the merge. Also fixed the copybox to have a value and dispValue, otherwise the copy will use the short format address.

@Rigidity Rigidity merged commit fb17b8b into xch-dev:main Dec 17, 2024
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