Skip to content

chore: move repo references from @smeijer to @testing-library #155

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

Merged
merged 2 commits into from
Jun 14, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .all-contributorsrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"projectName": "testing-playground",
"projectOwner": "smeijer",
"projectOwner": "testing-library",
"repoType": "github",
"repoHost": "https://github.com",
"files": [
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ series [How to Contribute to an Open Source Project on GitHub][egghead]
> pull requests from branches on your fork. To do this, run:
>
> ```
> git remote add upstream git@github.com:smeijer/testing-playground.git
> git remote add upstream git@github.com:testing-library/testing-playground.git
> git fetch upstream
> git branch --set-upstream-to=upstream/develop develop
> ```
Expand Down Expand Up @@ -45,4 +45,4 @@ Also, please watch the repo and respond to questions/bug reports/feature
requests! Thanks!

[egghead]: https://egghead.io/series/how-to-contribute-to-an-open-source-project-on-github
[issues]: https://github.com/smeijer/testing-playground/issues
[issues]: https://github.com/testing-library/testing-playground/issues
25 changes: 14 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ practices.
<hr />

<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->

[![All Contributors](https://img.shields.io/badge/all_contributors-8-orange.svg?style=flat-square)](#contributors-)

<!-- ALL-CONTRIBUTORS-BADGE:END -->

**Playground for [testing-library/dom]**
Expand Down Expand Up @@ -90,7 +92,7 @@ Every section in the roadmap is accompanied by one or more issues. Contributions
Please see [contributing.md] for more details. If you just want to run the playground on your own machine, go to your terminal and enter the following commands:

```bash
git clone git@github.com:smeijer/testing-playground.git
git clone git@github.com:testing-library/testing-playground.git
cd testing-playground
npm ci
npm run start
Expand All @@ -105,21 +107,22 @@ Thanks goes to these people ([emoji key][emojis]):
<!-- markdownlint-disable -->
<table>
<tr>
<td align="center"><a href="https://github.com/smeijer"><img src="https://avatars1.githubusercontent.com/u/1196524?v=4" width="100px;" alt=""/><br /><sub><b>Stephan Meijer</b></sub></a><br /><a href="#ideas-smeijer" title="Ideas, Planning, & Feedback">🤔</a> <a href="https://github.com/smeijer/testing-playground/commits?author=smeijer" title="Code">💻</a> <a href="#infra-smeijer" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="#maintenance-smeijer" title="Maintenance">🚧</a></td>
<td align="center"><a href="https://github.com/marcosvega91"><img src="https://avatars2.githubusercontent.com/u/5365582?v=4" width="100px;" alt=""/><br /><sub><b>Marco Moretti</b></sub></a><br /><a href="https://github.com/smeijer/testing-playground/commits?author=marcosvega91" title="Code">💻</a> <a href="https://github.com/smeijer/testing-playground/commits?author=marcosvega91" title="Tests">⚠️</a></td>
<td align="center"><a href="http://timdeschryver.dev"><img src="https://avatars1.githubusercontent.com/u/28659384?v=4" width="100px;" alt=""/><br /><sub><b>Tim Deschryver</b></sub></a><br /><a href="https://github.com/smeijer/testing-playground/commits?author=timdeschryver" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/smeijer"><img src="https://avatars1.githubusercontent.com/u/1196524?v=4" width="100px;" alt=""/><br /><sub><b>Stephan Meijer</b></sub></a><br /><a href="#ideas-smeijer" title="Ideas, Planning, & Feedback">🤔</a> <a href="https://github.com/testing-library/testing-playground/commits?author=smeijer" title="Code">💻</a> <a href="#infra-smeijer" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="#maintenance-smeijer" title="Maintenance">🚧</a></td>
<td align="center"><a href="https://github.com/marcosvega91"><img src="https://avatars2.githubusercontent.com/u/5365582?v=4" width="100px;" alt=""/><br /><sub><b>Marco Moretti</b></sub></a><br /><a href="https://github.com/testing-library/testing-playground/commits?author=marcosvega91" title="Code">💻</a> <a href="https://github.com/testing-library/testing-playground/commits?author=marcosvega91" title="Tests">⚠️</a></td>
<td align="center"><a href="http://timdeschryver.dev"><img src="https://avatars1.githubusercontent.com/u/28659384?v=4" width="100px;" alt=""/><br /><sub><b>Tim Deschryver</b></sub></a><br /><a href="https://github.com/testing-library/testing-playground/commits?author=timdeschryver" title="Code">💻</a></td>
<td align="center"><a href="https://kentcdodds.com"><img src="https://avatars0.githubusercontent.com/u/1500684?v=4" width="100px;" alt=""/><br /><sub><b>Kent C. Dodds</b></sub></a><br /><a href="#ideas-kentcdodds" title="Ideas, Planning, & Feedback">🤔</a></td>
<td align="center"><a href="https://michaeldeboey.be"><img src="https://avatars3.githubusercontent.com/u/6643991?v=4" width="100px;" alt=""/><br /><sub><b>Michaël De Boey</b></sub></a><br /><a href="https://github.com/smeijer/testing-playground/commits?author=MichaelDeBoey" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/delca85"><img src="https://avatars1.githubusercontent.com/u/4076043?v=4" width="100px;" alt=""/><br /><sub><b>Bianca Del Carretto</b></sub></a><br /><a href="https://github.com/smeijer/testing-playground/commits?author=delca85" title="Code">💻</a></td>
<td align="center"><a href="http://gerritalex.de"><img src="https://avatars1.githubusercontent.com/u/29307652?v=4" width="100px;" alt=""/><br /><sub><b>Gerrit Alex</b></sub></a><br /><a href="https://github.com/smeijer/testing-playground/commits?author=ljosberinn" title="Code">💻</a> <a href="https://github.com/smeijer/testing-playground/commits?author=ljosberinn" title="Tests">⚠️</a></td>
<td align="center"><a href="https://michaeldeboey.be"><img src="https://avatars3.githubusercontent.com/u/6643991?v=4" width="100px;" alt=""/><br /><sub><b>Michaël De Boey</b></sub></a><br /><a href="https://github.com/testing-library/testing-playground/commits?author=MichaelDeBoey" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/delca85"><img src="https://avatars1.githubusercontent.com/u/4076043?v=4" width="100px;" alt=""/><br /><sub><b>Bianca Del Carretto</b></sub></a><br /><a href="https://github.com/testing-library/testing-playground/commits?author=delca85" title="Code">💻</a></td>
<td align="center"><a href="http://gerritalex.de"><img src="https://avatars1.githubusercontent.com/u/29307652?v=4" width="100px;" alt=""/><br /><sub><b>Gerrit Alex</b></sub></a><br /><a href="https://github.com/testing-library/testing-playground/commits?author=ljosberinn" title="Code">💻</a> <a href="https://github.com/testing-library/testing-playground/commits?author=ljosberinn" title="Tests">⚠️</a></td>
</tr>
<tr>
<td align="center"><a href="https://www.guzy.dev"><img src="https://avatars1.githubusercontent.com/u/9118764?v=4" width="100px;" alt=""/><br /><sub><b>Dominik Guzy</b></sub></a><br /><a href="https://github.com/smeijer/testing-playground/commits?author=Siemko" title="Code">💻</a></td>
<td align="center"><a href="https://www.guzy.dev"><img src="https://avatars1.githubusercontent.com/u/9118764?v=4" width="100px;" alt=""/><br /><sub><b>Dominik Guzy</b></sub></a><br /><a href="https://github.com/testing-library/testing-playground/commits?author=Siemko" title="Code">💻</a></td>
</tr>
</table>

<!-- markdownlint-enable -->
<!-- prettier-ignore-end -->

<!-- ALL-CONTRIBUTORS-LIST:END -->

This project follows the [all-contributors][all-contributors] specification.
Expand All @@ -129,9 +132,9 @@ Contributions of any kind welcome!
[playground]: https://testing-playground.com
[playground-next]: https://develop.testing-playground.com
[embed-demo]: https://codepen.io/smeijer/pen/yLYWZmK
[roadmap.md]: https://github.com/smeijer/testing-playground/blob/master/ROADMAP.md
[contributing.md]: https://github.com/smeijer/testing-playground/blob/master/CONTRIBUTING.md
[issue tracker]: https://github.com/smeijer/testing-playground/issues
[roadmap.md]: https://github.com/testing-library/testing-playground/blob/master/ROADMAP.md
[contributing.md]: https://github.com/testing-library/testing-playground/blob/master/CONTRIBUTING.md
[issue tracker]: https://github.com/testing-library/testing-playground/issues
[all-contributors]: https://github.com/all-contributors/all-contributors
[emojis]: https://github.com/all-contributors/all-contributors#emoji-key
[emojione]: https://www.emojione.com/emoji/1f9e
16 changes: 8 additions & 8 deletions ROADMAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,49 +2,49 @@

## Interactive HTML Preview

_Status: Shipped at May 23, 2020 ([#2](https://github.com/smeijer/testing-playground/issues/2))_
_Status: Shipped at May 23, 2020 ([#2](https://github.com/testing-library/testing-playground/issues/2))_

The html preview tab should be made interactive. In such a way that one can hover elements and see the recommended query. When clicking on the link, the query should applied to the editor, like the various query buttons do.

## Update Readme.md

_Status: Shipped at May 25, 2020 ([#23](https://github.com/smeijer/testing-playground/pull/23))_
_Status: Shipped at May 25, 2020 ([#23](https://github.com/testing-library/testing-playground/pull/23))_

We don't have any instructions on how to get the thing started at localhost, or how to contribute. This should be made crystal clear.

_Status: Shipped at May 24, 2020 ([#14](https://github.com/smeijer/testing-playground/issues/4))_
_Status: Shipped at May 24, 2020 ([#14](https://github.com/testing-library/testing-playground/issues/4))_

Also, I have no idea how it works, but I know we need to use emoji-key to list contributors in the readme. Is that an automated thing?

## Add tests

_Status: Ongoing ([#7](https://github.com/smeijer/testing-playground/issues/7))_
_Status: Ongoing ([#7](https://github.com/testing-library/testing-playground/issues/7))_

A [testing-playground.com] without tests... I don't think that should be a thing, but at this moment it is.

We should fix that, and use jest & testing-library to do it.

## Usage instructions

_Status: In backlog ([#8](https://github.com/smeijer/testing-playground/issues/8))_
_Status: In backlog ([#8](https://github.com/testing-library/testing-playground/issues/8))_

Do we need some instructions on how to use the tool? I'm not sure about this yet, but if we do, it should be added to the playground itself. Not just a markdown on github.

## Embeddable

_Status: Shipped at May 28, 2020 ([#9](https://github.com/smeijer/testing-playground/issues/9))_
_Status: Shipped at May 28, 2020 ([#9](https://github.com/testing-library/testing-playground/issues/9))_

How awesome would it be if we had an embed-mode, so users can embed the playground in the blogs they write about testing / testing-library?

## Support User-Event

_Status: In backlog ([#10](https://github.com/smeijer/testing-playground/issues/10))_
_Status: In backlog ([#10](https://github.com/testing-library/testing-playground/issues/10))_

I haven't worked out the details, but enabling users to play with [user-event]s would awesome. Perhaps together with adding support for [HTML mixed mode]?

## DevTools!

_Status: In progress ([#11](https://github.com/smeijer/testing-playground/issues/11))_
_Status: In progress ([#11](https://github.com/testing-library/testing-playground/issues/11))_

I believe we can wrap this project into a chrome extension. That way people can use the thing on their own sites, without needing to copy / paste html fragments. How awesome would that be?!

Expand Down
9 changes: 9 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@
"name": "testing-playground",
"version": "1.6.0",
"description": "Simple and complete DOM testing playground that encourage good testing practices.",
"author": "Stephan Meijer <stephan.meijer@gmail.com>",
"homepage": "https://testing-playground.com",
"repository": {
"type": "git",
"url": "https://github.com/testing-library/testing-playground"
},
"bugs": {
"url": "https://github.com/testing-library/testing-playground/issues"
},
"scripts": {
"start": "run-s start:client",
"start:client": "node ./scripts/build-client",
Expand Down
14 changes: 7 additions & 7 deletions src/components/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,33 +18,33 @@ function Footer() {
<a href="https://twitter.com/meijer_s">
<img
alt="Follow me on Twitter"
src="https://img.shields.io/twitter/url?label=Follow&style=social&url=https%3A%2F%2Ftwitter.com%2Fmeijer_s"
src="https://img.shields.io/twitter/url?label=@meijer_s&style=social&url=https%3A%2F%2Ftwitter.com%2Fmeijer_s"
/>
</a>

<a
className="github-button"
href="https://github.com/smeijer/testing-playground/issues"
href="https://github.com/testing-library/testing-playground/issues"
data-icon="octicon-issue-opened"
aria-label="Issue smeijer/testing-playground on GitHub"
aria-label="Issue testing-library/testing-playground on GitHub"
>
Issue
</a>

<a
className="github-button"
href="https://github.com/smeijer/testing-playground"
href="https://github.com/testing-library/testing-playground"
data-icon="octicon-star"
aria-label="Star smeijer/testing-playground on GitHub"
aria-label="Star testing-library/testing-playground on GitHub"
>
Star
</a>

<a
className="github-button"
href="https://github.com/smeijer/testing-playground/fork"
href="https://github.com/testing-library/testing-playground/fork"
data-icon="octicon-repo-forked"
aria-label="Fork smeijer/testing-playground on GitHub"
aria-label="Fork testing-library/testing-playground on GitHub"
>
Fork
</a>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function Header() {

<div className="flex items-center space-x-8">
<a
href="https://github.com/smeijer/testing-playground"
href="https://github.com/testing-library/testing-playground"
className="hover:underline"
>
GitHub
Expand Down
6 changes: 3 additions & 3 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
<meta property="image:alt" content="Testing Playground mascot Froggy" />

<!-- Facebook OpenGraph -->
<meta property="og:url" content="https://testing-playground.com/" />
<meta property="og:url" content="https://testing-playground.com" />
<meta property="og:type" content="website" />
<meta property="og:title" content="Testing Playground" />
<meta property="og:image" content="../public/site.jpg" />
Expand All @@ -77,7 +77,7 @@
<!-- Twitter OpenGraph -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:creator" content="@meijer_s" />
<meta name="twitter:url" content="https://testing-playground.com/" />
<meta name="twitter:url" content="https://testing-playground.com" />
<meta name="twitter:title" content="Testing Playground" />
<meta
name="twitter:description"
Expand All @@ -86,7 +86,7 @@
<meta name="twitter:image" content="../public/site.jpg" />
<meta name="twitter:image:alt" content="Testing Playground" />

<!-- Chrome Webstore
<!-- Chrome Webstore
<link rel="chrome-webstore-item" href="https://chrome.google.com/webstore/detail/APP_ID" />
-->

Expand Down