Skip to content

Add a setter to TagWidget's parent#13111

Merged
fcollonval merged 1 commit into
jupyterlab:masterfrom
brichet:fix/cellTag_insert
Sep 26, 2022
Merged

Add a setter to TagWidget's parent#13111
fcollonval merged 1 commit into
jupyterlab:masterfrom
brichet:fix/cellTag_insert

Conversation

@brichet

@brichet brichet commented Sep 22, 2022

Copy link
Copy Markdown
Contributor

A getter has been added to the TagWidget's parent attribute in v4.0.0a28, without setter (which should rely to its parent class).

It look like Typescript does not allow overriding the getter without the setter and vice versa.

At the end, it is not possible to add a new tag to a cell :

image

Code changes

Add a setter to TagWidget's parent attribute.

Backwards-incompatible changes

None

@jupyterlab-probot

Copy link
Copy Markdown

Thanks for making a pull request to jupyterlab!
To try out this branch on binder, follow this link: Binder

@brichet brichet changed the title Add a setter to TagWidget widget's parent Add a setter to TagWidget's parent Sep 22, 2022
@fcollonval fcollonval added this to the 4.0.0 milestone Sep 22, 2022

@fcollonval fcollonval left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks @brichet

CI failures are not related.

@fcollonval fcollonval merged commit e05c65b into jupyterlab:master Sep 26, 2022
@welcome

welcome Bot commented Sep 26, 2022

Copy link
Copy Markdown

Congrats on your first merged pull request in this project! 🎉
congrats
Thank you for contributing, we are very proud of you! ❤️

@brichet brichet deleted the fix/cellTag_insert branch September 26, 2022 19:36
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Sep 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants