fix(webui): stop column header resize glitch, closes #1242#1278
fix(webui): stop column header resize glitch, closes #1242#1278mohamadyasser118 wants to merge 4 commits intocybertec-postgresql:masterfrom
Conversation
Mazen050
left a comment
There was a problem hiding this comment.
Hello, @mohamadyasser118
While testing the branch, I noticed two new problems:
-
The
connection stringcolumn no longer resizes. -
When shrinking other columns so that the total column width becomes smaller than the grid container, the
connection stringcolumn automatically expands to fill the remaining space.
Because of this behavior, it becomes impossible to reach layouts like the one below, where unused space remains in the grid:
here the connection string column will expand to fill this gap
So the resizing behavior becomes inconsistent in these cases.
|
Hello, @Mazen050 Screen.Recording.2026-03-06.070021.mp4 |
37b65ce to
40a2b08
Compare
|
Check now |
|
When I check new code I understand nothing. Would you please explain in your own words (without AI) what are the changes, why you implemented it this way, what was wrong with previous implementation? |
Sure let's begain with the part of (defaultSizing), this part can make a conflict with the columns that have this moves us to the part of (columnSizing) which was dependant on (defaultSizing), Now the part of (saveToStorage) was deleted because all three handlers now call let's move to the part of (handleColumnVisibilityChange) (which was the core problem of glitching) the part of
when we move to the file of I just want to ensure that any AI assistance used to help understand and implement some of these changes I made sure to understand each change before applying it, and test it locally (as mentioned in AI Policy). That said, if you'd prefer to avoid any AI assistance going forward, I completely respect that and will do so. |


Description
This PR fixes a UI glitch where the column header resize interaction caused layout instability in the WebUI.
Fixes #1242
Before:
Bug.mp4
After:
fix.mp4
AI & Automation Policy
AI/automation tools used:
Drafted with the assistance of Claude Sonnet 4.6
Checklist