-
Notifications
You must be signed in to change notification settings - Fork 59
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
Added support for slides.com #30
Added support for slides.com #30
Conversation
This comment has been minimized.
This comment has been minimized.
|
|
@MichaelDeBoey i tried with a different approach for checking if the url is valid or not, seems like its working, can you reviewing the code and adding more tests if necessary? (maybe needs some refactoring because i just wanted to make sure it works at first) EDIT: also did manual testing, seems to be working fine, valid ones also works fine with extra query params |
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.
Hi @anuraghazra!
Thanks for taking the time to implement the @slides transformer.
@hakimel commented on Twitter for all the possible formats.
https://twitter.com/hakimel/status/1182724020824883202
Please also rebase on latest |
@MichaelDeBoey i will try to do above changes as soon as possible when i get some time. |
20586b6
to
32ce4aa
Compare
@MichaelDeBoey fixed the /embed#1 hash issues check it out. |
32ce4aa
to
447a0d8
Compare
447a0d8
to
8b0b586
Compare
Don't know what happened there, it automatically says merged master. and my own commit msg doesn't show up. (something is wrong with my branch, or maybe i'm doing something wrong) whatever, i pushed the changes. 😃 |
8b0b586
to
c68152a
Compare
@anuraghazra I rebased your branch on |
What else should i do? 🤔 |
@anuraghazra I've updated the tests. |
Okay! i will cover the tests. 😄 |
Hey @MichaelDeBoey just wondering if its possible to create a slide named "embed"? https://team.slides.com/teamname/embed EDIT: okay it is possible https://slides.com/anuraghazra/embed/embed#/ |
e8393dc
to
92a3511
Compare
92a3511
to
2d1732e
Compare
i changed this, i think if we provide www it should not remove www from url FAIL src/__tests__/Slides.js
[test] ● get Slides iframe url › user Deck url having 'www' subdomain
[test] Expected: "https://slides.com/kentcdodds/oss-we-want/embed"
[test] Received: "https://www.slides.com/kentcdodds/oss-we-want/embed" |
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.
@anuraghazra I've rebased onto upstream/master
again.
Still 1 tests that fails tho. 😕
Also left some comments
@anuraghazra Since we remove the |
2d1732e
to
a14d683
Compare
@MichaelDeBoey okay updated the code, well i did not noticed that you updated some code in master branch. |
9dc77d4
to
6a960e7
Compare
@MichaelDeBoey 🤔 why tests are not running? curious! |
@MichaelDeBoey done! |
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.
@anuraghazra One last remark and this one's good to merge 🙂
c603994
to
3f36ab0
Compare
oh wait we should also remove |
@anuraghazra I'm not in favor of doing that right now tbh. We can still change that on a later moment. |
Okay no problem, let it be as it is. |
8ae2f59
to
71e8e2f
Compare
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.
Thanks for taking the time to implement the Slides transformer @anuraghazra! 👊
I just rebased your branch onto upstream/master
, made getSlidesIFrameSrc
a bit clearer and added a comment to getTrimmedPathName
so people don't have to figure out what the regex is doing.
🎉 This PR is included in version 1.4.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
What:
Added support for slides.com
Why:
closes #8
Checklist: