Skip to content

OKO-620#276

Merged
eldenpark merged 67 commits intodevelopfrom
OKO-620
Feb 26, 2026
Merged

OKO-620#276
eldenpark merged 67 commits intodevelopfrom
OKO-620

Conversation

@chihunmanse
Copy link
Contributor

Pull Request

Thank you for raising a Pull Request. Please follow the instruction.

  • I’ve read CONTRIBUTING.md and followed the guidelines.

Summary

Links (Issue References, etc, if there's any)

chihunmanse and others added 20 commits February 12, 2026 13:06
email_template_2: add oko wallet email template
* oko_attached: Use CSS gradients for Base sponsorship background

* oko_attached: Attach tooltip to icon wrapper and adjust styles

* oko_attached: Use tertiary background for sponsored fee tooltip

* oko_attached: prevent sponsored fee UI from showing when balance is
sufficient for fee

* oko_attached: fix fee calculation to use actual gas estimation and wait
for L1 fee on OP Stack chains

* oko_attached: hide next free transaction timer during signing and show
keep window open message on success

* oko_attached: Refetch fee sponsorship query every 10s

* oko_attached: Refetch status on fee sponsorship error

* oko_attached: Clamp remainingMs to not increase on update

* oko_attached: Move tx receipt waiting into sponsorship flow

* oko_attached: Use CSS classes for sponsorship backgrounds

* oko_attached: Use viem Hex type for tx hash
@chihunmanse
Copy link
Contributor Author

@eldenpark Ready for review


const LOG_PREFIX = "[attached][telegram_reauth]";

export function TelegramReauth() {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Could you define this component using the const variable assignment expression? Also the rest of the files

// re-auth completed → popup close is expected, don't reject
}
}, 1000);
void resPromise.finally(() => window.clearInterval(timer));
Copy link
Collaborator

Choose a reason for hiding this comment

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

I really like the use of finally() here and after

type ReAuthCredentials,
} from "./export_reauth_state";

type ExportPrivateKeyError =
Copy link
Collaborator

Choose a reason for hiding this comment

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

If this were to become the contents of "payload" then I'd suggest we move this up to a common dep. What's your thought? Please let me know if this isn't clear

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Since this message is only callable from the user dashboard, I think keeping the types defined locally is more appropriate, same as get_connected_apps.ts.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Yes, but UD is still technically an "external" app that will consume this type. I'll modify this a little bit. I'll take a look at get_connected_apps as well. (but might not work on that for this PR, though)

Copy link
Collaborator

@eldenpark eldenpark left a comment

Choose a reason for hiding this comment

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

Left comments!

@chihunmanse
Copy link
Contributor Author

@eldenpark Addressed the comments

Copy link
Collaborator

@eldenpark eldenpark left a comment

Choose a reason for hiding this comment

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

I've taken in charge. Will touch a little

@eldenpark eldenpark merged commit 77a495a into develop Feb 26, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants