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

Fix history events overlay in the editor #13900

Merged
merged 1 commit into from
Feb 27, 2025

Conversation

meel-hd
Copy link
Contributor

@meel-hd meel-hd commented Feb 17, 2025

If it overlaps it will be scrollable in boundry.

@nijel
Copy link
Member

nijel commented Feb 20, 2025

I think the rendering for wide screens shout stay as it is now:

image

This pull request changes it to:

image

@meel-hd
Copy link
Contributor Author

meel-hd commented Feb 24, 2025

@nijel this layout structure is one of 2 reasons why the UI overlaps as mentioned in #13886. This updated version helps avoid this. I am not sure what a better solution could be?

@nijel
Copy link
Member

nijel commented Feb 24, 2025

Yes, but this could be again done only on smaller resolutions, doing that on wide screens just puts a lot of blank space into the view.

@meel-hd
Copy link
Contributor Author

meel-hd commented Feb 25, 2025

That's true, but I would argue whitespace is considered a good practice in UI design. It makes it feel less cramped or cluttered.

@nijel
Copy link
Member

nijel commented Feb 26, 2025

While it is sometimes a good practice, I doubt that it would be a good practice to fit half of he content to the screen:

image

versus

image

Another good practice is UI consistency, and you've changed rendering of changes, but the suggestions are still using the existing layout. We want CSS to be reusable and not that specific so that the same layout can be reused.

@meel-hd
Copy link
Contributor Author

meel-hd commented Feb 27, 2025

I see, I'll bring that layout back

In the editor. Made it scrollable if it overflows.

Close: WeblateOrg#13886
@meel-hd meel-hd force-pushed the fix-history-events-overlap-13886 branch from 62e4cb7 to 0e8204f Compare February 27, 2025 10:54
@meel-hd meel-hd requested a review from nijel February 27, 2025 10:56
@nijel nijel self-assigned this Feb 27, 2025
@nijel nijel added this to the 5.10.2 milestone Feb 27, 2025
@nijel nijel merged commit c35fa9e into WeblateOrg:main Feb 27, 2025
48 of 49 checks passed
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.

Events in the History tab of the full editor overlap with the String information panel
2 participants