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

[FEATURE] Add resizable columns and resizable vertical areas #203

Closed
ozmium opened this issue Jun 23, 2024 · 5 comments
Closed

[FEATURE] Add resizable columns and resizable vertical areas #203

ozmium opened this issue Jun 23, 2024 · 5 comments
Assignees

Comments

@ozmium
Copy link

ozmium commented Jun 23, 2024

[FEATURE] Add resizable columns and resizable vertical areas

Summary

SourceGit is great, but many parts of the User Interface (UI) cannot be resized or customized to the user's preferred width or height. This causes large usability problems, because text is truncated, even if it's a small amount of text, and it's not possible to see all the words or sentences.

SourceGit_bugs_resizable_columns_and_vertical_areas_are_needed

Steps to reproduce the bugs

  1. Launch SourceGit and load a typical Git repository, for example, see the screenshot.
  2. In the list of Git commits, try to view the full name and email address of a committer. Try to resize the column to be bigger or smaller.
  3. In the list of Git commits, try to view the full SHA Git ID of each commit. I want to see more than 10 characters. Try to resize the column to be bigger or smaller.
  4. In the MESSAGE area that shows the Git commit message, try to display 10 lines of the Git commit message, by resizing it.
  5. In the list of file changes of a Git commit, at the bottom, try to show more than 10 files in the list, by resizing it.

Expected Result

  • I should be able to resize all the columns mentioned above. (Also shown in the screenshot)

Actual Result

  • In the list of Git commits, the full name and email address cannot be seen, because the column is too small and it cannot be resized. It can only show about 6-10 characters maximum.
  • In the list of Git commits, the full SHA Git ID cannot be seen, because the column is too small and it cannot be resized.
  • In the MESSAGE area that shows the Git commit message, it will only show 2 lines, and it cannot be resized bigger or smaller. It's also impossible to select text across multiple lines.
  • In the list of file changes of a Git commit, I can only see about 2-3 lines, even when the window is full screen. The file list cannot be resized.

Impact

  • Usability problems - truncated text, cannot see the full words.
  • Non-customizable UI.
  • The UI does not adapt to different screen sizes or different window sizes.
  • Space is wasted in some places.
@love-linger
Copy link
Collaborator

duplicated of #194

@love-linger
Copy link
Collaborator

image

The information page shows the details of selected commit. The solution shows in your picture above is more likely to result in incomplete information presentation, especially if you're using a horizontal layout:

image

@love-linger love-linger self-assigned this Jun 24, 2024
@love-linger
Copy link
Collaborator

The commit SHA in list is not displayed incomplete, but displayed in abbreviated way. This is a common way to display commits in list. For example, this is the histories of a branch on Github:

image

@ozmium
Copy link
Author

ozmium commented Jun 24, 2024

image

The information page shows the details of selected commit. The solution shows in your picture above is more likely to result in incomplete information presentation, especially if you're using a horizontal layout:

image

Thanks for responding.

There will always be incomplete information displayed for any layout used, whether it's the horizontal layout or the vertical layout. In the example screenshot above in the Git history list on the left, it shows very heavily truncated Git messages, where only 24 characters are displayed. That's not enough for most people.

The important thing is that every user has different preferences for how they want this data to be displayed. Sometimes a user wants to see the long Git messages. Other times, they want to see the full name + email address of the committer.

That's why all of these things should be resizable, so that the user can choose which columns they want to see more or less of, at any time.

Everything needs to be resizable so that the user can change the display of data at any time.

The sidebar on the left is resizable (the place that shows "WORKSPACE" , "LOCAL BRANCHES" and so on). Please add the resize ability to all the other places.

@ozmium
Copy link
Author

ozmium commented Jul 10, 2024

Thanks for adding these new features 👍. I tested them on SourceGit version 8.20 (from 8 July 2024) and they work great! Well done. 😎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants