opral / monorepo

globalization ecosystem && change control SDK
https://opral.com
Apache License 2.0
1.16k stars 94 forks source link

introduce marketplace #1242

Closed samuelstroschein closed 1 year ago

samuelstroschein commented 1 year ago

Goal

Open questions

Scope

Must have

Should have

Nice to have

Out of scope

flornkm commented 1 year ago

Addition: Why we're doing that?

flornkm commented 1 year ago

@inlang/team Please read and discuss the scope of the marketplace and the open questions.

samuelstroschein commented 1 year ago
  1. Agree with the scoping.
  2. Added SEO as "nice to have"
  3. It seems like the metadata for plugins and lint rules should come from @inlang/marketplace to ensure consistency.

CleanShot 2023-08-14 at 16 09 55@2x

flornkm commented 1 year ago

Proposals for the layout of the marketplace

Proposal 1 – Separated categories, interactive illu that scrolls you to anchor

marketplace_3

Proposal 2 – Categories together, categorizable by dropdown field at search bar

marketplace_4

Proposal 3 – A direct switch between categories and little different layout overall

marketplace_6

@inlang/team please comment what layout we should take and discuss changes

samuelstroschein commented 1 year ago

Arguments in favor of Proposal 2:


Perhaps a mix of proposal 2 (show everything) and proposal 3 (select the categories "all" | "plugins" | "apps" | "lint rules") is the way to go. Hidden filters in proposal 2 are inferior to visible filters in proposal 3.

NiklasBuchfink commented 1 year ago

Great work 👍 For searching, Proposal 3 is the best: If I look for something specific, I don't want anything else to be shown. For Browsing, Proposal 2 is the best: The badges with color coding help with that. I like that it's introduced in the illustration.

I vote for the mix, as described by Samuel

jannesblobel commented 1 year ago

Flo and I were on a call and created a draft together. Let me/us know what you think about it.

CleanShot 2023-08-15 at 13 45 37@2x

https://www.loom.com/share/c5767833d35342adbd916ac90fabc394

flornkm commented 1 year ago

A small addition to @jannesblobel's loom: we could bring the heading and explanation of the marketplace back to the center of this screen. Most marketplaces we saw were in some form aligned to the left. This proposal without the search bar is most likely the simplest we can do. In my opinion, a great starting point to code and extend it afterward.

NiklasBuchfink commented 1 year ago

This proposal won't scale:

I don't think we need to diverge from best practices here. But I agree an illustration is candy and we can get to the point right away and show more results at first sight.

flornkm commented 1 year ago

@NiklasBuchfink with Jannes I've talked about the point the marketplace scales, and at this point, we have < 25 items and it doesn't seem to grow extremely in the next few months. Therefore we decided to put the button to the end because, for someone who just wants to explore, it is irrelevant.

In terms of the category filter yes, we can add it and it's quite fast to implement. But when thinking of scaling – what happens when we get more categories? Then we have to implement a dropdown menu or something like that because the switch won't fit anymore.

flornkm commented 1 year ago

Proposal 4 based on your feedback

Partly a mixture and a new idea:

marketplace marketplace-1

@NiklasBuchfink, @jannesblobel and @samuelstroschein you had some strong suggestions, what is your opinion on this?

samuelstroschein commented 1 year ago

@floriandwt the last proposal is straightforward 👍

CleanShot 2023-08-15 at 15 49 45@2x

ivanhofer commented 1 year ago

Looks good, but I would place the "Build your own" button somewhere else or use a different style. I think some people will click on it because they think it is the "Apply Search" button.

flornkm commented 1 year ago

@ivanhofer good point, made some smaller changes to it. This is the layout we use:

Screenshot 2023-08-16 at 9 01 00 AM
flornkm commented 1 year ago

@inlang/team here is a quick update and some thoughts regarding the last things missing: https://www.loom.com/share/7ef5c7ef6cc24340a5ab879315b38f26

Feel free to discuss the importance and implementation of multi-selection, some changes to the UI are obviously necessary for allowing users to select multiple items from the marketplace.

felixhaeberle commented 1 year ago

@floriandwt can this be closed?