Skip to content

Conversation

@SebastienDaniel
Copy link

@SebastienDaniel SebastienDaniel commented Jan 14, 2022

#259 modify onAddition to pass full tag to allow use of additional tag props in custom tagComponent

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 24a653a on zia-ai:main into 9ac82a9 on i-like-robots:main.

jtojnar added a commit to fossar/selfoss that referenced this pull request Jan 22, 2022
This will make tags added to a source have access to colour despite
i-like-robots/react-tags#260 not being merged.
Additionally, this will also update the colors when the tags are updated.
@i-like-robots i-like-robots self-assigned this Jan 26, 2022
@i-like-robots
Copy link
Owner

This will be the default behaviour in the next major version (which is in development here).

However, I'm reluctant to make this change to the current version of the component because a change to the public interface should require releasing as a new major version.

@i-like-robots i-like-robots added this to the 7.0.0 milestone May 4, 2022
@i-like-robots i-like-robots force-pushed the main branch 2 times, most recently from 07a315c to dbd521f Compare June 14, 2022 07:51
jtojnar added a commit to fossar/selfoss that referenced this pull request Oct 14, 2022
This will make tags added to a source have access to colour despite
i-like-robots/react-tags#260 not being merged.
Additionally, this will also update the colors when the tags are updated.
@makis-x
Copy link

makis-x commented Jan 3, 2023

Was this a breaking change not passing full tag? handleAdd supported this no? Quelle surprise

@jtojnar
Copy link

jtojnar commented Mar 29, 2023

Maybe until the new version is released, we could add an additional onAdditionFull event that would pass the full tag without a BC break?

@i-like-robots
Copy link
Owner

Closing as this feature is now supported in v7.

jtojnar added a commit to fossar/selfoss that referenced this pull request Jul 16, 2023
This will make tags added to a source have access to colour despite
i-like-robots/react-tags#260 not being merged.
Additionally, this will also update the colors when the tags are updated.
jtojnar added a commit to fossar/selfoss that referenced this pull request Jul 16, 2023
This will make tags added to a source have access to colour despite
i-like-robots/react-tags#260 not being merged.
Additionally, this will also update the colors when the tags are updated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants