-
Notifications
You must be signed in to change notification settings - Fork 0
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
Feature tweet popup #32
Conversation
Visit the preview URL for this PR (updated for commit 768d57f): https://nounsmap-web-dev--pr32-feature-tweet-popup-gw4jh0yj.web.app (expires Thu, 21 Jul 2022 23:02:57 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 |
const openTweetPopup = (photoId: string) => { | ||
const url = 'https://twitter.com/intent/tweet?url=https://' + nounsMapConfig.hostName + '/p/' + photoId; | ||
const width = 400, height = 300; | ||
const params = `scrollbars=no,resizable=no,status=no,location=no,toolbar=no,menubar=no, |
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.
yarn format の実行をお願いします
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.
ありがとうございます!
中島さんのiframeのpopup のイメージと同じかは自信がないのですが、
動作としては問題ないと思います。
@rtomitani 気になったので、 iframe で作るpopup の sample を探しました。 |
ご確認ありがとうございます! |
@kozayupapa |
@rtomitani ぜひ! このあたりもっとブラッシュアップできるんだろうなと思っておりました! |
@kozayupapa
とりあえず最初のコミットのポップアップ形式で良いでしょうか? |
@rtomitani 了解しました 確認、対応ありがとうございます! |
Shareボタン押下時に、Tweetのウィンドウを小さいポップアップで表示するようにしました。
(Slackで話題に出されていた件です)
これが想定されている仕様かわかりませんが、とりあえず作ってみました。