-
Notifications
You must be signed in to change notification settings - Fork 274
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
App center app details #750
Conversation
be75372
to
1f36c5a
Compare
7739e40
to
7bfc477
Compare
cc @dizzypaty on the 2 columns concern raised by @sohkai |
1e681d8
to
9bec3aa
Compare
@AquiGorka , @sohkai , @bpierre I don't think the two-column layout is a problem, what it's visually unpleasant is that all the different elements are misaligned. Originally we had more description content (that has now been revised and shorted) so the 2 columns made more sense. I've arranged the sections in 2 columns, but the copy of the Details section can be displayed all in one column. I think this solves the problem. Let me know what you think : ) |
@dizzypaty @sohkai where does |
* Update aragonUI version * AppContent: refactor Viewport to useViewport hook * DaoSettings: refactor Viewport to useViewport hook * AppInstanceLabel: refactor Viewport to useViewport hook * NavigationItem: refactor Viewport to useViewport hook * Preferences: refactor Viewport to useViewport hook * AppInstanceLabel: add react memo to avoid re-renders * DaoSettings: add react memo to avoid re-renders
…n content for larger screens
4773ce6
to
0247500
Compare
const enableTransactions = !!account && walletNetwork === network.type | ||
const financeApp = apps.find(({ name }) => name === 'Finance') | ||
const checksummedDaoAddr = | ||
daoAddress.address && toChecksumAddress(daoAddress.address) | ||
const apmApps = apps.filter(app => !app.isAragonOsInternalApp) | ||
const { below } = useViewport() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙆♂️
@AquiGorka – about this link, Pierre mentioned that we can either link to GitHub or to Etherscan. At some point we might want to do an Aragon microsite to host this info and present it in a more readable way. |
0f8e07a
to
6b94bc3
Compare
@AquiGorka @dizzypaty We could link to https://etherscan.io/address/voting.aragonpm.eth (replace |
To be fair, the |
Do app packages have a |
Unfortunately not, Aragon Black may design and implement something like this for aragonPM repos though. |
Hmmm, then I leave the decision to you @sohkai |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔥 🔥 🔥
"react-blockies": "^1.3.0", | ||
"react-container-dimensions": "^1.3.3", | ||
"react-dom": "^16.8.4", | ||
"react-dom": "^16.8.6", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to confirm: is this only to align the two versions, or also because the previous versions were causing issues?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only to align I guess as it was a freebie when npm i
nstalling
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Sorry for all the back and forth 🙇!
Co-Authored-By: AquiGorka <gorka@aquigorka.com>
Co-Authored-By: AquiGorka <gorka@aquigorka.com>
As discussed with @bpierre implemented
react-remark
and set up some rules (might need to add more) for content inside the markdown section.Added a layout change for larger viewports so that the content uses all the available space:
![image](https://user-images.githubusercontent.com/3072458/56659431-601e2e00-669d-11e9-9d67-8d5d5dc1759b.png)
Medium:
![image](https://user-images.githubusercontent.com/3072458/56659473-83e17400-669d-11e9-92fd-8be97343e379.png)
Small:
![](https://user-images.githubusercontent.com/3072458/56659516-a4a9c980-669d-11e9-9866-59d41ec2caf4.gif)