Redmine Issue History Tabs Plugin
Added by Konstantin Zaitsev almost 15 years ago
Simple plugin that represent issue history in two tabs "All" and "Comments". "Comments" tab is displayed initially.
Plugin can be downloaded from http://kosz-redmine-tools.googlecode.com/files/redmine_issue_history_tabs_0.0.1.zip
Replies (26)
RE: Redmine Issue History Tabs Plugin - Added by Dan Bendt almost 15 years ago
This is a very nice plugin, and something I've been searching for. Good work Konstantin!
RE: Redmine Issue History Tabs Plugin - Added by Mischa The Evil almost 15 years ago
- it overloads the source:/trunk/app/views/issues/_history.rhtml view, thus core-changes in that view should be handled if they affect the plugin;
- maybe it would be nice to introduce a plugin-setting to select which tab should be displayed initially?
I also noted that the plugin is developed for source:/branches/0.8-stable without compatibility for the bleeding-edge code in source:/trunk.
I've created a small patch (which also reversioned plugin-version from 0.0.1 to 0.0.2) which fixes compatibility with the Redmine trunk. I'll attach it here. I believe though, that it breaks compatibility with the source:/branches/0.8-stable (which can be fixed with some more coding).
Maybe you'll want to add the plugin to the Redmine plugin list (if you are planning on maintaining this plugin over time)?
Kind regards and thanks for posting the announcement,
Mischa.
RE: Redmine Issue History Tabs Plugin - Added by Alex Last over 14 years ago
Kostya, are you going to keep working on this plugin?
RE: Redmine Issue History Tabs Plugin - Added by Konstantin Zaitsev over 14 years ago
There is a version for redmine 0.9 http://kosz-redmine-tools.googlecode.com/files/redmine_issue_history_tabs_0.0.2.zip
RE: Redmine Issue History Tabs Plugin - Added by Alex Last over 14 years ago
Thanks! we will try it.
RE: Redmine Issue History Tabs Plugin - Added by Dylan Yee over 14 years ago
This feature doesn't seems to work at redmine version 1.0. Display an issue without comment is ok, but display an issue with comment will results internal error. Kostya can you please help to fix this as this is a really good feature. Thanks~
RE: Redmine Issue History Tabs Plugin - Added by Akshat Pradhan over 14 years ago
I'm getting the same thing after installing the plugin. I have a default redmine installation that is running as root in a development environment for the time being. It is using webbrick
Internal error
An error occurred on the page you were trying to access.
If you continue to experience problems please contact your redMine administrator for assistance.
Back
production.log
ActionView::TemplateError (undefined method `notes' for {:reply_links=>true}:Hash) on line #14 of vendor/plugins/redmine_issue_history_tabs/app/views/issues/_hi story_all.rhtml: 11: <li><%= show_detail(detail) %></li> 12: <% end %> 13: </ul> 14: <%= render_notes(journal, :reply_links => reply_links) unless journal.notes.blank? %> 15: </div> 16: <%= call_hook(:view_issues_history_journal_bottom, { :journal => journal }) %> 17: <% end %> app/helpers/journals_helper.rb:23:in `render_notes' vendor/plugins/redmine_issue_history_tabs/app/views/issues/_history_all.rhtml:14:in `_run_rhtml_vendor47plugins47redmine_issue_history_tabs47app47views47iss ues47_history_all46rhtml_locals_history_all_journals_object_reply_links' vendor/plugins/redmine_issue_history_tabs/app/views/issues/_history_all.rhtml:2:in `each' vendor/plugins/redmine_issue_history_tabs/app/views/issues/_history_all.rhtml:2:in `_run_rhtml_vendor47plugins47redmine_issue_history_tabs47app47views47issu es47_history_all46rhtml_locals_history_all_journals_object_reply_links' vendor/plugins/redmine_issue_history_tabs/app/views/issues/_history.rhtml:24:in `_run_rhtml_vendor47plugins47redmine_issue_history_tabs47app47views47issues4 7_history46rhtml_locals_history_issue_journals_object' vendor/plugins/redmine_issue_history_tabs/app/views/issues/_history.rhtml:23:in `each' vendor/plugins/redmine_issue_history_tabs/app/views/issues/_history.rhtml:23:in `_run_rhtml_vendor47plugins47redmine_issue_history_tabs47app47views47issues4 7_history46rhtml_locals_history_issue_journals_object' app/views/issues/show.rhtml:92:in `_run_rhtml_app47views47issues47show46rhtml' app/controllers/issues_controller.rb:124:in `show' app/controllers/issues_controller.rb:123:in `show' /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' Rendering /root/redmine-1.0.0/public/500.html (500 Internal Server Error) Processing IssuesController#show (for 38.97.106.66 at 2010-08-17 13:33:16) [GET] Parameters: {"action"=>"show", "id"=>"15", "controller"=>"issues"} Rendering template within layouts/base Rendering issues/show.rhtml ActionView::TemplateError (undefined method `notes' for {:reply_links=>true}:Hash) on line #14 of vendor/plugins/redmine_issue_history_tabs/app/views/issues/_history_all.rhtml: 11: <li><%= show_detail(detail) %></li> 12: <% end %> 13: </ul> 14: <%= render_notes(journal, :reply_links => reply_links) unless journal.notes.blank? %> 15: </div> 16: <%= call_hook(:view_issues_history_journal_bottom, { :journal => journal }) %> 17: <% end %> app/helpers/journals_helper.rb:23:in `render_notes' vendor/plugins/redmine_issue_history_tabs/app/views/issues/_history_all.rhtml:14:in `_run_rhtml_vendor47plugins47redmine_issue_history_tabs47app47views47issues47_history_all46rhtml_locals_history_all_journals_object_reply_links' vendor/plugins/redmine_issue_history_tabs/app/views/issues/_history_all.rhtml:2:in `each' vendor/plugins/redmine_issue_history_tabs/app/views/issues/_history_all.rhtml:2:in `_run_rhtml_vendor47plugins47redmine_issue_history_tabs47app47views47issues47_history_all46rhtml_locals_history_all_journals_object_reply_links' vendor/plugins/redmine_issue_history_tabs/app/views/issues/_history.rhtml:24:in `_run_rhtml_vendor47plugins47redmine_issue_history_tabs47app47views47issues47_history46rhtml_locals_history_issue_journals_object' vendor/plugins/redmine_issue_history_tabs/app/views/issues/_history.rhtml:23:in `each' vendor/plugins/redmine_issue_history_tabs/app/views/issues/_history.rhtml:23:in `_run_rhtml_vendor47plugins47redmine_issue_history_tabs47app47views47issues47_history46rhtml_locals_history_issue_journals_object' app/views/issues/show.rhtml:92:in `_run_rhtml_app47views47issues47show46rhtml' app/controllers/issues_controller.rb:124:in `show' app/controllers/issues_controller.rb:123:in `show' /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
RE: Redmine Issue History Tabs Plugin - Added by Paul paul over 14 years ago
Does not work with RM 1.0.1.
RE: Redmine Issue History Tabs Plugin - Added by Marton Danoczy about 14 years ago
Konstantin, this is a really useful feature, it would be great if you could update the plugin to work with Redmine 1.0!
RE: Redmine Issue History Tabs Plugin - Added by Joerg Landsiedel about 14 years ago
Hi Konstantin, very useful plugin. I would also like to see it working in 1.x. Thanks in advance!
RE: Redmine Issue History Tabs Plugin - Added by Bruno Samora almost 14 years ago
I didn't see the plugin running, but it seems to be a great idea.
Is there any plan to provide 1.x support?
RE: Redmine Issue History Tabs Plugin - Added by Dan North almost 14 years ago
I forked the project and pushed a fix at https://github.com/tastapod/redmine_issue_history_tabs/commit/7f8c724e8c879d96368375f799586c747bdf593f
You can get it with:
$ git clone git://github.com/tastapod/redmine_issue_history_tabs.git vendor/plugins/redmine_issue_history_tabs
RE: Redmine Issue History Tabs Plugin - Added by Marton Danoczy almost 14 years ago
Great, it works perfectly well, thanks a lot!
RE: Redmine Issue History Tabs Plugin - Added by Adam Sneller almost 13 years ago
Editing a comment in 1.2.2 (using Dan North's fork) does not work. This is a known issue. Can anyone help figure this out??
RE: Redmine Issue History Tabs Plugin - Added by Robson Peixoto over 12 years ago
What's the more stable version, github or google?
RE: Redmine Issue History Tabs Plugin - Added by Radek Terber about 12 years ago
I have modified this plugin so it is working with redmine 2.1.2 now.
Javascript is modified to do not throw exceptions with JQuery, and I modified _history.html.erb too to filter history items according to selected tab. I changed tab order ("Comments" tab is displayed first).
Source version that I modified was downloaded from GitHub here:
https://github.com/tastapod/redmine_issue_history_tabs
Pludin is functional now as expected I hope.
Sorry for this post but I do not have account in GitHub and I do not want to create it. It would be great if somebody creates patch and put it to repo.
redmine_issue_history_tabs_0.0.3_2012-10-23.zip (4.74 KB) redmine_issue_history_tabs_0.0.3_2012-10-23.zip | functional plugin |
RE: Redmine Issue History Tabs Plugin - Added by Steven Wong about 12 years ago
RE: Redmine Issue History Tabs Plugin - Added by Radek Terber about 12 years ago
There is a bit chaos among versioning I guess... In google code there was version 0.0.5 about 1 year old, but in GitHub was version 0.0.3 that seems to be 1/2 year old. Which information is "more valid"? The version number or update date?
Never mind, one important thing for me is to have functional version, regardless version number :-).
RE: Redmine Issue History Tabs Plugin - Added by Sam Crawley about 12 years ago
Thanks Radek. I've committed to my fork on Github (https://github.com/Mutant/redmine_issue_history_tabs), and sent a pull request.
RE: Redmine Issue History Tabs Plugin - Added by Razor7 Razor7 about 12 years ago
Installed commit ID 03f2d1c012 and worked on my RM 2.1.2 Ubuntu Server 12.04
RE: Redmine Issue History Tabs Plugin - Added by Gurvan Le Dromaguet almost 12 years ago
I installed successfully the plugin, thanks to the author :)
I see the link that show up in tab is ending with "?tab=history_comments" which redirects me to the top of the page each time.
I would have expected to redirect to "?tab=history_comments#history" for a better user experience. Does anyone know how to change the code for this ?
Thanks.
RE: Redmine Issue History Tabs Plugin - Added by Alfredo Pedraza almost 11 years ago
I've fixed an issue posted previously by Peter Drábik (http://www.redmine.org/boards/2/topics/38209?r=41448) in which the Comments tab only shows the journals that only contains notes. I've only tested it with version 2.4.3
Please update the "/plugins/redmine_issue_history_tabs/app/views/issues/_history.html.erb" file with the attached file, and restart the Redmine server to apply the changes.
If anyone could upload this code to the repository, it would be really great because I don't know how to do it.
I've only changed two lines:
This one: <% if selected_tab == 'history_all' || journal.css_classes == 'journal has-notes'%> for this one: <% if selected_tab == 'history_all' || journal.css_classes.include?('has-notes')%>
and
This one: <% if journal.details.any? %> for this one: <% if journal.details.any? && selected_tab == 'history_all' %>
Regards,
--Alfredo Pedraza
_history.html.erb (1.83 KB) _history.html.erb |
RE: Redmine Issue History Tabs Plugin - Added by Enver Ablyaev almost 10 years ago
Does somebody have it working with 2.6.x?
RE: Redmine Issue History Tabs Plugin - Added by Alex Gotardi over 9 years ago
Enver Ablyaev wrote:
Does somebody have it working with 2.6.x?
Yes! Work in 2.6.x
RE: Redmine Issue History Tabs Plugin - Added by Williams Jaozafy over 7 years ago
Awesome! Works in 3.4.2 (I got the github version and appended Alfredo Souza Pedraza change).