Skip to content

Minor refractors to improve DX #1023

Merged
alexis-opolka merged 22 commits into
denisidoro:masterfrom
emma31-dev:test_changes
Apr 13, 2026
Merged

Minor refractors to improve DX #1023
alexis-opolka merged 22 commits into
denisidoro:masterfrom
emma31-dev:test_changes

Conversation

@emma31-dev

Copy link
Copy Markdown
Contributor

I had made a few code refractors that doesn't much affect the working of Navi. I did the following:

  • In git.rs: i added better support for other git providers and error message on invalid link. i also added more test cases
  • In clipboard.rs: i changed module import from importing the whole prelude.rs to just anyhow::Result that is being used
  • In fs.rs: i implemented modern practices by importing just the used fuctions and not the whole std::fs(not that important)

TY :)

@welcome

welcome Bot commented Apr 5, 2026

Copy link
Copy Markdown

Thanks for opening this pull request!

@emma31-dev
emma31-dev requested a review from denisidoro as a code owner April 5, 2026 23:47
@alexis-opolka
alexis-opolka requested review from alexis-opolka and removed request for denisidoro April 6, 2026 11:39
@alexis-opolka

Copy link
Copy Markdown
Collaborator

Hi @emma31-dev ,
Thanks! I'll take a look at it when I have some free time during the week. ^-^

@emma31-dev

Copy link
Copy Markdown
Contributor Author

Yoo
Another hing ...
are you guys planning of updating the depencies and rustc to the stable 2024 version. @alexis-opolka and @denisidoro

@alexis-opolka alexis-opolka left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@alexis-opolka

Copy link
Copy Markdown
Collaborator

Yoo Another hing ... are you guys planning of updating the depencies and rustc to the stable 2024 version.

I think we could, I haven't yet looked into it. Would you need something out of the new features of the 2024 version?
I'll look into it in the following weeks, I'll have a bit more free time to give to navi.

And sorry for the wait, once again. ^^

@alexis-opolka

Copy link
Copy Markdown
Collaborator

Could you please look into the failing test? @emma31-dev

I'll merge the PR once the test passes.

@emma31-dev

Copy link
Copy Markdown
Contributor Author

Ok I'll look into it today

@emma31-dev

Copy link
Copy Markdown
Contributor Author

OMG
lemme see if i can tackle all today

@alexis-opolka

alexis-opolka commented Apr 13, 2026

Copy link
Copy Markdown
Collaborator

That seems ok to me, that specific bash test fails since months.

Would you like me to merge it now?

@emma31-dev

Copy link
Copy Markdown
Contributor Author

That seems ok to me, that specific bash test fails since months.

Would you like me to merge it now?

yeah merge it. i was thinking of adding more test cases later thou 😁

@alexis-opolka

Copy link
Copy Markdown
Collaborator

I'm always for adding tests, don't hesitate to spin up a PR later on if you'd like. ^-^

@alexis-opolka
alexis-opolka merged commit 1ac218c into denisidoro:master Apr 13, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants