Add OpenGraph/Twitter tags for better sharing
メンテナーはふだん 8 日以内に返信
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- javascript
調査の方向性
Start by inspecting the generated build/index.html shown in the issue and identify how that file is produced. Confirm where the document head is maintained before adding the requested description, OpenGraph, and Twitter metadata. Done means the generated page contains the intended sharing tags and the Facebook and Twitter validators show the expected values.
索引モデルが issue の本文から書いたものです。
説明
Here's a prettified version of the generated+minified build/index.html file:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no" />
<meta name="theme-color" content="#ffffff" />
<link rel="manifest" href="/manifest.json" />
<link rel="icon" type="image/png" sizes="196x196" href="/icons/favicon-196.png" />
<link rel="shortcut icon" href="/icons/favicon.ico" />
<title>Firefox Public Data Report</title>
<link href="/static/css/main.7337a89f.css" rel="stylesheet" />
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root" />
<script type="text/javascript" src="/static/js/main.25ecaea0.js" />
</body>
</html>
At a minimum, we should probably add a meta description tag, but the Facebook OpenGraph should probably add a few more og:* tags to be more "share" friendly. Similarly, here's the Twitter card validator: https://cards-dev.twitter.com/validator.
I think Open Graph/Facebook is able to infer some of the meta tags, but probably best to explicitly set them to the values you want/expect:
Based on the raw tags, we constructed the following Open Graph properties
NAME: VALUE: og:urlhttps://moz-ensemble.herokuapp.com/dashboard/user-activity og:typewebsite og:titleFirefox Public Data Report og:updated_time1523295522 og:description
Here's a random copy-pasta of a mozilla.org meta tags:
<meta name="description" content="Did you know? Mozilla — the maker of Firefox — fights to keep the Internet a global public resource, open and accessible to all.">
<meta property="og:type" content="website">
<meta property="og:site_name" content="Mozilla">
<meta property="og:locale" content="en_US">
<meta property="og:url" content="https://www.mozilla.org/en-US/">
<meta property="og:image" content="https://www.mozilla.org/media/img/mozorg/mozilla-256.4720741d4108.jpg">
<meta property="og:title" content="Internet for people, not profit">
<meta property="og:description" content="Did you know? Mozilla — the maker of Firefox — fights to keep the Internet a global public resource, open and accessible to all.">
<meta property="fb:page_id" content="262134952380">
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="@mozilla">
<meta name="twitter:domain" content="mozilla.org">
<meta name="twitter:app:name:googleplay" content="Firefox">
<meta name="twitter:app:id:googleplay" content="org.mozilla.firefox">
<meta name="twitter:app:name:iphone" content="Firefox">
<meta name="twitter:app:id:iphone" content="989804926">
<meta name="twitter:app:name:ipad" content="Firefox">
<meta name="twitter:app:id:ipad" content="989804926">
- 主要言語
- JavaScript
- スター
- 21
- フォーク
- 7
- 平均マージ
- 7日 6時間
- マージ済み PR(30日)
- 5
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
mozilla/ensemble のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 8 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
メンテナーはふだん 8 日以内に返信
-
Update the Firefox logo in the favicon対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
メンテナーはふだん 8 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
mozilla/ensemble#440 · リアクション 1 件 ·
メンテナーはふだん 8 日以内に返信
-
Replace "Has Flash" in HW summary対応中かも @janbrasna が 41 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 52/100
mozilla/ensemble#439 · コメント 1 件 ·
メンテナーはふだん 8 日以内に返信
mozilla/ensemble の issue をすべて見る
似ている issue
-
cdx-audit output written to a pipe is cut off at 64 KiB再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープンbug mode:cli
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
Build produces empty forge.min.js: package.json lists "forge" instead of "node-forge"対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
Fei2411/DeepSeek-Bot#963 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Miaotofu01/Study-Mate#244 ·
メンテナーはふだん 1 日以内に返信
-
test-reliability
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Azure/azure-sdk-for-js#40672 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信