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

Table formatting logic overhaul #305

Merged
merged 10 commits into from
Oct 19, 2023
Merged

Table formatting logic overhaul #305

merged 10 commits into from
Oct 19, 2023

Conversation

cyqsimon
Copy link
Collaborator

@cyqsimon cyqsimon commented Oct 16, 2023

Will fix #214. Will fix #276. Will fix #307.

  • Columns auto-expand and auto-shrink proportionally
  • Setting which columns to display with a given width constraint is done on a per-table basis
  • Necessary boilerplate to allow tables with more (or fewer) columns in the future
  • Optimise layout cutoff widths
  • Figure out what to do with the UI tests (see Fix flaky tests on the ci #303)

@cyqsimon
Copy link
Collaborator Author

Rebased.

@cyqsimon
Copy link
Collaborator Author

Rebased.

- Columns now auto-expand and auto-shrink proportionally
- Data column selection logic is now set per-table
- Necessary boilerplate added to allow tables with more (or fewer) columns in the future
- These values are pretty much arbitrary. I'm open to further optimising them in the future.
@cyqsimon
Copy link
Collaborator Author

Rebased.

@cyqsimon cyqsimon marked this pull request as ready for review October 19, 2023 08:52
@cyqsimon cyqsimon merged commit 0c4987a into main Oct 19, 2023
7 of 10 checks passed
@cyqsimon cyqsimon deleted the table-layout-rewrite branch October 20, 2023 06:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant