This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 250763 - Usage of Show history should be more "efficient"
Summary: Usage of Show history should be more "efficient"
Status: NEW
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Git (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-27 10:54 UTC by rasa.silva
Modified: 2015-02-27 14:32 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rasa.silva 2015-02-27 10:54:14 UTC
The "Show History" button opens a new window tab with the repo/file history.

I have some comments (if these should be filed as separate reports, I can do it):

* The "Search Options" menu is expanded by default and takes a large portion of the vertical space. Most of the time I just use the defaults...

* This is specially noticeable when using the "Diff" view, where that space could be better used by the file diff.

* There seems to be a duplication between the "Search options" and the Filter and Branch dropdowns (which are more space efficient)...

* It seems the options are not saved, for example, I prefer to use the "Diff" mode but the window always opens in the "Summary" mode.

* No search is done by default. Maybe store the options and use them the next time?...
Comment 1 Ondrej Vrabec 2015-02-27 14:11:16 UTC
(In reply to rasa.silva from comment #0)
> * The "Search Options" menu is expanded by default and takes a large portion
> of the vertical space. Most of the time I just use the defaults...
If yoo run search history for a file then the search criteria are collapsed and the search is immediately started. If you call the action for a folder or a project then the search is not started and the criteria are expanded. I could probably consider the behavior to be the same, not sure if everyone will welcome that.
If you don't want the search criteria, simply collapse them.
> * This is specially noticeable when using the "Diff" view, where that space
> could be better used by the file diff.
Collapse the search criteria.
> * There seems to be a duplication between the "Search options" and the
> Filter and Branch dropdowns (which are more space efficient)...
No, there is not. One is a search criterion, the other is a filter affecting already searched result.
> * It seems the options are not saved, for example, I prefer to use the
> "Diff" mode but the window always opens in the "Summary" mode.
Right, that might be improved.
> * No search is done by default. Maybe store the options and use them the
> next time?...
Search is started when you search history for a file.
Comment 2 Ondrej Vrabec 2015-02-27 14:32:14 UTC
i'll consider 1, 2, 3, 5 items for the next release