Fix for https://github.com/OpenGrok/OpenGrok/issues/1076#1077
Fix for https://github.com/OpenGrok/OpenGrok/issues/1076#1077tarzanek merged 2 commits intooracle:masterfrom
Conversation
New feature to allow users to collapse and expand long revision messages on the history page.
| %></td> | ||
| <td><a name="<%= rev %>"></a><p><% | ||
| <td><a name="<%= rev %>"></a><% | ||
| int summaryLength = 200; |
There was a problem hiding this comment.
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.