Fix side-by-side toggle for directory nodes#72
Merged
dlvhdr merged 1 commit intodlvhdr:mainfrom Jan 31, 2026
Merged
Conversation
tmeijn
pushed a commit
to tmeijn/dotfiles
that referenced
this pull request
Feb 2, 2026
This MR contains the following updates: | Package | Update | Change | |---|---|---| | [dlvhdr/diffnav](https://github.com/dlvhdr/diffnav) | minor | `v0.6.0` → `v0.8.1` | MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot). **Proposed changes to behavior should be submitted there as MRs.** --- ### Release Notes <details> <summary>dlvhdr/diffnav (dlvhdr/diffnav)</summary> ### [`v0.8.1`](https://github.com/dlvhdr/diffnav/releases/tag/v0.8.1) [Compare Source](dlvhdr/diffnav@v0.8.0...v0.8.1) Quick and small fix thanks to [@​pablospe](https://github.com/pablospe)! #### Changelog - [`dfb73a4`](dlvhdr/diffnav@dfb73a4) Fix side-by-side toggle for directory nodes ([#​72](dlvhdr/diffnav#72)) ### [`v0.8.0`](https://github.com/dlvhdr/diffnav/releases/tag/v0.8.0) [Compare Source](dlvhdr/diffnav@v0.7.0...v0.8.0) ### The Collapsible Release #### Directories Are Now Intractable The main feature of this release is that you can now collapse and expand directories! In addition you can view the diff for entire directories at once, as well as the entire diff if you're on the root node. <https://github.com/user-attachments/assets/eccf158c-5fb1-4af1-89a9-ad6c8ddbbe52> ### Diffstats Diff stats in the file tree show you the amount of changes to a file in a glance. This is on by default and you can turn it off by setting this in your config: ```yaml ui: showDiffStats: false ``` Enjoy! #### Changelog - [`297d8d0`](dlvhdr/diffnav@297d8d0) feat: diffstats - [`6e5d9c3`](dlvhdr/diffnav@6e5d9c3) feat: expand/collapse dirs ([#​70](dlvhdr/diffnav#70)) - [`9305af9`](dlvhdr/diffnav@9305af9) fix: add node cache so you can view collapsed nodes diff ([#​71](dlvhdr/diffnav#71)) - [`2d86e83`](dlvhdr/diffnav@2d86e83) refactor: use dirnode for dir nodes ([#​69](dlvhdr/diffnav#69)) ### [`v0.7.0`](https://github.com/dlvhdr/diffnav/releases/tag/v0.7.0) [Compare Source](dlvhdr/diffnav@v0.6.0...v0.7.0) ### New File Tree Infra + File Icons! v0.7.0 uses a new file tree under the hood that in the future will enable expanding/collapsing directories. Watch out for future updates. Also, star contributor [@​pablospe](https://github.com/pablospe) added support for file icons with this config option: ```yaml ui: icons: nerd-fonts-full ``` #### Changelog - [`580ed20`](dlvhdr/diffnav@580ed20) chore: update .gh-dash.yml - [`04b0c19`](dlvhdr/diffnav@04b0c19) feat: add configurable icon styles with nerd font support ([#​65](dlvhdr/diffnav#65)) - [`cc9c87c`](dlvhdr/diffnav@cc9c87c) refactor: rename filetreev2 to filetree ([#​67](dlvhdr/diffnav#67)) - [`52b6e4e`](dlvhdr/diffnav@52b6e4e) refactor: use tree bubble ([#​37](dlvhdr/diffnav#37)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this MR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box --- This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi45NS4xIiwidXBkYXRlZEluVmVyIjoiNDIuOTUuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiUmVub3ZhdGUgQm90IiwiYXV0b21hdGlvbjpib3QtYXV0aG9yZWQiLCJkZXBlbmRlbmN5LXR5cGU6Om1pbm9yIl19-->
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
SetSideBySidecalleddiffFiledirectly, which returns nil whenm.fileis nilm.diff()which dispatches todiffFileordiffDiras appropriate