You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
merge branch dev into master for 0.6.0.dev2 (#159)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **New Features**
* Added file_one MIME-based detection and improved previews
(image/pdf/archive) and deterministic path autocomplete sorting;
click-outside dismissal for many modals.
* **Bug Fixes**
* Prevent redundant directory changes in shell wrappers; clarified
notification severity wording; pinned sidebar deduplication and
accessibility checks; broader archive handling and extraction
improvements.
* **Documentation**
* Updated changelog, config/schema, plugin docs, project structure, and
contributing/PR templates.
* **Chores**
* Version bumped to v0.6.0.dev2 and dependency/typing/config cleanups.
<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Copy file name to clipboardExpand all lines: docs/src/content/docs/contributing/how-to-contribute.mdx
+21-31Lines changed: 21 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,20 +59,23 @@ for feature requests, ensure that you have these at minimum
59
59
#### pr checklist
60
60
61
61
```md
62
+
<!--describe your pull request-->
63
+
64
+
---
65
+
62
66
by sumbitting this pull request, i agree that
63
67
64
-
-[ ] i have run `ruff format` to format the code
65
-
-[ ] i have tested both the dev version and the built version of rovr
66
-
-[ ] cache, logs and others are not accidently added to git's tracking history
67
-
-[ ] my commits follow the conventional commits format
68
-
-[ ] the documentation has been updated if necessary
68
+
-[ ] i have run `poe check` to check for any style issues
69
+
-[ ] i have tested both the dev version (in venv) and the built version (uv build then install) of rovr
70
+
-[ ] cache, logs and others were not accidentally added to git's tracking history
71
+
-[ ] my commits follow the conventional commits format as much as possible
72
+
-[ ] the documentation has been updated wherever necessary
69
73
```
70
74
71
75
after making your necessary changes, you can run
72
76
73
77
```sh
74
-
uvx ruff format
75
-
uvx ty check . --ignore unresolved-import
78
+
$ uv run poe check
76
79
```
77
80
78
81
so that your code follows the defined style guide and is typed properly.
@@ -82,7 +85,7 @@ if you need help with conventional commits, [commitizen](https://github.com/comm
82
85
else, you can also run
83
86
84
87
```sh
85
-
uvx --from commitizen cz c
88
+
$ uvx --from commitizen cz c
86
89
```
87
90
88
91
### bugs
@@ -92,32 +95,20 @@ bugs can tend to be common, especially with a relatively new application.
92
95
<br/>if you want to create a new bug report, ensure that one doesn't already exist in the [list of issues](https://github.com/NSPC911/rovr/issues?q=sort%3Aupdated-desc+is%3Aissue+is%3Aopen)
93
96
<br/>if it doesn't exist, follow the format below
94
97
```md
95
-
### issue description
96
-
{describe what happened}
97
-
98
-
### steps to reproduce
99
-
100
-
{a step by step instruction}
101
-
{or a video with what keys you are pressing visualized}
102
-
103
-
### what is the expected result
98
+
### issue descripton
99
+
{describe what happened that resulted in the crash}
104
100
105
-
{expected result}
101
+
### how do you reproduce it?
102
+
{a step by step instruction on recreating the error, or a video with what keys you are pressing visualized}
106
103
107
-
### what actually happened
104
+
### what is the expected result of the steps?
105
+
{what should have been the expected results?}
108
106
109
-
{actual result}
110
-
111
-
### (opt) how this could be fixed
112
-
113
-
{a rough way of how this could be fixed}
114
-
{this can be left out}
115
-
116
-
### (opt) additional screenshots
117
-
118
-
{more screenshots to the issue}
119
-
{this can be left out if you have a video attached}
107
+
### what actually happened after doing the steps?
108
+
{show what actually happened after doing the steps. preferrably, paste the exception if the app had crashed.}
120
109
110
+
### how can this be fixed?
111
+
{how do you think this bug can be fixed?}
121
112
```
122
113
123
114
#### want to fix an issue?
@@ -128,4 +119,3 @@ yeah sure go ahead, the pr format is roughly similar to that of [feature additio
128
119
### feature request
129
120
feature requests can be done in the [discussions tab](https://github.com/NSPC911/rovr/discussions). a new request can be opened with the `Ideas` template.
130
121
<br/>you may also choose to mention it in the discord server. we might take a look at it either ways.
code={`rovr () {\n local cwd_file=$(mktemp -t rovr_cwd.XXXXXX)\n command rovr --cwd-file "$cwd_file" "$@"\n if [ -f "$cwd_file" ]; then\nlocal new_loc=$(cat "$cwd_file")\n if [ -n "$new_loc" ] && [ "$new_loc" != "$PWD" ]; then\n cd "$new_loc"\n fi\n rm -f "$cwd_file"\n fi\n}`}
30
30
lang="bash"
31
31
frame="code"
32
32
title=".bashrc / .zshrc"
33
33
/>
34
34
</TabItem>
35
35
<TabItemlabel="fish">
36
36
<Code
37
-
code={`function rovr\n set cwd_file (mktemp -t rovr_cwd.XXXXXX)\n command rovr --cwd-file "$cwd_file" $argv\n if test -f "$cwd_file"\ncd (cat "$cwd_file")\n rm -f "$cwd_file"\n end\nend`}
37
+
code={`function rovr\n set cwd_file (mktemp -t rovr_cwd.XXXXXX)\n command rovr --cwd-file "$cwd_file" $argv\n if test -f "$cwd_file"\nset new_loc (cat "$cwd_file")\n if test -n "$new_loc" -a "$new_loc" != "$PWD"\n cd "$new_loc"\n end\n rm -f "$cwd_file"\n end\nend`}
as much as it might be tempting, this will not work. i use helix <sub>btw</sub> and just like superfile, it just cannot launch the app. i'm not sure why, but it might be a conflict between terminal buffer areas.
Copy file name to clipboardExpand all lines: docs/src/content/docs/features/plugins.mdx
+36Lines changed: 36 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,6 +59,42 @@ uses [poppler](https://poppler.freedesktop.org) to preview PDF files
59
59
-**use_pdftocairo:** whether to use pdftocairo instead of pdftoppm (may help performance)
60
60
-**threads:** number of threads to use for processing PDF files (default is 1)
61
61
62
+
### file(1)
63
+
64
+
uses the [`file`](https://darwinsys.com/file/) command to detect file types by their content (MIME type) instead of relying solely on file extensions. this is useful for files without extensions or with incorrect extensions.
65
+
66
+
rovr automatically detects `file` in your `PATH`, or you can set the `YAZI_FILE_ONE` or `ROVR_FILE_ONE` (higher priority) environment variables to specify a custom path.
67
+
68
+
-**enable:**`plugins.file_one.enabled = true`
69
+
-**mime_rules:** map MIME type patterns to preview types. supports glob patterns (e.g., `text/*` matches `text/plain`, `text/html`, etc.)
0 commit comments