Add OpenGraph/Twitter tags for better sharing
Maintainer thường phản hồi trong vòng 8 ngày
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- javascript
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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">
- Ngôn ngữ chính
- JavaScript
- Star
- 21
- Fork
- 7
- Merge trung bình
- 7 ngày 6 giờ
- Pull request đã merge (30 ngày)
- 5
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của mozilla/ensemble
-
Fira Sans is still usedĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 8 ngày
-
Do not show all data by defaultĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
Maintainer thường phản hồi trong vòng 8 ngày
-
Update the Firefox logo in the faviconCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
Maintainer thường phản hồi trong vòng 8 ngày
-
Round or group RAM sizes?Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 42/100
mozilla/ensemble#440 · 1 reaction ·
Maintainer thường phản hồi trong vòng 8 ngày
-
Replace "Has Flash" in HW summaryCó thể đã có người làm @janbrasna đã nhận 41 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 52/100
mozilla/ensemble#439 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 8 ngày
Tất cả issue của mozilla/ensemble
Issue tương tự
-
cdx-audit output written to a pipe is cut off at 64 KiBCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mởbug mode:cli
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Build produces empty forge.min.js: package.json lists "forge" instead of "node-forge"Có thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Fei2411/DeepSeek-Bot#963 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Miaotofu01/Study-Mate#244 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
test-reliability
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Azure/azure-sdk-for-js#40672 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày