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 a readme for the examples #1423

Merged
merged 15 commits into from
Aug 16, 2021
Merged

Conversation

JAicewizard
Copy link
Contributor

The list is not complete yet, I will add every example after I take a look at them.
You can merge it now or wait until I've looked at all the examples.

@richard-uk1
Copy link
Collaborator

I think this is a very useful addition.

@JAicewizard
Copy link
Contributor Author

I was thinking about some clips just like iced, but we(you)'d need a place to host them. Maybe something in the repo will work but Ill start a topic on zulip for that.

Copy link
Member

@cmyr cmyr left a comment

Choose a reason for hiding this comment

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

Thanks for taking this on, it's much appreciated!

druid/examples/readme.md Outdated Show resolved Hide resolved
druid/examples/readme.md Outdated Show resolved Hide resolved
druid/examples/readme.md Outdated Show resolved Hide resolved
druid/examples/readme.md Outdated Show resolved Hide resolved
druid/examples/readme.md Outdated Show resolved Hide resolved
druid/examples/readme.md Outdated Show resolved Hide resolved
druid/examples/readme.md Outdated Show resolved Hide resolved
druid/examples/readme.md Outdated Show resolved Hide resolved
@rjwittams
Copy link
Collaborator

You can weirdly host media (e.g. animated gifs, maybe .mp4?) in github by attaching it to an issue and then grabbing the url of the uploaded media. You don't need to actually submit the issue for the media to last forever it seems

@cmyr
Copy link
Member

cmyr commented Jan 6, 2021

A better way to do this is to just have an orphan branch of your project and commit your media there; then you can link to it directly. This is how we put the screenshots in the main readme, for instance...

@JAicewizard
Copy link
Contributor Author

I dont think I will do the inline pictures, its too much work. Thats something that should be a community effort instead of one person imo.

Copy link
Collaborator

@jneem jneem left a comment

Choose a reason for hiding this comment

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

Thanks, this is definitely useful to have. I just found some typos

druid/examples/readme.md Outdated Show resolved Hide resolved
druid/examples/readme.md Outdated Show resolved Hide resolved
druid/examples/readme.md Outdated Show resolved Hide resolved
druid/examples/readme.md Outdated Show resolved Hide resolved
druid/examples/readme.md Outdated Show resolved Hide resolved
druid/examples/readme.md Outdated Show resolved Hide resolved
druid/examples/readme.md Outdated Show resolved Hide resolved
druid/examples/readme.md Outdated Show resolved Hide resolved
druid/examples/readme.md Outdated Show resolved Hide resolved
cargo run --example scroll_colors
```

This is a showcase is scrolling through an image gradient square. The square is devided into smaller squares each with a unique color. There are other ways to to this like one big widget with an image for example.
Copy link
Collaborator

Choose a reason for hiding this comment

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

divided

Copy link
Collaborator

Choose a reason for hiding this comment

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

(Actually, I'm not sure what the purpose of this example is, given that we have scroll?)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah it is like the most basic showcase out there, not really doing much imho.
I propose to remove this in another PR?

@jneem jneem added the S-waiting-on-author waits for changes from the submitter label Feb 8, 2021
@cmyr
Copy link
Member

cmyr commented Jun 28, 2021

What's the status on this? I accept responsibility for it sitting for so long, but I think we should either get it merged or remove it? It would also be good to have a checklist of things to do when adding a new example (like adding it to this readme, ignoring it on wasm if needed, etc...)

@JAicewizard
Copy link
Contributor Author

I completely forgot about this, yes I still want to get this merged. I will take a look at what examples are still missing and if its not too many add them.

I think the contributing section should be in a separate file just like in the root, and probably also another PR to not keep this one blocked on that.

@cmyr
Copy link
Member

cmyr commented Jun 29, 2021

yep that sounds good!

@JAicewizard
Copy link
Contributor Author

@cmyr I think I did implemented every example in here. As I am not the original author of these examples I dont know their exact purposes, but that's for future example authors to fix imo.

@JAicewizard JAicewizard requested a review from jneem July 11, 2021 10:42
@PoignardAzur
Copy link
Collaborator

PoignardAzur commented Aug 4, 2021

@jneem I fixed the typo. I think if you mark it as resolved, we can merge the PR?

@cmyr
Copy link
Member

cmyr commented Aug 16, 2021

going to make the executive to just ignore any outstanding reviews or CI and just merge this as-is, thank you for the patience everyone!

@cmyr cmyr merged commit c705a3c into linebender:master Aug 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-author waits for changes from the submitter
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants