polkadot-js / apps

Basic Polkadot/Substrate UI for interacting with a Polkadot and Substrate node. This is the main user-facing application, allowing access to all features available on Substrate chains.
https://dotapps.io
Apache License 2.0
1.73k stars 1.52k forks source link

Reinstate DOT as the default unit for the treasury.spendLocal() call on Polkadot-JS Apps #10299

Open anaelleparity opened 5 months ago

anaelleparity commented 5 months ago

The submission process for Treasury spends via Polkadot-JS Apps now involves Planck units and requires users to convert their DOT amounts before filling in the "amount" field. This wasn't the case previously, and there is no way for Polkadot-JS Apps users to figure out this new requirement from the UI.

Screenshot 2024-02-26 at 11 36 10 am

The absence of prompt re: Planck unit on the Polkadot-JS UI could lead to a lot of confusion and frustration for proposers, as their pre-image submissions will be created with the wrong amounts, but they will not know how to troubleshoot this specific issue. Furthermore, most of OpenGov documentation that has been published on the Polkadot website, the Wiki, Parity guides, and community tutorial videos give a breakdown of procedures with DOT amounts, not Plancks.

Screenshot 2024-02-26 at 11 59 52 pm

Some possible options for mitigating this issue are to provide a tooltip/note about Planck units on the UI, so that proposers are aware (short-term solution) and to abstract the conversion process away from the UI, as it used to be the case (long-term solution).

anaelleparity commented 5 months ago

Addendum: Submitting a Treasury Spend for Bounties does not seem to be affected by this reversal, as DOT remains the unit of reference.