Quickactions for project view
It would be nice to have the most frequently used actions for projects not hidden inside the ''Edit project settings" form. The following actions come to mind:
This patch provides the 'set reviewed'. If you like it, I can look into more actions.
- Mark as reviewed (also listed in #1212)
- Mark as complete
- Set 'show from' to 14 days in the future ('show from' should be implemented for projects; #942)
This patch provides the 'set reviewed'. If you like it, I can look into more actions.
diff --git a/app/views/projects/_project_settings.rhtml b/app/views/projects/_pr
index df0f759..e09528c 100644
--- a/app/views/projects/_project_settings.rhtml
+++ b/app/views/projects/_project_settings.rhtml
@@ -24,3 +24,10 @@
<div id="<%= dom_id(project, 'edit') %>" class="edit-form" style="display:none;
<div class="placeholder"> </div>
</div>
+
+<div class="project_settings">
+ Quickactions: <a href="<%=set_reviewed_project_path(project)%>" id="<%= dom_i
+ <%=image_tag("reviewed.png", :alt => "") %>
+ Reviewed
+</a>
+</div>
Leave a comment
I implemented an example of two quickactions (set reviewed and set reviewed&complete) here:
git clone https://github.com/Popsch/tracks.git -b project_quickedit
Go to the project view to see them.
I use them, because it's frustrating during the weekly review to spend so many clicks on opening the project details and then setting it as reviewed. I would actually prefer the implemented quickactions to return to the review view, however, I couldn't figure that out and wanted some feedback first.
This saves me about frustrating mouse clicks each review and also exposes the functionality. Especially the latter is important, because I don't think that new users will find out how to mark a project as reviewed.
git clone https://github.com/Popsch/tracks.git -b project_quickedit
Go to the project view to see them.
I use them, because it's frustrating during the weekly review to spend so many clicks on opening the project details and then setting it as reviewed. I would actually prefer the implemented quickactions to return to the review view, however, I couldn't figure that out and wanted some feedback first.
This saves me about frustrating mouse clicks each review and also exposes the functionality. Especially the latter is important, because I don't think that new users will find out how to mark a project as reviewed.
Migrated to GitHub issue #1220