{"id":23843850,"url":"https://github.com/ngduc/better-pull-request","last_synced_at":"2026-02-08T16:03:42.818Z","repository":{"id":147916112,"uuid":"54003494","full_name":"ngduc/better-pull-request","owner":"ngduc","description":"Better comment styles for Github Pull Request.","archived":false,"fork":false,"pushed_at":"2016-03-16T20:09:53.000Z","size":868,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-26T09:05:20.120Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ngduc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-03-16T05:30:56.000Z","updated_at":"2016-03-16T12:19:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"3d4d9e61-0f72-420b-860c-bf785e6d8db9","html_url":"https://github.com/ngduc/better-pull-request","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ngduc/better-pull-request","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngduc%2Fbetter-pull-request","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngduc%2Fbetter-pull-request/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngduc%2Fbetter-pull-request/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngduc%2Fbetter-pull-request/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ngduc","download_url":"https://codeload.github.com/ngduc/better-pull-request/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngduc%2Fbetter-pull-request/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29236146,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-08T14:18:14.570Z","status":"ssl_error","status_checked_at":"2026-02-08T14:18:14.071Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-02T19:51:23.302Z","updated_at":"2026-02-08T16:03:42.772Z","avatar_url":"https://github.com/ngduc.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# better-pull-request\n\nBetter comment styles for Github Pull Request (PR).\n\nNote that this is still an experiment at this time. \n\n# What ?\n\nFrom this style:\n\n\u003cimg src=\"https://github.com/ngduc/better-pull-request/blob/master/docs/assets/demo-before.png\" border=\"1\"\u003e\n\nTo this:\n\n\u003cimg src=\"https://github.com/ngduc/better-pull-request/blob/master/docs/assets/demo-after.png\" border=\"1\"\u003e\n\n## Features\n\n* Side comments so you can read the code without distractions\n* Cleaner comment style\n* Mouse over a comment to expand it \n\n# How ?\n\nFor now, [Stylish](https://chrome.google.com/webstore/detail/stylish/fjnbnpbmkenffdnngjfgmeleoegfcffe?hl=en) is used to modify CSS of the Pull Request Diff Page\n\nStylish URL Regex to match with PR pages:\n\n```\n(?=.*?github.com.*?\\/pull/).*\n```\n\nStylish CSS:\n\n```\n.file-diff-split .js-inline-comments-container {\n    left: 410px !important;\n    right: 0;\n}\n\n.file-diff-split .js-inline-comments-container .line-comments {\n\tmargin-left: 0px;\n\tposition: absolute;\n}\n\n.js-inline-comments-container {\n    position: absolute;\n    z-index: 1;\n    left: -200px;\n    margin-top: -10px;\n    border-top: 2px solid #ccc;\n    width: 300px;\n    background: transparent;\n}\n.js-inline-comments-container .line-comments {\n    border: none !important;\n}\n.js-inline-comments-container .btn\n{\n    font-size: 12px;\n    font-weight: normal;\n    line-height: inherit;\n}\n.js-inline-comments-container:hover {\n    z-index: 2;\n    border-top: 3px solid blue;\n}\n.timeline-comment-header {\n    visibility: hidden;\n    height: 15px;\n}\n.timeline-comment-header .avatar {\n    visibility: visible;\n}\n.timeline-comment-header .author {\n    visibility: visible;\n    position: absolute;\n    left: 40px;\n    margin-top: 2px;\n}\n.timeline-comment-header .timestamp {\n\tvisibility: visible;\n    position: absolute;\n    right: 5px;\n    top: 0;\n}\n\n.diff-table .line-comments {\n    padding: 0;\n}\n.inline-comment-form-actions {\n    margin-top: -10px;\n}\n.inline-comments .empty-cell {\n    background: transparent;\n}\n```\n\n## Contributing\n\nPR and issues reporting are always welcome :)\n\nFollow [CONTRIBUTING.md](CONTRIBUTING.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fngduc%2Fbetter-pull-request","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fngduc%2Fbetter-pull-request","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fngduc%2Fbetter-pull-request/lists"}