Skip to content

Nco/enh/templates#45

Open
ncouvert wants to merge 3 commits into
ObeoNetwork:mainfrom
ncouvert:nco/enh/templates
Open

Nco/enh/templates#45
ncouvert wants to merge 3 commits into
ObeoNetwork:mainfrom
ncouvert:nco/enh/templates

Conversation

@ncouvert
Copy link
Copy Markdown
Collaborator

No description provided.

@ncouvert ncouvert force-pushed the nco/enh/templates branch from 3df4980 to b2dac1c Compare April 27, 2026 08:17
@ncouvert ncouvert requested a review from lfasani April 27, 2026 09:45
@ncouvert ncouvert marked this pull request as draft April 27, 2026 10:04
@ncouvert ncouvert force-pushed the nco/enh/templates branch from b2dac1c to 61f5968 Compare April 30, 2026 14:42
@ncouvert ncouvert marked this pull request as ready for review April 30, 2026 14:42
@ncouvert ncouvert added the enhancement New feature or request label May 6, 2026
@ncouvert ncouvert added this to the Iteration 2026.05 milestone May 6, 2026
@Override
public boolean canHandle(String projectTemplateId) {
return PepperMMProjectTemplateProvider.PEPPERMM_EXAMPLE_TEMPLATE_ID.equals(projectTemplateId);
return PepperMMProjectTemplateProvider.PEPPERMM_EXAMPLE_TEMPLATE_ID.equals(projectTemplateId) || PepperMMProjectTemplateProvider.PEPPERMM_EMPTY_TEMPLATE_ID.equals(projectTemplateId);
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why try to combine the two into a single service? It seems clearer to me to have two separate services, each handling its own template.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now have two files/services:

  • PepperMMProjectTemplateInitializerSample
  • PepperMMProjectTemplateInitializerEmpty

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I may rename the files from PepperMMProjectTemplateInitializerXXX to PepperMMProjectTemplateXXXInitializer ?

@ncouvert ncouvert force-pushed the nco/enh/templates branch from 61f5968 to 405360a Compare May 18, 2026 14:20
@ncouvert ncouvert requested a review from frouene May 18, 2026 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a gantt diagram to the full template of Pepper Improve pepper templates

3 participants