Proper ellipsis truncation of set names #443
Merged
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.
Does this PR close any open issues?
Closes #355
Give a longer description of what this PR addresses and why it's needed
Ensures that an ellipsis is used to truncate set names when the length exceeds the size of the set label above the membership matrix.
Provide pictures/videos of the behavior before and after these changes (optional)
Before:
![Screenshot 2025-01-27 at 1 37 50 PM](https://private-user-images.githubusercontent.com/58234814/407082494-13ee19a5-e17b-42b8-bf7f-5960dc55547d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MzIyNTgsIm5iZiI6MTczOTYzMTk1OCwicGF0aCI6Ii81ODIzNDgxNC80MDcwODI0OTQtMTNlZTE5YTUtZTE3Yi00MmI4LWJmN2YtNTk2MGRjNTU1NDdkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDE1MDU1OFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWIwMzgwYjY4MDYyMjZiYTc0NTBjNGM1NjFjYWNiZWJkMzhjNjdkNTdlM2ZmYzM5M2M2OGE3OTAxYzQ0N2FhYjImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.9BNHaO44PNVwqn-8dbNPOEmVDNnOy3QY464opxbEqCs)
After:
![Screenshot 2025-01-27 at 1 37 19 PM](https://private-user-images.githubusercontent.com/58234814/407082545-372060c9-3f42-4f68-bd65-4729ee5864a6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MzIyNTgsIm5iZiI6MTczOTYzMTk1OCwicGF0aCI6Ii81ODIzNDgxNC80MDcwODI1NDUtMzcyMDYwYzktM2Y0Mi00ZjY4LWJkNjUtNDcyOWVlNTg2NGE2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDE1MDU1OFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTYyZjE5NjExNDFlNzE5OGM2OGE4Mjc1ODkyZjRiMjU0ZWI2MmJmNmM3YjQ2MDFlN2JjZWFiM2EyM2VjOWQ2MzUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.8GlvBvnI1tMj52xotYPqpHki1yUsFw59oYc3BpvqqrY)
Have you added or updated relevant tests?