Skip to content

Conversation

@jbsession
Copy link
Collaborator

@jbsession jbsession commented Oct 30, 2025

This PR includes new error strings for Account ID and Ons. This also includes showing a modal with the updated Zendesk link when clicking the tooltip test.

Some validations we also updated to meet some criteria:

  • This error state appears when the user enters a string in the input field that matches the length of an Account ID (66 characters), starts with “05”, but is not valid hex.

  • Should also appear if the user enters a blinded ID or group ID which starts with, “15” or “03” and is the length of a blinded ID or group ID, even if it’s a valid blinded ID or group ID we should error and display that this is an invalid Account ID.

Screenshot 2025-10-30 at 10 50 29 AM Screenshot 2025-10-30 at 10 53 11 AM Screenshot 2025-10-30 at 10 54 35 AM Screenshot 2025-10-30 at 10 55 56 AM Screenshot 2025-10-30 at 10 58 57 AM Screenshot 2025-10-30 at 10 59 42 AM

@jbsession jbsession self-assigned this Oct 30, 2025
@jbsession jbsession marked this pull request as ready for review October 30, 2025 03:00
if (uiState.showUrlDialog) {
OpenURLAlertDialog(
url = helpUrl,
onDismissRequest = { viewModel.onCommand(NewMessageViewModel.Commands.ToggleUrlDialog) }
Copy link
Collaborator

Choose a reason for hiding this comment

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

I know it's a bit more verbose but I think it's always good to be explicit with these commands. Technically a dismiss request wouldn't exactly toggle the dialog, it's always a "hide". Same with the help button which is always a show.
It avoids getting into unexpected states.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Makes sense, I'll update the commands to have both show and dismiss.

Copy link
Collaborator

@ThomasSession ThomasSession left a comment

Choose a reason for hiding this comment

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

👍

@jbsession jbsession merged commit bb5fc1d into session-foundation:dev Nov 2, 2025
4 checks passed
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