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.

Generate project identifier automatically with JavaScript (Feature #615)


Added by Jan Schulz-Hofen at 2011-09-11 04:05 pm. Updated at 2011-10-31 03:32 pm.


Status:Closed Start date:2011-09-11
Priority:Normal Due date:
Assignee:Holger Just % Done:

0%

Category:User interface
Target version:2.4.0
Remote issue URL:http://www.redmine.org/issues/9225 Affected version:

Description

At Planio Redmine Hosting, we found that a considerable number of first-time users got stuck while creating their first project. The reason: the project identifier. As it is now, it's not clear what it is for and quite a few of our users tried identifiers starting with a number which yields a validation error that is not specific enough to help them understand that it actually has to start with an a-z character.

This patch attempts to solve the issue by two small improvements:

  1. automatically generate the identifier while the name is typed in
  2. let the user know that the identifier must start with a lower case letter

Appreciate your comments and would love to see this making it into the core - I think it will improve the first time Redmine experience.

The patch is against our Redmine version. Might need only minor modifications for Chili.


changeset_rea7e9f7e100db9e5ffda644296b543802039f503.diff (6.5 kB) Jan Schulz-Hofen, 2011-09-11 04:05 pm


Associated revisions

Revision a8fcf848
Added by Jean-Philippe Lang at 2008-03-16 01:21 pm

Add a time tracking block for 'My page' (#615).
It lists current user's time entries for the last 7 days across all projects, grouped by day with subtotals for each day, and a grand total.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1260 e93f8b46-1217-0410-a6f0-8f06a7374b81

Revision 2f4afeeb
Added by Holger Just at 2011-10-30 10:33 am

[#615] Generate project identifier automatically with JavaScript

Also let the user know that the identifier must start with a lower case letter.

Contributed by Jan Schulz-Hofen.

History

Updated by Holger Just at 2011-09-11 04:31 pm

I like this patch. Some potential improvements to consider:

  • Target version set to 2.3.0

Updated by Jan Schulz-Hofen at 2011-09-21 11:03 am

There's an improved version including the diacritics and a fix regarding Etienne's concern with sequential identifiers at http://www.redmine.org/issues/9225

Updated by Holger Just at 2011-10-04 08:53 am

I like your new version. However, we still need to clear the license of the diacritics script. I think it's going to be okay, but we should nevertheless ask.

Thus, I'm postponing this feature to 2.4

  • Target version changed from 2.3.0 to 2.4.0

Updated by Eric Davis at 2011-10-13 01:34 am

Side comment: I'd like to start scoping our JavaScript. Putting functions in the global namespace is getting messy. Doesn't need to be done for this feature but we should start thinking about it.

Updated by Holger Just at 2011-10-30 09:38 am

Pushed your updated version in 2f4afee (slightly updated).

Thanks Jan!

  • Assignee set to Holger Just

Updated by Holger Just at 2011-10-31 03:32 pm

  • Status changed from Open to Closed

Also available in: Atom PDF