Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement a root check menu #927

Merged
merged 7 commits into from
Nov 11, 2024
Merged

Conversation

nnyyxxxx
Copy link
Contributor

@nnyyxxxx nnyyxxxx commented Nov 8, 2024

Type of Change

  • New feature

Description

implements a root check menu

this is a better implementation of the now closed #821
image

Testing

image

@nnyyxxxx
Copy link
Contributor Author

nnyyxxxx commented Nov 8, 2024

i'm open to suggestions, list them if you have any

tui/src/root.rs Outdated Show resolved Hide resolved
tui/src/state.rs Outdated Show resolved Hide resolved
@nnyyxxxx
Copy link
Contributor Author

nnyyxxxx commented Nov 8, 2024

we should be following the srp principle, not inherently simplifying everything possible

@adamperkowski adamperkowski added the enhancement New feature or request label Nov 8, 2024
@adamperkowski
Copy link
Collaborator

@ChrisTitusTech we need to fix the xtask workflow

@jeevithakannan2
Copy link
Contributor

jeevithakannan2 commented Nov 8, 2024

@ChrisTitusTech we need to fix the xtask workflow

No it's not broken. Someone didn't run xtask

@adamperkowski
Copy link
Collaborator

@ChrisTitusTech we need to fix the xtask workflow

No it's not broken. Someone didn't run xtask

Nope. The docs are now in a different repo. This workflow is useless.

@nnyyxxxx
Copy link
Contributor Author

nnyyxxxx commented Nov 8, 2024

i dropped the docs changes

@nnyyxxxx

This comment was marked as outdated.

@ChrisTitusTech ChrisTitusTech merged commit 7147ed9 into ChrisTitusTech:main Nov 11, 2024
5 checks passed
@nnyyxxxx nnyyxxxx deleted the root_check branch November 11, 2024 16:38
jeevithakannan2 pushed a commit to jeevithakannan2/linutil that referenced this pull request Nov 11, 2024
* implement a root check menu

* code needs to be readable

* rephrase it a lil bit

* disregard escalation tool variable if found as root

* refactor: Call root check from within AppState constructor (ChrisTitusTech#7)

* remove duplicate check

* add comment back

---------

Co-authored-by: Liam <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants