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

[BUG] web-UI does not reflect changes after first show-preview #333

Open
aceisace opened this issue Apr 14, 2024 · 0 comments
Open

[BUG] web-UI does not reflect changes after first show-preview #333

aceisace opened this issue Apr 14, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@aceisace
Copy link
Member

Describe the bug
The current web -ui does not reflect any changes in both the show-preview button as well as the generate settings.json file. This is because both functions rely on the form submit function and a form may only be submitted once. Any changes after the first submit simply get lost, causing some confusion for users. This can be fixed by relying on AJAX for the show-preview function while the generate settings.json button remains unchanged. For this, it is necessary to update the web-ui.

To Reproduce
Steps to reproduce the behaviour:

  1. Head to the web-ui
  2. Insert some details
  3. Click on show preview
  4. Modify some more details
  5. Click on show preview again

Expected behaviour
Expect the web-ui to reflect changes multiple times, regardless of how many times the show-preview button was triggered

Additional context

  • This is also a good chance to use recaptcha to prevent bots on submitting the form and for the show preview
  • Local paths must all be blocked, only URL calls may be made
@aceisace aceisace added the bug Something isn't working label Apr 14, 2024
@aceisace aceisace self-assigned this Apr 14, 2024
@aceisace aceisace changed the title Web-UI [BUG] web-UI does not reflect changes after first show-preview Apr 14, 2024
@aceinnolab aceinnolab deleted a comment from github-actions bot Jun 15, 2024
@aceinnolab aceinnolab deleted a comment from github-actions bot Aug 15, 2024
@aceinnolab aceinnolab deleted a comment from github-actions bot Oct 15, 2024
@aceinnolab aceinnolab deleted a comment from github-actions bot Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant