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

Missing device preview #2915

Closed
codefiles opened this issue Nov 23, 2024 · 0 comments · Fixed by #2919
Closed

Missing device preview #2915

codefiles opened this issue Nov 23, 2024 · 0 comments · Fixed by #2919

Comments

@codefiles
Copy link
Contributor

There is no longer a device preview that shows existing partitions.

With commit 88b91ae, select_devices() no longer utilizes the _preview_device_selection() function.

def _preview_device_selection(selection: disk._DeviceInfo) -> str | None:
dev = disk.device_handler.get_device(selection.path)
if dev and dev.partition_infos:
return FormattedOutput.as_table(dev.partition_infos)
return None

@svartkanin, leaving this one to you.

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 a pull request may close this issue.

1 participant