Comments (11)
+1 for being able to hide certain elements.
You can customize the margin and colors in a sublime theme to alleviate the issue. Go to your packages folder and update the theme file (not sure if the file exists by default, mine is located at AppData\Roaming\Sublime Merge\Packages\User\Merge Dark.sublime-theme
on Windows).
{
"variables":
{
"author_label": "rgb(70, 70, 70)",
"time_label": "rgb(80, 80, 80)",
},
"rules":
[
{
"class": "author_label",
"fg": "var(author_label)"
},
{
"class": "time_label",
"fg": "var(time_label)"
},
{
"class": "commit_summary_control",
"content_margin" : [2,1,0,1]
}
]
}
Full theme documentation is available here.
You could add a negative margin and get it to one-line that way, but unfortunately it also hides the annotations.
{
"class": "commit_summary_control",
"content_margin" : [2,0,0,-16]
},
from sublime_merge.
Yes! This and the density of the diffs (#624, #386) are the biggest pain points for me. There is a lot going on in even medium sized projects, and so being able to see more at once is important. Date and commit author being (optionally) hidden unless there is enough horizontal space for them, but shown on a tooltip, would be ideal. I can see literally twice as many commits in tortoisehg:
(this is a simple mostly linear example but our project is yet to convert our more collaborative branchy repos to git - it will be much more important for them!)
from sublime_merge.
Besides compactness, it also makes it faster to read.
If the view is wide enough, the author/date could be displayed on the right, and they could also be show as a tooltip on hover.
from sublime_merge.
Adding my support for this. Showing more commits by reducing vertical space would produce quantum leaps in benefit. Spotting patterns synoptically is everything.
from sublime_merge.
This is the biggest problem I have with SM. GitX commit graph was/is far more efficient and easier on the eyes.
from sublime_merge.
Let me say it's currently not bad, but it would be better if we could configure it to be more compact if required. For example, hiding certain elements such as Committer, or Date.
Some might like it displayed as a table with columns (see #567), but I haven't had a pressing need for that yet.
from sublime_merge.
If you're on a mac you need to add that file to ~/Library/Application Support/Sublime Merge/Packages/User
.
If you use the light theme the file name should be Merge.sublime-theme
from sublime_merge.
Thanks so much @strawlink, I can see ~50% more commits now!
This is with the following (font face and colours obviously to taste, but shrinking the annotations was important to increasing the density since they determine the space between the commit message and author/time lines of each row):
{
"variables":
{
"author_label": "rgb(120, 120, 120)",
"time_label": "rgb(120, 120, 120)",
"commit_list_bg": "rgb(15, 15, 15)",
"side_bar_container_bg": "rgb(20, 20, 20)"
},
"rules":
[
{
"class": "commit_summary_control",
"layer0.tint": "rgb(30, 30, 30)"
},
{
"class": "message_label",
"font.face": "Ubuntu",
"fg": "white",
"font.size": 13,
},
{
"class": "author_label",
"fg": "var(author_label)",
"font.size": 11,
"font.face": "Ubuntu"
},
{
"class": "time_label",
"fg": "var(time_label)",
"font.size": 11,
"font.face": "Ubuntu"
},
{
"class": "commit_summary_control",
"content_margin" : [2,3,0,0],
},
{
"class": "tag_annotation",
"font.size": 11,
"font.face": "Ubuntu"
},
{
"class": "branch_annotation",
"font.size": 11,
"font.face": "Ubuntu"
},
{
"class": "remote_annotation",
"font.size": 11,
"font.face": "Ubuntu"
},
{
"class": "head_annotation",
"font.size": 11,
"font.face": "Ubuntu"
},
{
"class": "stash_annotation",
"font.size": 11,
"font.face": "Ubuntu"
},
{
"class": "file_annotation",
"font.size": 11,
"font.face": "Ubuntu",
"fg": "rgb(255,255,0)"
}
]
}
from sublime_merge.
I need a one line layout for commit graph
Is the theme solution only available after buy licenses? seems not work
from sublime_merge.
Bump. It would be great if there was toggle setting - which will show comits in one-line fashion. or drop-down in preferences with scale presets from which the user can quickly choose: 25% 50% 75% of normal size
from sublime_merge.
Just saw the new preference commit_graph_author_date
added in Build 2077.
Was hoping it would close this, but unfortunately it is unrelated 😢
from sublime_merge.
Related Issues (20)
- Commit operation is very slow compared with doing "git commit" HOT 2
- Add "pull --prune" option
- If user explicitly chooses Sublime Text.app as the Editor, files don't open
- Commit view looks broken on one repo HOT 1
- Diff not match git output HOT 1
- Push fails with 'command not found'
- LFS Label missing from files tracked in LFS with uppercase file extension HOT 1
- Summary stuck with submodule change
- Menu bar not working
- Sublime Merge reporting license is expired for a valid license
- Key Bindings for Merge Tool not working HOT 2
- enable color-coding or otherwise grouping of tabs HOT 1
- performance slow when using in a giant project with thousands of commiter and six years git commit history HOT 2
- Support for numbered/concatenated arguments and char escaping HOT 1
- Diff editing mode
- Navigate to commit not working with collapsed merge commits HOT 1
- Bug when selecting multiple commits HOT 1
- Named character classes not followed in ignore patterns HOT 1
- Random Staged Files displaying when working directory is clean HOT 3
- Exact search in Locations and Files
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sublime_merge.