Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V2 #239

Open
wants to merge 28 commits into
base: main
Choose a base branch
from
Open

V2 #239

wants to merge 28 commits into from

Conversation

@keithamus keithamus force-pushed the v2 branch 7 times, most recently from bd3c976 to d01d896 Compare May 20, 2022 16:41
@keithamus keithamus force-pushed the v2 branch 6 times, most recently from 173d1b5 to 76bb1d4 Compare May 26, 2022 12:11
@keithamus keithamus marked this pull request as ready for review June 6, 2022 17:36
@keithamus keithamus requested a review from a team as a code owner June 6, 2022 17:36
@keithamus keithamus requested a review from dgreif June 6, 2022 17:36
@keithamus
Copy link
Member Author

I've released a 2.0.0-alpha of this branch: https://github.com/github/catalyst/releases/tag/v2.0.0-alpha1. We'll test this out and kick the tires on it for a while before merging.

@primer-css
Copy link

👋 Hello and thanks for pinging us! This issue or PR has been added to our inbox and a Design Infrastructure first responder will review it soon.

  • 🎨 If this is a PR that includes a visual change, please make sure to add screenshots in the description or deploy this code to a lab machine with instructions for how to test.
  • If this is a PR that includes changes to an interaction, please include a video recording in the description.
  • ⚠️ If this is urgent, please visit us in #primer on Slack and tag the first responders listed in the channel topic.

@keithamus keithamus requested review from a team and removed request for a team and dgreif October 12, 2022 13:49
keithamus and others added 3 commits October 12, 2022 15:14
@attrable properties with a default value specified using a getter
method incorrectly have their setter method called with an empty
string.

This incorrect behaviour does not happen if:

- the property is in the html definition
- the property does not have a default value supplied by a getter method
@adoublef
Copy link

adoublef commented Sep 8, 2023

I am unsure what the status is with v2 so I understand that it's still unstable and subject to changes. I am however finding in comparison to v1 that I am unable to use the target decorator to find the an element that is inside a shadowRoot

Hopefully I am not speaking out of turn with this. But I think the issue was due to the order in with the abilities are called in the in the controller decorator. Seems when I change the function body to register(targetable(actionable(attrable((Class))))); 

In the targetable.ts file it set's the shadowRoot to the weakmap which I think was not being called (or overwritten) with the original controller decorator

Add failing test for default-valued properties
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.

7 participants