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

chore: Elm theme improvements for modals and alerts #91

Merged
merged 3 commits into from
Oct 28, 2024

Conversation

saeedbashir
Copy link

Description

Jira Ticket: LEARNER-10148

Before After
7 Simulator Screenshot - iPhone 16 Pro - 2024-10-22 at 13 38 30
6 2
4 3

self?.analytics.externalLinkOpenAction(
url: url.absoluteString,
screen: self?.sourceScreen.value ?? "",
action: "continue"

Choose a reason for hiding this comment

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

Can we use CoreLocalization.Webview.Alert.continue here?

Copy link
Author

Choose a reason for hiding this comment

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

It's for the analytics, if we use the localized string then it will be different as per the language and it will be hard to group the event based on value.

self?.analytics.externalLinkOpenAction(
url: url.absoluteString,
screen: self?.sourceScreen.value ?? "",
action: "cancel"

Choose a reason for hiding this comment

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

Can we use CoreLocalization.Webview.Alert.cancel?

Copy link
Author

Choose a reason for hiding this comment

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

@saeedbashir saeedbashir merged commit 5a6ad08 into 2U/develop Oct 28, 2024
2 checks passed
@saeedbashir saeedbashir deleted the saeed/LEARNER-10148 branch October 28, 2024 05:15
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.

3 participants