git clone https://github.com/1Hive/gardens-ui.git
cd gardens-ui
yarn
yarn start
Check out the .env.example file
Gardens UI ๐ป
Home Page: https://gardens.1hive.org/#/home
License: GNU Affero General Public License v3.0
git clone https://github.com/1Hive/gardens-ui.git
cd gardens-ui
yarn
yarn start
Check out the .env.example file
When using the honey pot user interface on a desktop, when the screen is minimized, the text and threshold graphs for proposals are misaligned and move off the white background they are nested in instead of text wrapping https://1hive.org/#/
Each staked proposal info should link to the corresponding proposal detail page
Right now we are using the defualt react scritps with a huge webpack config file that is not the best.
Following the designs we need to know which users supported X proposal
https://www.figma.com/file/jBEao1Z0PovUj40tJJG8pY/Honey-Pot-Site?node-id=136%3A3654
As noted by @Evalir, orgs without funds in the common pool break after creating a proposal.
This is due to the threshold being null
which causes invalid
divisions.
The new layout will allow us to incorporate dandelion voting proposals along with conviction voting proposals in the same view. It should also help scale for aggregation across gardens in the future.
Designs are still in progress, but can be seen here https://www.figma.com/file/P06HTzSyb9hExJVpwaUPmA/Honey-Pot-2.0?node-id=62%3A1381
Following designs we will create a 1hive-ui
file where we override all needed component's styles.
As reported by @Evalir on the aragon network dashboard there is some rounding issue when your available token amount is a decimal like 6.99999 and you select 100% on the slide bar will try to stake 7 tokens and will fail.
Currently we only have addProposal
function using @aragon/connect.
We should move all remaining actions to use connect as well.
We currently have utils
files inside the lib
folder, which doesn't correspond.
We should move every utility file into a utils
folder
Following the designs https://www.figma.com/file/jBEao1Z0PovUj40tJJG8pY/Honey-Pot-Site?node-id=2%3A1385
I transferred 5 HNY out of the top account in this list, displayed on this proposal: https://1hive.org/#/proposal/19 so it should display 36.19 HNY but still displays 41.19.
Right now we are spreading the config with all the useAppData https://github.com/1Hive/honey-pot/blob/f62122f17cc2bd3c53e7d1e3e252514b837a3c7c/src/hooks/useOrgHooks.js#L112, it would be nice to move the config inside an object when this pr get merged #58
There is no search on v2 but it is still a pretty nice feature to have, so if we can we should add one.
We need to add the ability to handle the disputable conviction voting and disputable voting events in our subgraph
Spotted on: https://honey-pot-9d8c3g3wk.vercel.app/#/home
Lower case search queries do not work -> Typing abs in the search bar for proposals doesn't show Abstain proposal, for example. Should be a quick fix, I currently cannot work on it, just figured I should point it out :)
Filters are remembered when coming back from a proposal page to the main page, but pagination is not. It should remember the page number when going back from a proposal page.
Once designs are ready we need to create a dandelion voting interface.
Designs Explorations.
https://www.figma.com/file/jBEao1Z0PovUj40tJJG8pY/Honey-Pot-Site?node-id=12%3A9493
Fields that take a number generally accepts scientific notation (e.g. 1e18 or just e) and other "invalid" inputs such as "-10" and so on.
Areas affected:
Low priority bug since the user will have to input this intentionally and transactions will revert in the case that the number is out of range (amount < 0 or amount > balance).
Credit to @anthonyoliai for reporting it on Discord first
Navigating directly to a proposal does not work, which means people cannot share links to a specific proposal.
We should adopt "hash routing" to enable this while maintaining a static site.
Currently we are not handling network connection errors and we just keep showing the loading ring forever . We need a global error screen .
cc @fioreb
Subscriptions seem to work randomly. Debug what could be the issue.
Explore the possibility to integrate 3box.
Some useful links:
As @anthonyoliai posted recently in discord:
I noticed that mobile users cannot search for proposals on the mobile version of the 1hive.org website. There is no search bar present. I propose that we do add this functionality as it may be useful for the user.
The provider sometimes doesn't do a good job at estimating gas, which results in the tx to revert.
Currently we are just hardcoding a GAS_LIMIT for every action.
We could either have:
I'm not sure if this has been discussed before, but on the proposal page of 1hive, I noticed that the slider seems to not function. If I have time later this week I'll look into it.
EDIT: After further examination I've figured out why this happens. The reason why this is happening is because of the very small amount of HNY entered in the prompt asking how much HNY you want to support. Entering a small amount such as 0.0001 makes the slider crash.
We need to have a flow similar to this one from aragon https://www.figma.com/file/Kz35QDzg8uUCHDK7jjipRx/AN-Dashboard-(Phase-3)?node-id=398%3A10265
This will require the agreement page with the text and get the user sign the agreement before being able to submit a proposal
Just a small proposal, not really an issue. Someone mentioned on Discord whether it was possible to change it so that Honey is displayed in another currency rather than USD. This could be nice for some users. It's just a small feature, which adds a little bit more functionality for users that are used to other currencies. I could perhaps look into it. We could for example create a small button on the top right, which allows for the user to choose their preferred currency.
We need to include all the changes needed to support the disputable subgrah schema and data
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.