Skip to content

Conversation

biplab1
Copy link
Contributor

@biplab1 biplab1 commented Jul 16, 2025

Fixes - Jira-#496

Screen recording uploaded in the ticket.

  • Run the static analysis check ./gradlew check or ci-prepush.sh to make sure you didn't break anything

  • If you have multiple commits please combine them into one commit by squashing them.

@biplab1
Copy link
Contributor Author

biplab1 commented Jul 16, 2025

Note: I am not actively working on this PR at the moment. I have pushed the work done so far in case someone else wants to pick it up and continue from here. Feel free to close this PR once someone picks up the ticket.

@biplab1
Copy link
Contributor Author

biplab1 commented Jul 16, 2025

This is almost done, however, can't test it and upload the screen recording since login is not working currently.

@biplab1 biplab1 marked this pull request as ready for review July 29, 2025 17:03
@biplab1
Copy link
Contributor Author

biplab1 commented Jul 29, 2025

@niyajali I too tested it, and it was working fine except for a state issue — the dialog name and close (×) icon remain visible even after a successful submission. I believe this can be addressed when the new UI/UX mockups are incorporated.

If everything looks good, kindly go ahead and merge it.

@biplab1
Copy link
Contributor Author

biplab1 commented Jul 29, 2025

Taken from the ticket and pasted here for quick reference:

Before Fix:

Before_CIVM.webm

After Fix:

After_CIVM.webm

Originally uploaded by @sam-arth07

@niyajali
Copy link
Collaborator

Then close the dialog after form submission in ViewModel @biplab1

@@ -152,6 +144,7 @@ internal fun ClientIdentifiersScreen(
actions = {
IconButton(
onClick = {
onShowDialog()
Copy link
Collaborator

Choose a reason for hiding this comment

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

And see here, you're showing the dialog but I'm not seeing any codebase which closes this dialog state.

onDismiss = { showCreateIdentifierDialog = false },
onIdentifierCreated = {
showCreateIdentifierDialog = false
showCreateSuccessMessage = true
onIdentifierCreated()
reloadIdentifiers()
Copy link
Collaborator

Choose a reason for hiding this comment

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

Try this like a before and why don't you handle the Dialog state from ViewModel

showCreateIdentifierDialog = false

@niyajali
Copy link
Collaborator

Okay, @biplab1 I don't see any difference after watching both videos, can you create a ticket for the issue and all and others will take a look. And I'm merging this now

@niyajali niyajali merged commit 401a017 into openMF:kmp-impl Jul 29, 2025
2 checks passed
itsPronay pushed a commit to itsPronay/android-client that referenced this pull request Aug 5, 2025
itsPronay pushed a commit to itsPronay/android-client that referenced this pull request Aug 5, 2025
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