ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

Change "Issue Preview" to Button from link (Bug #931)


Added by Radim Kolář at 2012-03-13 01:37 pm. Updated at 2012-03-22 02:00 am.


Status:Open Start date:2012-03-13
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:User interface
Target version:-
Remote issue URL: Affected version:

Description

Currently UI for creating new issue is bit inconsistent.

Preview is just link, not button like 2 buttons before it. This makes it way smaller and harder to notice.

It should be converted to button like in Trac. Also Trac features auto preview feature which is very useful - after while, preview is displayed even without user clicking on Preview button.


Screen_shot_2012-03-22_at_12.00.02_PM.PNG (11.8 kB) Andrew Smith, 2012-03-22 02:00 am


History

Updated by Andrew Smith at 2012-03-22 12:36 am

I've created a very basic PoC for this issue - https://github.com/EspadaV8/chiliproject/commit/0b3dcbb138a9406dfbe559e507e5455f4a4a1cba - that changes the preview link on the new issue page to an HTML <input type="button"> (ideally this should be a <button type="button"> but rails 2 doesn't have that available).

The JS has been removed from the 'onclick' event into a <script> tag as well (which should be moved into, probably, the application.js file).

The main problem with having them all as buttons is that they get lost. It would be nice to have a bit of a design for each of them, possibly using something like Bootstrap - http://twitter.github.com/bootstrap/base-css.html#icons

Also available in: Atom PDF