Repository navigation
Update cloudamqp instance list to handle long names - #12
Merged
Merged
Conversation
This should be fine, names are not allowed to exceed 100 characters. From Claude: 1. Added dynamic column width calculation: The code now scans through all instances first to determine the maximum width needed for each column (ID, NAME, PLAN, REGION). 2. Added padding: Each column gets an extra 2 spaces of padding for better readability. 3. Dynamic format strings: Instead of using fixed-width format specifiers (like %-20s), the code now generates format strings based on the actual data, ensuring perfect alignment regardless of content length. Co-authored-by: Claude <noreply@anthropic.com>
dentarg
force-pushed
the
instance-list-alignment
branch
from
November 25, 2025 11:16
71aa184 to
7d5dfbb
Compare
jage
approved these changes
Nov 25, 2025
Member
|
Should we look at all lists? VPC should have the same issue? |
Member
Author
|
Yes we should :) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This should be fine, names are not allowed to exceed 100 characters.
From Claude:
Close #10