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

Add Loading Indicators and Enhanced Error Handling to Demo.html #29

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

crStiv
Copy link

@crStiv crStiv commented Jan 8, 2025

Description:

This update enhances the user experience in the demo.html file by introducing loading indicators and improving error handling mechanisms for input validation.

Changes:

Loading Indicators:

  • Added spinner elements (.loader) for "Generate Proof" and "Verify Proof" buttons.
  • Displayed loaders during asynchronous operations.

Enhanced Error Handling:

  • Added validation for JSON format and empty inputs.
  • Improved error messaging for better debugging.

Code Improvements:

  • Ensured consistent formatting and clear logging.
  • Minor stylistic and functional refinements for clarity and usability.

These updates aim to improve functionality and responsiveness, making the UI more intuitive and robust.

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.

1 participant