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

Submodules dialog: list is too narrow #4366

Closed
hsattler opened this issue Jan 17, 2018 · 4 comments · Fixed by #8525
Closed

Submodules dialog: list is too narrow #4366

hsattler opened this issue Jan 17, 2018 · 4 comments · Fixed by #8525
Labels
area: user experience 🤓 good first issue up-for-grabs Easy tasks for those looking to get involved. Refer to https://up-for-grabs.net/

Comments

@hsattler
Copy link

Do you want to request a feature or report a bug?

-> Bug

What is the current behavior?

When the dialog is show, the entry in the submodules list on the left side to not fit the table. For some, I can on see the elided prefix like "submodules/ABCD/..." multiple times. This makes the list rather useless.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.

You need a repository with submodules that have a longer path.

What is the expected behavior?

Adapt the table to the widht of the content or at least save the state so the user can arrange it as needed and it stays like that even when the user opens the dialog again.

Environment you encounter the issue:

  • GitExtensions version: 2.50.2
  • GIT version: 2.15.1.windows.2
  • OS version: Windows 7 Pro 64bit

Did this work in previous version of GitExtensions (which)?

(unknown)

@RussKie
Copy link
Member

RussKie commented Jan 17, 2018

Some screenshots would be nice, thanks

@gerhardol
Copy link
Member

You can change the size of the left panel (and the form), the size of the Name column will then be expanded.
The support for mono makes these interfaces hard to implement in a good way, no dynamic support in mono.

@hsattler
Copy link
Author

Sure, here is a dummy example:
2018-01-18 14_05_50-submodules

@gerhardol Sure I can resize it but next time I open the dialog, it is back to old size.

@RussKie
Copy link
Member

RussKie commented Jan 18, 2018 via email

gerhardol added a commit to gerhardol/gitextensions that referenced this issue Mar 4, 2018
Fixes gitextensions#4564
Fixes gitextensions#4387
Fixes gitextensions#4396

Depends on gitextensions#4562 gitextensions#4663 gitextensions#4365 gitextensions#4366 gitextensions#4367 gitextensions#4368
Submitted to allow review of the outcome to gitextensions#4564
Note: Due to the structure of tests in a separate class, it is very difficult to split this issue in several commits

Rewrote RevisionDiffController to make it possible to have some kind of tests. The tests are retrofitted to the current functionality as they are just testing the menu items and not the actions themselves. (The tests adds may more maintenance than they give benefits but the formal test coverage increases.)

