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

After submitting a proposal the form was still in Editing mode for a while until suddenly turning to View mode #964

Open
petersalomonsen opened this issue Oct 20, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@petersalomonsen
Copy link
Collaborator

petersalomonsen commented Oct 20, 2024

Affected Portal:
Select one: Events ( maybe all )

Description:
I submitted the proposal https://events-committee.near.page/proposal/97, which I confirmed via my-near-wallet. After being redirected back to the portal, the proposal was still in editing mode for maybe 10 seconds before it suddenly switched to draft mode. That made me unsure if it was really submitted, and it was also confusing that it suddenly changed mode without any indication. There were no loading spinner or indication that submission was in progress.

User Type:
Specify: Regular User

Reproduction Steps

  1. Create a proposal
  2. Submit and approve it via web wallet ( my-near-wallet )
  3. When redirected back to the page, observe that the proposal is still in edit mode
  4. Observe that after some seconds it switches to view mode

Expected behavior
When redirected back from the wallet, the proposal should not be in edit mode, and it should be a progress indicator ( a spinner ) indicating that submission is still ongoing.

Priority
Select One: (P2) – Major inconvenience

Environment Details

  • Device: Desktop
  • OS: Mac
  • Browser Chrome
  • Version [e.g. 22]

Additional context

The reproduction of this issue should be possible in a playwright-test, where it would also be possible to create a video of it.

It also seems to happen something similar after marking the proposal ready for review, which when I did that, I was redirected back to this URL from the wallet: https://near.social/events-committee.near/widget/app?page=create-proposal&transactionHashes=4YWEHo5CSdKajEm43e9MJ1HjT8QJsxtg7BscoDxwpM2z It essentially brought me back to the create proposal form.

@petersalomonsen petersalomonsen added the bug Something isn't working label Oct 20, 2024
@petersalomonsen petersalomonsen changed the title After submitting a proposal the form was still in Editing mode for a while until suddenly turning to view mode After submitting a proposal the form was still in Editing mode for a while until suddenly turning to View mode Oct 20, 2024
@petersalomonsen
Copy link
Collaborator Author

@ori-near please consider this for one of the coming iterations, I can look into the issue if you want to.

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
Status: 🆕 Triage
Development

No branches or pull requests

1 participant