一些检查失败了
automerge / automerge (push) Has been cancelled
react-native-android-build-apk / AssembleRelease (push) Has been cancelled
Build macOS M1 / Main (push) Has been cancelled
Joplin Continuous Integration / Main (macos-15-intel) (push) Has been cancelled
Joplin Continuous Integration / Main (ubuntu-22.04) (push) Has been cancelled
Joplin Continuous Integration / Main (ubuntu-22.04-arm) (push) Has been cancelled
Joplin Continuous Integration / Main (windows-11-vs2026-arm) (push) Has been cancelled
Joplin Continuous Integration / Main (windows-2025) (push) Has been cancelled
Joplin Continuous Integration / ServerDockerImage (ubuntu-22.04) (push) Has been cancelled
Joplin Continuous Integration / ServerDockerImage (ubuntu-22.04-arm) (push) Has been cancelled
Joplin UI tests / Main (ubuntu-22.04) (push) Has been cancelled
Joplin UI tests / Main (windows-2025) (push) Has been cancelled
Joplin UI tests / Mobile (push) Has been cancelled
Close stale issues / ProcessStaleIssues (push) Has been cancelled
362 行
15 KiB
JSON
362 行
15 KiB
JSON
{
|
|
"issue": {
|
|
"url": "https://api.github.com/repos/laurent22/joplin/issues/12094",
|
|
"repository_url": "https://api.github.com/repos/laurent22/joplin",
|
|
"labels_url": "https://api.github.com/repos/laurent22/joplin/issues/12094/labels{/name}",
|
|
"comments_url": "https://api.github.com/repos/laurent22/joplin/issues/12094/comments",
|
|
"events_url": "https://api.github.com/repos/laurent22/joplin/issues/12094/events",
|
|
"html_url": "https://github.com/laurent22/joplin/pull/12094",
|
|
"id": 2991784629,
|
|
"node_id": "PR_kwDOBLftOs6Sa3U5",
|
|
"number": 12094,
|
|
"title": "Plugin API: expose hash from clicked cross-note link",
|
|
"user": {
|
|
"login": "executed",
|
|
"id": 36827253,
|
|
"node_id": "MDQ6VXNlcjM2ODI3MjUz",
|
|
"avatar_url": "https://avatars.githubusercontent.com/u/36827253?v=4",
|
|
"gravatar_id": "",
|
|
"url": "https://api.github.com/users/executed",
|
|
"html_url": "https://github.com/executed",
|
|
"followers_url": "https://api.github.com/users/executed/followers",
|
|
"following_url": "https://api.github.com/users/executed/following{/other_user}",
|
|
"gists_url": "https://api.github.com/users/executed/gists{/gist_id}",
|
|
"starred_url": "https://api.github.com/users/executed/starred{/owner}{/repo}",
|
|
"subscriptions_url": "https://api.github.com/users/executed/subscriptions",
|
|
"organizations_url": "https://api.github.com/users/executed/orgs",
|
|
"repos_url": "https://api.github.com/users/executed/repos",
|
|
"events_url": "https://api.github.com/users/executed/events{/privacy}",
|
|
"received_events_url": "https://api.github.com/users/executed/received_events",
|
|
"type": "User",
|
|
"user_view_type": "public",
|
|
"site_admin": false
|
|
},
|
|
"labels": [],
|
|
"state": "closed",
|
|
"locked": false,
|
|
"assignee": null,
|
|
"assignees": [],
|
|
"milestone": null,
|
|
"comments": 4,
|
|
"created_at": "2025-04-14T03:34:22Z",
|
|
"updated_at": "2025-04-14T12:44:02Z",
|
|
"closed_at": "2025-04-14T12:42:25Z",
|
|
"author_association": "CONTRIBUTOR",
|
|
"active_lock_reason": null,
|
|
"draft": false,
|
|
"pull_request": {
|
|
"url": "https://api.github.com/repos/laurent22/joplin/pulls/12094",
|
|
"html_url": "https://github.com/laurent22/joplin/pull/12094",
|
|
"diff_url": "https://github.com/laurent22/joplin/pull/12094.diff",
|
|
"patch_url": "https://github.com/laurent22/joplin/pull/12094.patch",
|
|
"merged_at": "2025-04-14T12:42:25Z"
|
|
},
|
|
"body": "## 📌 Description\r\n\r\nThis PR adds a new method to the plugin API:\r\n\r\n```ts\r\npublic async selectedNoteHash(): Promise<string>\r\n```\r\n\r\nThis method returns the **section hash** (i.e., the anchor ID) from a cross-note link, such as in the following format:\r\n\r\n```\r\n[Other Note Title](:/note-id#section-id)\r\n```\r\n\r\nIf the note was navigated via a cross-note link that includes a valid section hash, the method returns that hash (e.g., `\"section-id\"`). Otherwise, it returns an empty string.\r\n\r\n---\r\n\r\n## ✅ Motivation\r\n- **Cross-note navigation awareness**: Helps plugins differentiate between a standard note switch and a targeted jump to a section.\r\n- Currently, plugins can detect when a note changes, but not **which specific section** was targeted within that note. This enhancement makes that distinction possible by exposing the last navigated hash value via a stable method.\r\n\r\n## 🧠 Notes\r\n\r\n- The hash is updated after `onNoteSelectionChange()` is triggered.\r\n- It complements existing navigation APIs by adding **section-level granularity**.",
|
|
"closed_by": {
|
|
"login": "laurent22",
|
|
"id": 1285584,
|
|
"node_id": "MDQ6VXNlcjEyODU1ODQ=",
|
|
"avatar_url": "https://avatars.githubusercontent.com/u/1285584?v=4",
|
|
"gravatar_id": "",
|
|
"url": "https://api.github.com/users/laurent22",
|
|
"html_url": "https://github.com/laurent22",
|
|
"followers_url": "https://api.github.com/users/laurent22/followers",
|
|
"following_url": "https://api.github.com/users/laurent22/following{/other_user}",
|
|
"gists_url": "https://api.github.com/users/laurent22/gists{/gist_id}",
|
|
"starred_url": "https://api.github.com/users/laurent22/starred{/owner}{/repo}",
|
|
"subscriptions_url": "https://api.github.com/users/laurent22/subscriptions",
|
|
"organizations_url": "https://api.github.com/users/laurent22/orgs",
|
|
"repos_url": "https://api.github.com/users/laurent22/repos",
|
|
"events_url": "https://api.github.com/users/laurent22/events{/privacy}",
|
|
"received_events_url": "https://api.github.com/users/laurent22/received_events",
|
|
"type": "User",
|
|
"user_view_type": "public",
|
|
"site_admin": false
|
|
},
|
|
"reactions": {
|
|
"url": "https://api.github.com/repos/laurent22/joplin/issues/12094/reactions",
|
|
"total_count": 0,
|
|
"+1": 0,
|
|
"-1": 0,
|
|
"laugh": 0,
|
|
"hooray": 0,
|
|
"confused": 0,
|
|
"heart": 0,
|
|
"rocket": 0,
|
|
"eyes": 0
|
|
},
|
|
"timeline_url": "https://api.github.com/repos/laurent22/joplin/issues/12094/timeline",
|
|
"performed_via_github_app": null,
|
|
"state_reason": null
|
|
},
|
|
"comments": [
|
|
{
|
|
"url": "https://api.github.com/repos/laurent22/joplin/issues/comments/2800387547",
|
|
"html_url": "https://github.com/laurent22/joplin/pull/12094#issuecomment-2800387547",
|
|
"issue_url": "https://api.github.com/repos/laurent22/joplin/issues/12094",
|
|
"id": 2800387547,
|
|
"node_id": "IC_kwDOBLftOs6m6oXb",
|
|
"user": {
|
|
"login": "github-actions[bot]",
|
|
"id": 41898282,
|
|
"node_id": "MDM6Qm90NDE4OTgyODI=",
|
|
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
|
|
"gravatar_id": "",
|
|
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
|
|
"html_url": "https://github.com/apps/github-actions",
|
|
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
|
|
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
|
|
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
|
|
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
|
|
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
|
|
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
|
|
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
|
|
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
|
|
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
|
|
"type": "Bot",
|
|
"user_view_type": "public",
|
|
"site_admin": false
|
|
},
|
|
"created_at": "2025-04-14T03:34:36Z",
|
|
"updated_at": "2025-04-14T12:42:37Z",
|
|
"author_association": "CONTRIBUTOR",
|
|
"body": "****CLA Assistant Lite bot**** All contributors have signed the CLA ✍️ ✅",
|
|
"reactions": {
|
|
"url": "https://api.github.com/repos/laurent22/joplin/issues/comments/2800387547/reactions",
|
|
"total_count": 0,
|
|
"+1": 0,
|
|
"-1": 0,
|
|
"laugh": 0,
|
|
"hooray": 0,
|
|
"confused": 0,
|
|
"heart": 0,
|
|
"rocket": 0,
|
|
"eyes": 0
|
|
},
|
|
"performed_via_github_app": {
|
|
"id": 15368,
|
|
"client_id": "Iv1.05c79e9ad1f6bdfa",
|
|
"slug": "github-actions",
|
|
"node_id": "MDM6QXBwMTUzNjg=",
|
|
"owner": {
|
|
"login": "github",
|
|
"id": 9919,
|
|
"node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=",
|
|
"avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4",
|
|
"gravatar_id": "",
|
|
"url": "https://api.github.com/users/github",
|
|
"html_url": "https://github.com/github",
|
|
"followers_url": "https://api.github.com/users/github/followers",
|
|
"following_url": "https://api.github.com/users/github/following{/other_user}",
|
|
"gists_url": "https://api.github.com/users/github/gists{/gist_id}",
|
|
"starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}",
|
|
"subscriptions_url": "https://api.github.com/users/github/subscriptions",
|
|
"organizations_url": "https://api.github.com/users/github/orgs",
|
|
"repos_url": "https://api.github.com/users/github/repos",
|
|
"events_url": "https://api.github.com/users/github/events{/privacy}",
|
|
"received_events_url": "https://api.github.com/users/github/received_events",
|
|
"type": "Organization",
|
|
"user_view_type": "public",
|
|
"site_admin": false
|
|
},
|
|
"name": "GitHub Actions",
|
|
"description": "Automate your workflow from idea to production",
|
|
"external_url": "https://help.github.com/en/actions",
|
|
"html_url": "https://github.com/apps/github-actions",
|
|
"created_at": "2018-07-30T09:30:17Z",
|
|
"updated_at": "2025-03-07T16:35:00Z",
|
|
"permissions": {
|
|
"actions": "write",
|
|
"administration": "read",
|
|
"attestations": "write",
|
|
"checks": "write",
|
|
"contents": "write",
|
|
"deployments": "write",
|
|
"discussions": "write",
|
|
"issues": "write",
|
|
"merge_queues": "write",
|
|
"metadata": "read",
|
|
"models": "read",
|
|
"packages": "write",
|
|
"pages": "write",
|
|
"pull_requests": "write",
|
|
"repository_hooks": "write",
|
|
"repository_projects": "write",
|
|
"security_events": "write",
|
|
"statuses": "write",
|
|
"vulnerability_alerts": "read"
|
|
},
|
|
"events": [
|
|
"branch_protection_rule",
|
|
"check_run",
|
|
"check_suite",
|
|
"create",
|
|
"delete",
|
|
"deployment",
|
|
"deployment_status",
|
|
"discussion",
|
|
"discussion_comment",
|
|
"fork",
|
|
"gollum",
|
|
"issues",
|
|
"issue_comment",
|
|
"label",
|
|
"merge_group",
|
|
"milestone",
|
|
"page_build",
|
|
"project",
|
|
"project_card",
|
|
"project_column",
|
|
"public",
|
|
"pull_request",
|
|
"pull_request_review",
|
|
"pull_request_review_comment",
|
|
"push",
|
|
"registry_package",
|
|
"release",
|
|
"repository",
|
|
"repository_dispatch",
|
|
"status",
|
|
"watch",
|
|
"workflow_dispatch",
|
|
"workflow_run"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"url": "https://api.github.com/repos/laurent22/joplin/issues/comments/2800387987",
|
|
"html_url": "https://github.com/laurent22/joplin/pull/12094#issuecomment-2800387987",
|
|
"issue_url": "https://api.github.com/repos/laurent22/joplin/issues/12094",
|
|
"id": 2800387987,
|
|
"node_id": "IC_kwDOBLftOs6m6oeT",
|
|
"user": {
|
|
"login": "executed",
|
|
"id": 36827253,
|
|
"node_id": "MDQ6VXNlcjM2ODI3MjUz",
|
|
"avatar_url": "https://avatars.githubusercontent.com/u/36827253?v=4",
|
|
"gravatar_id": "",
|
|
"url": "https://api.github.com/users/executed",
|
|
"html_url": "https://github.com/executed",
|
|
"followers_url": "https://api.github.com/users/executed/followers",
|
|
"following_url": "https://api.github.com/users/executed/following{/other_user}",
|
|
"gists_url": "https://api.github.com/users/executed/gists{/gist_id}",
|
|
"starred_url": "https://api.github.com/users/executed/starred{/owner}{/repo}",
|
|
"subscriptions_url": "https://api.github.com/users/executed/subscriptions",
|
|
"organizations_url": "https://api.github.com/users/executed/orgs",
|
|
"repos_url": "https://api.github.com/users/executed/repos",
|
|
"events_url": "https://api.github.com/users/executed/events{/privacy}",
|
|
"received_events_url": "https://api.github.com/users/executed/received_events",
|
|
"type": "User",
|
|
"user_view_type": "public",
|
|
"site_admin": false
|
|
},
|
|
"created_at": "2025-04-14T03:35:03Z",
|
|
"updated_at": "2025-04-14T03:35:03Z",
|
|
"author_association": "CONTRIBUTOR",
|
|
"body": "I have read the CLA Document and I hereby sign the CLA",
|
|
"reactions": {
|
|
"url": "https://api.github.com/repos/laurent22/joplin/issues/comments/2800387987/reactions",
|
|
"total_count": 0,
|
|
"+1": 0,
|
|
"-1": 0,
|
|
"laugh": 0,
|
|
"hooray": 0,
|
|
"confused": 0,
|
|
"heart": 0,
|
|
"rocket": 0,
|
|
"eyes": 0
|
|
},
|
|
"performed_via_github_app": null
|
|
},
|
|
{
|
|
"url": "https://api.github.com/repos/laurent22/joplin/issues/comments/2801587411",
|
|
"html_url": "https://github.com/laurent22/joplin/pull/12094#issuecomment-2801587411",
|
|
"issue_url": "https://api.github.com/repos/laurent22/joplin/issues/12094",
|
|
"id": 2801587411,
|
|
"node_id": "IC_kwDOBLftOs6m_NTT",
|
|
"user": {
|
|
"login": "laurent22",
|
|
"id": 1285584,
|
|
"node_id": "MDQ6VXNlcjEyODU1ODQ=",
|
|
"avatar_url": "https://avatars.githubusercontent.com/u/1285584?v=4",
|
|
"gravatar_id": "",
|
|
"url": "https://api.github.com/users/laurent22",
|
|
"html_url": "https://github.com/laurent22",
|
|
"followers_url": "https://api.github.com/users/laurent22/followers",
|
|
"following_url": "https://api.github.com/users/laurent22/following{/other_user}",
|
|
"gists_url": "https://api.github.com/users/laurent22/gists{/gist_id}",
|
|
"starred_url": "https://api.github.com/users/laurent22/starred{/owner}{/repo}",
|
|
"subscriptions_url": "https://api.github.com/users/laurent22/subscriptions",
|
|
"organizations_url": "https://api.github.com/users/laurent22/orgs",
|
|
"repos_url": "https://api.github.com/users/laurent22/repos",
|
|
"events_url": "https://api.github.com/users/laurent22/events{/privacy}",
|
|
"received_events_url": "https://api.github.com/users/laurent22/received_events",
|
|
"type": "User",
|
|
"user_view_type": "public",
|
|
"site_admin": false
|
|
},
|
|
"created_at": "2025-04-14T12:42:17Z",
|
|
"updated_at": "2025-04-14T12:42:17Z",
|
|
"author_association": "OWNER",
|
|
"body": "That looks good to me, thank you for adding this!",
|
|
"reactions": {
|
|
"url": "https://api.github.com/repos/laurent22/joplin/issues/comments/2801587411/reactions",
|
|
"total_count": 1,
|
|
"+1": 0,
|
|
"-1": 0,
|
|
"laugh": 0,
|
|
"hooray": 0,
|
|
"confused": 0,
|
|
"heart": 1,
|
|
"rocket": 0,
|
|
"eyes": 0
|
|
},
|
|
"performed_via_github_app": null
|
|
},
|
|
{
|
|
"url": "https://api.github.com/repos/laurent22/joplin/issues/comments/2801591952",
|
|
"html_url": "https://github.com/laurent22/joplin/pull/12094#issuecomment-2801591952",
|
|
"issue_url": "https://api.github.com/repos/laurent22/joplin/issues/12094",
|
|
"id": 2801591952,
|
|
"node_id": "IC_kwDOBLftOs6m_OaQ",
|
|
"user": {
|
|
"login": "executed",
|
|
"id": 36827253,
|
|
"node_id": "MDQ6VXNlcjM2ODI3MjUz",
|
|
"avatar_url": "https://avatars.githubusercontent.com/u/36827253?v=4",
|
|
"gravatar_id": "",
|
|
"url": "https://api.github.com/users/executed",
|
|
"html_url": "https://github.com/executed",
|
|
"followers_url": "https://api.github.com/users/executed/followers",
|
|
"following_url": "https://api.github.com/users/executed/following{/other_user}",
|
|
"gists_url": "https://api.github.com/users/executed/gists{/gist_id}",
|
|
"starred_url": "https://api.github.com/users/executed/starred{/owner}{/repo}",
|
|
"subscriptions_url": "https://api.github.com/users/executed/subscriptions",
|
|
"organizations_url": "https://api.github.com/users/executed/orgs",
|
|
"repos_url": "https://api.github.com/users/executed/repos",
|
|
"events_url": "https://api.github.com/users/executed/events{/privacy}",
|
|
"received_events_url": "https://api.github.com/users/executed/received_events",
|
|
"type": "User",
|
|
"user_view_type": "public",
|
|
"site_admin": false
|
|
},
|
|
"created_at": "2025-04-14T12:44:01Z",
|
|
"updated_at": "2025-04-14T12:44:01Z",
|
|
"author_association": "CONTRIBUTOR",
|
|
"body": "@laurent22 thank you for review!",
|
|
"reactions": {
|
|
"url": "https://api.github.com/repos/laurent22/joplin/issues/comments/2801591952/reactions",
|
|
"total_count": 0,
|
|
"+1": 0,
|
|
"-1": 0,
|
|
"laugh": 0,
|
|
"hooray": 0,
|
|
"confused": 0,
|
|
"heart": 0,
|
|
"rocket": 0,
|
|
"eyes": 0
|
|
},
|
|
"performed_via_github_app": null
|
|
}
|
|
]
|
|
} |