Browse Diff:
Submodules actions available for multi select (gitextensions#4568)
Presents the Reset options for the correct parent in multi select situations
No longer differ between parent-child and first-second for Reset
Difftool: Describes A and B revisions in the menu
Difftool arguments depends on parent availability
Better detection of parents to A/B for diffs

Commit:
Limit DiffTool and FileHistory to tracked

FormDiff:
Limit FileHistory to Tracked
Use RevisionDiffController to align to Browse-Diff
gerhardol added a commit to gerhardol/gitextensions that referenced this issue Mar 6, 2018
Fixes gitextensions#4564
Fixes gitextensions#4387
Fixes gitextensions#4396

Depends on gitextensions#4562 gitextensions#4663 gitextensions#4365 gitextensions#4366 gitextensions#4367 gitextensions#4368
Submitted to allow review of the outcome to gitextensions#4564
Note: Due to the structure of tests in a separate class, it is very difficult to split this issue in several commits

Rewrote RevisionDiffController to make it possible to have some kind of tests. The tests are retrofitted to the current functionality as they are just testing the menu items and not the actions themselves. (The tests adds may more maintenance than they give benefits but the formal test coverage increases.)

Browse Diff:
Submodules actions available for multi select (gitextensions#4568)
Presents the Reset options for the correct parent in multi select situations
No longer differ between parent-child and first-second for Reset
Difftool: Describes A and B revisions in the menu
Difftool arguments depends on parent availability
Better detection of parents to A/B for diffs

Commit:
Limit DiffTool and FileHistory to tracked

FormDiff:
Limit FileHistory to Tracked
Use RevisionDiffController to align to Browse-Diff
gerhardol added a commit to gerhardol/gitextensions that referenced this issue Mar 6, 2018
Fixes gitextensions#4564
Fixes gitextensions#4387
Fixes gitextensions#4396

Depends on gitextensions#4562 gitextensions#4663 gitextensions#4365 gitextensions#4366 gitextensions#4367 gitextensions#4368
Submitted to allow review of the outcome to gitextensions#4564
Note: Due to the structure of tests in a separate class, it is very difficult to split this issue in several commits

Rewrote RevisionDiffController to make it possible to have some kind of tests. The tests are retrofitted to the current functionality as they are just testing the menu items and not the actions themselves. (The tests adds may more maintenance than they give benefits but the formal test coverage increases.)

Browse Diff:
Submodules actions available for multi select (gitextensions#4568)
Presents the Reset options for the correct parent in multi select situations
No longer differ between parent-child and first-second for Reset
Difftool: Describes A and B revisions in the menu
Difftool arguments depends on parent availability
Better detection of parents to A/B for diffs

Commit:
Limit DiffTool and FileHistory to tracked

FormDiff:
Limit FileHistory to Tracked
Use RevisionDiffController to align to Browse-Diff
gerhardol added a commit to gerhardol/gitextensions that referenced this issue Mar 7, 2018
Fixes gitextensions#4564
Fixes gitextensions#4387
Fixes gitextensions#4396

Depends on gitextensions#4562 gitextensions#4663 gitextensions#4365 gitextensions#4366 gitextensions#4367 gitextensions#4368
Submitted to allow review of the outcome to gitextensions#4564
Note: Due to the structure of tests in a separate class, it is very difficult to split this issue in several commits

Rewrote RevisionDiffController to make it possible to have some kind of tests. The tests are retrofitted to the current functionality as they are just testing the menu items and not the actions themselves. (The tests adds may more maintenance than they give benefits but the formal test coverage increases.)

Browse Diff:
Submodules actions available for multi select (gitextensions#4568)
Presents the Reset options for the correct parent in multi select situations
No longer differ between parent-child and first-second for Reset
Difftool: Describes A and B revisions in the menu
Difftool arguments depends on parent availability
Better detection of parents to A/B for diffs

Commit:
Limit DiffTool and FileHistory to tracked

FormDiff:
Limit FileHistory to Tracked
Use RevisionDiffController to align to Browse-Diff
@RussKie RussKie added this to the 2.51.x + 3.00 milestone Mar 10, 2018
gerhardol added a commit to gerhardol/gitextensions that referenced this issue Mar 10, 2018
Fixes gitextensions#4564
Fixes gitextensions#4387
Fixes gitextensions#4396

Depends on gitextensions#4562 gitextensions#4663 gitextensions#4365 gitextensions#4366 gitextensions#4367 gitextensions#4368
Submitted to allow review of the outcome to gitextensions#4564
Note: Due to the structure of tests in a separate class, it is very difficult to split this issue in several commits

Rewrote RevisionDiffController to make it possible to have some kind of tests. The tests are retrofitted to the current functionality as they are just testing the menu items and not the actions themselves. (The tests adds may more maintenance than they give benefits but the formal test coverage increases.)

Browse Diff:
Submodules actions available for multi select (gitextensions#4568)
Presents the Reset options for the correct parent in multi select situations
No longer differ between parent-child and first-second for Reset
Difftool: Describes A and B revisions in the menu
Difftool arguments depends on parent availability
Better detection of parents to A/B for diffs

Commit:
Limit DiffTool and FileHistory to tracked

FormDiff:
Limit FileHistory to Tracked
Use RevisionDiffController to align to Browse-Diff
gerhardol added a commit to gerhardol/gitextensions that referenced this issue Mar 10, 2018
Fixes gitextensions#4564
Fixes gitextensions#4387
Fixes gitextensions#4396

Depends on gitextensions#4562 gitextensions#4663 gitextensions#4365 gitextensions#4366 gitextensions#4367 gitextensions#4368
Submitted to allow review of the outcome to gitextensions#4564
Note: Due to the structure of tests in a separate class, it is very difficult to split this issue in several commits

Rewrote RevisionDiffController to make it possible to have some kind of tests. The tests are retrofitted to the current functionality as they are just testing the menu items and not the actions themselves. (The tests adds may more maintenance than they give benefits but the formal test coverage increases.)

Browse Diff:
Submodules actions available for multi select (gitextensions#4568)
Presents the Reset options for the correct parent in multi select situations
No longer differ between parent-child and first-second for Reset
Difftool: Describes A and B revisions in the menu
Difftool arguments depends on parent availability
Better detection of parents to A/B for diffs

Commit:
Limit DiffTool and FileHistory to tracked

FormDiff:
Limit FileHistory to Tracked
Use RevisionDiffController to align to Browse-Diff
gerhardol added a commit to gerhardol/gitextensions that referenced this issue Mar 11, 2018
Fixes gitextensions#4564
Fixes gitextensions#4387
Fixes gitextensions#4396

Depends on gitextensions#4562 gitextensions#4663 gitextensions#4365 gitextensions#4366 gitextensions#4367 gitextensions#4368
Submitted to allow review of the outcome to gitextensions#4564
Note: Due to the structure of tests in a separate class, it is very difficult to split this issue in several commits

Rewrote RevisionDiffController to make it possible to have some kind of tests. The tests are retrofitted to the current functionality as they are just testing the menu items and not the actions themselves. (The tests adds may more maintenance than they give benefits but the formal test coverage increases.)

Browse Diff:
Submodules actions available for multi select (gitextensions#4568)
Presents the Reset options for the correct parent in multi select situations
No longer differ between parent-child and first-second for Reset
Difftool: Describes A and B revisions in the menu
Difftool arguments depends on parent availability
Better detection of parents to A/B for diffs

Commit:
Limit DiffTool and FileHistory to tracked

FormDiff:
Limit FileHistory to Tracked
Use RevisionDiffController to align to Browse-Diff
gerhardol added a commit that referenced this issue Mar 18, 2018
* Browse Diff: Show differences for several selections
* Browse Diff tab menu alternatives and presentation

Fixes #4564
Fixes #4387
Fixes #4396

Depends on #4562 #4663 #4365 #4366 #4367 #4368

Rewrote RevisionDiffController to make it possible to have some kind of tests. The tests are retrofitted to the current functionality as they are just testing the menu items and not the actions themselves. (The tests adds may more maintenance than they give benefits but the formal test coverage increases.)

Browse Diff:
Submodules actions available for multi select (#4568)
Presents the Reset options for the correct parent in multi select situations
No longer differ between parent-child and first-second for Reset
Difftool: Describes Selected (B) and First (A) revisions in the menu
Difftool arguments depends on parent availability
Better detection of parents to A/B for diffs

Commit:
Limit DiffTool and FileHistory to tracked

FormDiff:
Limit FileHistory to Tracked
Use RevisionDiffController to align to Browse-Diff

* Extract common revision diff context menu logic into IRevisionDiffContextMenuController
@RussKie RussKie modified the milestones: 2.51.01 + 3.00, 2.51.x + 3.00 Mar 20, 2018
@RussKie RussKie removed this from the 2.51.03 + 3.00 milestone Jun 19, 2018
@RussKie RussKie added up-for-grabs Easy tasks for those looking to get involved. Refer to https://up-for-grabs.net/ 🤓 good first issue labels Jun 19, 2018
@ghost ghost added the 🚧 status: in progress Issues which have associated PRs label Oct 7, 2020
@ghost ghost removed the 🚧 status: in progress Issues which have associated PRs label Oct 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: user experience 🤓 good first issue up-for-grabs Easy tasks for those looking to get involved. Refer to https://up-for-grabs.net/
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants