-
Notifications
You must be signed in to change notification settings - Fork 781
Fix for https://github.com/OpenGrok/OpenGrok/issues/1076 #1077
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
Conversation
New feature to allow users to collapse and expand long revision messages on the history page.
@@ -279,8 +279,10 @@ revision2 = revision2 >= hist.getHistoryEntries().size() ? hist.getHistoryEntrie | |||
%><%= author %><% | |||
} | |||
%></td> | |||
<td><a name="<%= rev %>"></a><p><% | |||
<td><a name="<%= rev %>"></a><% | |||
int summaryLength = 200; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should be probably a configuration variable, care to add it?
so people can at least set it using readonly xml config passed to indexer ?
Configurable collapse threshold for revision messages
Done. Added a way to configure the threshold. Just curious, are there guidelines for configuration variable names? |
@vbro not really, but we have too many of them :) ideally we should clean them up |
The environment variables are well documented in https://github.com/OpenGrok/OpenGrok/blob/master/OpenGrok. But not all the variables in Configuration.java are documented. |
Thanks for this improvement. A couple of suggestions for further improvements:
|
@vbro will you be able to patch the other stylesheets? |
Yes. I missed that too. Please see #1080. |
@vbro yes, that is a good idea, if you understand css and can do it, it would be wonderful and would simplify new changes, tia! |
+1. It's a pain to have to remember to update all of them. (If it was up to me, I'd say having one style is enough. Then there's less to test when improving the UI.) |
+1 filed issue #1481 to track the non-default style removal. |
New feature to allow users to collapse and expand long revision
messages on the history page.