peterpeterparker / proposals.network

Shape the Internet Computer (ICP): Browse and submit NNS & SNS Proposals 🏛️📊🗳️
https://proposals.network
MIT License
6 stars 1 forks source link

No title, url or motion text to submit the proposal. #49

Closed baolongt closed 3 months ago

baolongt commented 4 months ago

image I got this even I put all the the form

peterpeterparker commented 4 months ago

Can you share the url of your edited proposal?

Something like https://proposals.network/submit?g=rrkah-fqaaa-aaaaa-aaaaq-cai&key=rE5UnvPJqZiMu2CB2e7ys

I cannot access it on the web but, can verify in the backend if the data are there or not.

Also have you try to reload?

baolongt commented 4 months ago

https://proposals.network/submit?g=rrkah-fqaaa-aaaaa-aaaaq-cai&key=uRtwpKpeTDWwfi-1P1WHr

peterpeterparker commented 4 months ago

Data are correctly saved in the backend.

You are trying to submit a proposal to ICP NNS (rrkah-fqaaa-aaaaa-aaaaq-cai), not a SNS, that's correct?

What device and browser are you using?

Have you try to go back to home screen, reload and retry?

baolongt commented 4 months ago

wait is that a way to make proposal to gold DAO?

peterpeterparker commented 4 months ago

You have first to select Gold DAO on the main screen.

Then make a proposal.

UX can be improved agree. PR welcome btw.

I have to go offline for a bit, if you provide more details and still does not work, I can answer later and/or debug tomorrow.

Capture d’écran 2024-07-17 à 19 04 51 Capture d’écran 2024-07-17 à 19 05 10
baolongt commented 4 months ago

Ok it kinda confuse but I think I got it. Maybe because the neuron is from GOLD DAO instead of ICP. It can be a bug

peterpeterparker commented 4 months ago

I cannot reproduce the issue 🤷‍♂️

Did it ultimately worked out for you?

baolongt commented 4 months ago

No still not, the GOLD DAO needed to upgrade the version to create proposal. It failed

image

peterpeterparker commented 4 months ago

Not sure what's happening. You have some stagged unrelated data - i.e. the errors displayed in the console are unrelated, like you have other draft in memory.

If you try in another browser or if you sign-out/sign-in it might resolve the issue. Can you try?

Not the solution to the bug but, just to unblock you.

peterpeterparker commented 4 months ago

I've been debugging for last hour and was not able to reproduce the issue. However, reading this thread again, it feels like the error message is correct.

According your screenshot you indeed did not provided an URL pointing to the forum!

Capture d’écran 2024-07-18 à 17 59 25

Can you provide one and try to submit your proposal again?

baolongt commented 4 months ago

image It kinda confuse if you don't put required in there, but look at this error

image image

peterpeterparker commented 4 months ago

It kinda confuse if you don't put required in there

All fields are required, so you can assume that all information is necessary. Additionally, I prefer a positive approach to buttons rather than disabling actions.

Submit error

The error does not come from proposals.network but, from the governance of Gold DAO. Unless there is an issue with the display of the requirement - i.e. is 100 GLDGov correct? - not sure what's the issue. You have set the hotkey correct?

peterpeterparker commented 4 months ago

Unrelated, I've now added a "Governance picker" which is displayed on "Submit a proposal"

Capture d’écran 2024-07-21 à 14 57 00
peterpeterparker commented 4 months ago

It took me a long time to replicate Gold DAO locally. My dfx replica crashed twice, and I had to submit several proposals to spin up a similar SNS. Ultimately, I finally managed to generate the project and was able to replicate your issue.

It seems that while I'm displaying 100 GLDGov as the minimal neuron stake to submit an SNS motion proposal, the Governance canister is actually expecting 1,000 GLDGov. For example, locally I wasn't able to submit a proposal with 999 GLDGov, but I was able to successfully submit one with 1,000 GLDGov.

As I don't understand why there is this discrepancy and really cannot pinpoint the cause, I have opened a thread on the forum.

peterpeterparker commented 4 months ago

I found it. I used the wrong field in the UI. Dumb me, I was using minimal neuron stake to display the minimal stake but, actually it the stake that should cover at least the minimal rejection fee. In case of Gold DAO, the rejection fee is 1,000 and no 100.

peterpeterparker commented 4 months ago

I have implemented a UI fix #52 and it has been rolled out.

So, long story short, you need at least a neuron with 1,000 GLDGov staked to submit a motion proposal to Gold DAO.

baolongt commented 3 months ago

I'm too broke to have 1000 GLDGov so I closed this as resolved issue