-
Notifications
You must be signed in to change notification settings - Fork 1
Extensions frontend [WIP] #41
base: master
Are you sure you want to change the base?
Conversation
<section class="extensions"> | ||
{% for extension in extensions %} | ||
<div class="extension"> | ||
{{ extension }} |
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.
We should give more info here:
- a link to the doc of the extension
- a link to the packagist page
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.
It will come :)
We also need some navigation to go to this page from the homepage |
Yup. |
# Conflicts: # app/AppKernel.php
# Conflicts: # app/AppKernel.php
# Conflicts: # tests/Documentation/SphinxDoc/SphinxBuilderTest.php
# Conflicts: # spec/ExtensionCatalogueSpec.php
); | ||
} | ||
|
||
$this->string = strtolower($string); | ||
$this->name = strtolower($name); | ||
$this->type = $data['type']; |
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.
type
is optional in composer.json (omitting it implies library
). You should handle it.
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.
this still needs to be fixed
… into feature/extensions-frontend
Extensions list is ready. Extension details and documentation page is in progress |
return 'Anonymous'; | ||
} | ||
|
||
return $package->primaryAuthor()['name']; |
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.
this will break if someone does not define the author name in their composer.json. You should not trust user input to be valid
@stof fixed all your comments. Thanks for still helping me with this one, buddy :) We're close now |
No description provided.