Skip to content

Custom columns#549

Merged
RumovZ merged 8 commits intomainfrom
custom-columns
Feb 8, 2026
Merged

Custom columns#549
RumovZ merged 8 commits intomainfrom
custom-columns

Conversation

@RumovZ
Copy link
Collaborator

@RumovZ RumovZ commented Feb 8, 2026

See #537.

I also fixed default widths not being applied after a new column was added. Unfortunately, there is no easy way to keep the header state in this case. It would seem the only solution is implementing state persistence ourselves.

Unrelatedly, I noticed scrolling the song list got a bit choppy. Profiling revealed a lot of time was spent looking up settings and checking file paths. Should run a bit smoother now.

@randompersona1
Copy link
Collaborator

randompersona1 commented Feb 8, 2026

Could we have a test that verifies that the returned order is correct?

Copy link
Collaborator

@randompersona1 randompersona1 left a comment

Choose a reason for hiding this comment

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

Love it!

def index(self) -> int:
return _ColumnRegistry.columns.index(self)

def val(self) -> ColumnValue:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Nitpick, but is there a reason to abbreviate here instead of writing value?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, value is already taken by Enum.value.

@RumovZ RumovZ merged commit e7807b7 into main Feb 8, 2026
4 checks passed
@RumovZ RumovZ deleted the custom-columns branch February 8, 2026 21:27
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.

3 participants

Comments