alphanodes / additional_tags

Redmine Plugin for adding tags functionality to issues and wiki pages.
https://www.redmine.org/plugins/additional_tags
GNU General Public License v2.0
64 stars 26 forks source link

Fixed 'Add tags'. Added 'Edit tags' #27

Closed Theodorson closed 1 year ago

Theodorson commented 2 years ago

I made a fix for "Add" which can cause problems in the current implementation, if we want to add tags for multiple issues.

Example:

New implementation contains "Add" which now behaves like an add and a new menu entry "Edit (for single issue)" which has same behavior like old "Add" implementation but just for a single issue (useful for easy add/delete tags for one issue).

New "Edit (for single issue)" (old "Add" but just for single issue). image image

New "Add". image image

alexandermeindl commented 2 years ago

Hi @Theodorson,

you are right, with bulk operations adding tags would be better as changing them.

Maybe a better solution for bulk edit (form) would be, to provide one text field to add tags, and another text field to remove them. I am not sure, if it is required to change tags (replacing existing tags) in bulk edit (form).

To your PR:

Theodorson commented 2 years ago

Hi @alexandermeindl ,

I can add tests for the new behavior. Can you please let me know what is your proposal for implementing without overwrite parameter ? I am not happy with this too. I tried to do other stuffs but finally I managed this.

Theodorson commented 2 years ago

Hi @alexandermeindl,

Have you thought of an idea that would be better without the overwrite parameter ? I would like to modify the implementation and create tests for it.

Theodorson commented 2 years ago

Hi @alexandermeindl,

I've changed the implementation transforming overwrite parameter to append. This means the new parameter is used just for this case and the existing tests weren't changed. I added tests for new behavior too.

alexandermeindl commented 2 years ago

Hi @Theodorson,

this looks much better for me. I cannot merge your changes because you do not use main branch for your development. All development on this plugin takes place in main branch. If you provide you changes on main branch, I'll merge it after reviewing it.

Theodorson commented 1 year ago

Hi @alexandermeindl ,

I've made changes on main branch and create this PR #39. After reviewing/merge it, the changes will be transfered to stable branch ?

alexandermeindl commented 1 year ago

A new stable release can only be released, if additionals plugins is released, too. Most likely end of this year, a new release will be published.

I close this PR, because you created a new one.