Title: Github plugin mangles unstaged changes/diff buffer · Issue #40 · pulsar-edit/github · GitHub
Open Graph Title: Github plugin mangles unstaged changes/diff buffer · Issue #40 · pulsar-edit/github
X Title: Github plugin mangles unstaged changes/diff buffer · Issue #40 · pulsar-edit/github
Description: Thanks in advance for your bug report! Have you reproduced issue in safe mode? Have you used the debugging guide to try to resolve the issue? Have you checked our FAQs to make sure your question isn't answered there? Have you checked to ...
Open Graph Description: Thanks in advance for your bug report! Have you reproduced issue in safe mode? Have you used the debugging guide to try to resolve the issue? Have you checked our FAQs to make sure your question is...
X Description: Thanks in advance for your bug report! Have you reproduced issue in safe mode? Have you used the debugging guide to try to resolve the issue? Have you checked our FAQs to make sure your question is...
Opengraph URL: https://github.com/pulsar-edit/github/issues/40
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Github plugin mangles unstaged changes/diff buffer","articleBody":"### Thanks in advance for your bug report!\r\n\r\n- [X] Have you reproduced issue in [safe mode](https://pulsar-edit.dev/docs/atom-archive/faq/sections/what-does-safe-mode-do.html)?\r\n- [X] Have you used the [debugging guide](https://pulsar-edit.dev/docs/atom-archive/hacking-atom/#debugging) to try to resolve the issue?\r\n- [X] Have you checked our [FAQs](https://pulsar-edit.dev/docs/launch-manual/sections/faq/) to make sure your question isn't answered there?\r\n- [X] Have you checked to make sure your issue does not already [exist](https://github.com/issues?q=is%3Aissue+user%3Apulsar-edit+is%3Aopen)?\r\n- [X] Have you checked you are on the latest release of Pulsar?\r\n\r\n### What happened?\r\n\r\nThe git diff is mangled when toggling between buffers and clicking on the unstaged changes for a file on the right side git bar.\r\n\r\n### Pulsar version\r\n\r\n1.112.1\r\n\r\n### Which OS does this happen on?\r\n\r\n🐧 Debian based (Linux Mint, Ubuntu, etc.)\r\n\r\n### OS details\r\n\r\nUbuntu 22.04\r\n\r\n### Which CPU architecture are you running this on?\r\n\r\nx86_64/AMD64\r\n\r\n### What steps are needed to reproduce this?\r\n\r\n1) Create a new git repo with a single file\r\n2) Make a commit so you can see git diff changes\r\n3) Modify the file with about 10 new lines\r\n4) Open unstaged changes diff for file Pulsar github plugin toolbar on the right\r\n5) Toggle between buffers (open file and gif diff)\r\n6) Open unstaged changes diff for file Pulsar github plugin toolbar on the right (again)\r\n7) Toggle between buffers (open file and gif diff)\r\n8) git diff should be mangled\r\n\r\n\r\n### Additional Information:\r\n\r\n\r\n\r\n\r\nYou may have to click back and forth a few times, it essentially looks like line numbers and changes are not shifted down correctly. I feel like it is easier to reproduce when the diff is larger (it happens every time). This does not happen on Atom, so it may be a regression from recent changes.\r\n","author":{"url":"https://github.com/mraleson","@type":"Person","name":"mraleson"},"datePublished":"2023-12-23T10:05:00.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":10},"url":"https://github.com/40/github/issues/40"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:93433879-574e-4baf-8991-94cdbd8cf806 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E836:29748D:3167F72:4287F89:6A5DC5F5 |
| html-safe-nonce | a63ba5ab9345d620d27cef89f78de57a3a86c21d93a66eb3952e700f7be22193 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFODM2OjI5NzQ4RDozMTY3RjcyOjQyODdGODk6NkE1REM1RjUiLCJ2aXNpdG9yX2lkIjoiMjEwOTE2MDE3NjI5MzM2NTIzNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 315fa1ee40895aee06d8fe433d95e09250a7ee49e31e3f1be3dc0c0b8ebd7681 |
| hovercard-subject-tag | issue:2054740111 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/pulsar-edit/github/40/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0c213d8abdeffea6d9772e4773a8327373db00c3e66ec1a9fa8cf3dc231fff56/pulsar-edit/github/issues/40 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0c213d8abdeffea6d9772e4773a8327373db00c3e66ec1a9fa8cf3dc231fff56/pulsar-edit/github/issues/40 |
| og:image:alt | Thanks in advance for your bug report! Have you reproduced issue in safe mode? Have you used the debugging guide to try to resolve the issue? Have you checked our FAQs to make sure your question is... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mraleson |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-preview |
| go-import | github.com/pulsar-edit/github git https://github.com/pulsar-edit/github.git |
| octolytics-dimension-user_id | 108445160 |
| octolytics-dimension-user_login | pulsar-edit |
| octolytics-dimension-repository_id | 513687698 |
| octolytics-dimension-repository_nwo | pulsar-edit/github |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 46155786 |
| octolytics-dimension-repository_parent_nwo | atom/github |
| octolytics-dimension-repository_network_root_id | 46155786 |
| octolytics-dimension-repository_network_root_nwo | atom/github |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width