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

App center app details #750

Merged
merged 24 commits into from
Apr 30, 2019
Merged

App center app details #750

merged 24 commits into from
Apr 30, 2019

Conversation

AquiGorka
Copy link
Contributor

@AquiGorka AquiGorka commented Apr 24, 2019

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

Medium:
image

Small:

@AquiGorka AquiGorka force-pushed the feature/app-center-app-details branch 2 times, most recently from 7739e40 to 7bfc477 Compare April 26, 2019 12:56
@sohkai
Copy link
Contributor

sohkai commented Apr 26, 2019

Hmm, I think the two-column layout was good as a design but in practice it can lead to some very confusing reading, e.g.

Screen Shot 2019-04-27 at 12 48 15 AM

@AquiGorka
Copy link
Contributor Author

cc @dizzypaty on the 2 columns concern raised by @sohkai

@AquiGorka AquiGorka force-pushed the feature/app-center-app-details branch 2 times, most recently from 1e681d8 to 9bec3aa Compare April 29, 2019 08:41
@dizzypaty
Copy link

@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.

Group(3)

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 : )

WebApp-1366px - App center v1 - detail view@2x(2)
Group 3

Figma file

@AquiGorka
Copy link
Contributor Author

@dizzypaty @sohkai where does Package Name link to?

@AquiGorka
Copy link
Contributor Author

AquiGorka commented Apr 29, 2019

Last update:

Large:
image

Medium:
image

Small:

Pending:

  • Package name link

@AquiGorka AquiGorka force-pushed the feature/app-center-app-details branch from 4773ce6 to 0247500 Compare April 29, 2019 15:17
src/apps/AppCenter/InstalledApps/AppContent.js Outdated Show resolved Hide resolved
src/apps/AppCenter/InstalledApps/AppContent.js Outdated Show resolved Hide resolved
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()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙆‍♂️

@dizzypaty
Copy link

@dizzypaty @sohkai where does Package Name link to?

@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.

@AquiGorka AquiGorka force-pushed the feature/app-center-app-details branch from 0f8e07a to 6b94bc3 Compare April 30, 2019 09:12
@AquiGorka AquiGorka requested review from bpierre and sohkai April 30, 2019 09:13
@sohkai
Copy link
Contributor

sohkai commented Apr 30, 2019

@AquiGorka @dizzypaty We could link to https://etherscan.io/address/voting.aragonpm.eth (replace voting.aragonpm.eth for each name) for now, although its value is questionable (people could verify the deployments if they knew how to read the transactions, but I doubt most people will understand what they're looking at).

@AquiGorka
Copy link
Contributor Author

@sohkai yep, already implemented here, we discussed it with @bpierre and the link goes to the #code section as linking to a list of txs made no sense in this context.

@sohkai
Copy link
Contributor

sohkai commented Apr 30, 2019

To be fair, the #code doesn't contain much useful information; it will just always show the AppProxy contract. In that aspect, seeing the transactions is actually more useful since you can audit the version publishes if you know what you're looking for.

@bpierre
Copy link
Contributor

bpierre commented Apr 30, 2019

Do app packages have a homepage? I think it could be nice to point to it rather than having this hardcoded. For aragon-apps, we could keep these URLs pointing to Etherscan for now, then we could have simple app pages to present them, e.g. on aragon.org/apps/finance.

@sohkai
Copy link
Contributor

sohkai commented Apr 30, 2019

Unfortunately not, Aragon Black may design and implement something like this for aragonPM repos though.

@AquiGorka
Copy link
Contributor Author

Hmmm, then I leave the decision to you @sohkai txs or code, I have no strong opinion on either and we are one commit away from it.

Copy link
Contributor

@bpierre bpierre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥 🔥 🔥

src/components/Markdown/Markdown.js Outdated Show resolved Hide resolved
src/components/Markdown/Markdown.js Outdated Show resolved Hide resolved
src/hooks.js Outdated Show resolved Hide resolved
"react-blockies": "^1.3.0",
"react-container-dimensions": "^1.3.3",
"react-dom": "^16.8.4",
"react-dom": "^16.8.6",
Copy link
Contributor

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?

Copy link
Contributor Author

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 installing

Copy link
Contributor

@sohkai sohkai left a 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 🙇!

bpierre and others added 4 commits April 30, 2019 17:38
Co-Authored-By: AquiGorka <gorka@aquigorka.com>
Co-Authored-By: AquiGorka <gorka@aquigorka.com>
@AquiGorka AquiGorka merged commit e1ad4a8 into master Apr 30, 2019
@AquiGorka AquiGorka deleted the feature/app-center-app-details branch April 30, 2019 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants