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

fix(view): Another alternative view #18

Merged
merged 1 commit into from Nov 16, 2023
Merged

Conversation

epage
Copy link
Collaborator

@epage epage commented Nov 15, 2023

This primarily is meant to be a simplification so its easier to add / remove content.
We can evaluate fancier formatting, like tables, later when we know more of what we want.

To simplify my work, I cut fields that I wasn't as sure of including.

I also wanted to take a small crack at some formatting changes so the new, plain view was easier to read.

Since I was touching formatting, I went ahead and applied my indentation suggestion.

This is by no means to say "this is THE design" but I think it helps move us in that direction.

image

This primarily is meant to be a simplification so its easier to add /
remove content.
We can evaluate fancier formatting, like tables, later when we know more
of what we want.

To simplify my work, I cut fields that I wasn't as sure of including.

I also wanted to take a small crack at some formatting changes so the
new, plain view was easier to read.

Since I was touching formatting, I went ahead and applied my indentation
suggestion.

This is by no means to say "this is THE design" but I think it helps
move us in that direction.
@epage epage force-pushed the layout branch 3 times, most recently from 1c8b8cf to 4d30a2f Compare November 15, 2023 22:41
Copy link
Owner

@hi-rustin hi-rustin left a comment

Choose a reason for hiding this comment

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

Looks good to me. Thank you so much!

write!(stdout, "{header}version:{reset} {}", package_id.version())?;
if let Some(latest) = summaries.iter().max_by_key(|s| s.version()) {
if latest.version() != package_id.version() {
write!(stdout, " {warn}(latest {}){reset}", latest.version())?;
Copy link
Owner

Choose a reason for hiding this comment

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

I like this one!

@hi-rustin hi-rustin merged commit 9ddf71a into hi-rustin:main Nov 16, 2023
9 checks passed
@epage epage deleted the layout branch November 16, 2023 01:42
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.

None yet

2 participants