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

add marketplace banner that links to strapi awesome #10677

Merged
merged 4 commits into from
Aug 4, 2021

Conversation

markkaylor
Copy link
Contributor

What does it do?

Adds a banner on the marketplace page that links to strapi awesome: https://github.com/strapi/awesome-strapi

Why is it needed?

Helps people find community plugins

How to test it?

Run strapi admin locally and go to the marketplace page

@markkaylor markkaylor self-assigned this Aug 2, 2021
@codecov
Copy link

codecov bot commented Aug 2, 2021

Codecov Report

Merging #10677 (6440b52) into master (65f48c8) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master   #10677   +/-   ##
=======================================
  Coverage   58.01%   58.01%           
=======================================
  Files         185      185           
  Lines        6431     6431           
  Branches     1398     1398           
=======================================
  Hits         3731     3731           
  Misses       2236     2236           
  Partials      464      464           
Flag Coverage Δ
front ∅ <ø> (∅)
unit 58.01% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 65f48c8...6440b52. Read the comment docs.

Copy link
Member

@derrickmehaffy derrickmehaffy left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for adding this!

mfrachet
mfrachet previously approved these changes Aug 3, 2021
Copy link
Contributor

@mfrachet mfrachet left a comment

Choose a reason for hiding this comment

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

LGTM 👍🏻

Comment on lines 8 to 9
border-left: 4px solid #317ff6;
box-shadow: 0 2px 4px #e3e9f3;
Copy link
Contributor

Choose a reason for hiding this comment

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

These two colors don't exist in the current theme nor in the @strapi/parts design system. IMO we should use some existing colors.

const PluginBanner = () => {
return (
<Wrapper>
<img className="bannerImage" src={LogoStrapi} alt="A strapi rocket logo" />
Copy link
Contributor

Choose a reason for hiding this comment

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

I think the alt message should be translated.

Copy link
Contributor

Choose a reason for hiding this comment

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

as you did for the <FormattedMessage id="app.components.PluginBanner" />

rel="noopener noreferrer"
className="bannerLink"
>
Check it out now
Copy link
Contributor

Choose a reason for hiding this comment

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

Same here, this message should be translated

@@ -0,0 +1,28 @@
import styled from 'styled-components';

const Wrapper = styled.div`
Copy link
Contributor

Choose a reason for hiding this comment

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

Some of the CSS values are used in @strapi/parts. Can you put a comment here to avoid forgetting to migrate this component please?

// TODO : To migrate with @strapi/parts

@alexandrebodin alexandrebodin added this to the 3.6.6 milestone Aug 4, 2021
@alexandrebodin alexandrebodin added source: core:admin Source is core/admin package issue: enhancement Issue suggesting an enhancement to an existing feature labels Aug 4, 2021
Copy link
Contributor

@HichamELBSI HichamELBSI left a comment

Choose a reason for hiding this comment

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

LGTM good job @markkaylor !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue: enhancement Issue suggesting an enhancement to an existing feature source: core:admin Source is core/admin package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants