Closed beneditomauro closed 2 years ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Updated |
---|---|---|---|
ripe-components-vue | ✅ Ready (Inspect) | Visit Preview | Oct 31, 2022 at 1:49PM (UTC) |
Woof, Woof!
Thank you @beneditomauro for submitting the "feat: add reacticity to emptySlots()
computed propertie in molecules/upload-area.vue
" pull request 😎.
Please do not forget to review our internal guidelines:
Engaging in the development process in the best possible way helps it being efficient and fast.
Your friend, Tobias (Platforme's mascot)
I was inclined to add a talk
label to discuss other possible approaches, as this differs from any "pattern" in our vue codebase. But I will leave the PR without it
@beneditomauro are we able to reproduce this bug in components-vue storybook?
@beneditomauro are we able to reproduce this bug in components-vue storybook?
Not as it is, we would have to add a story that inserts a slot after component mounting
Woof, Woof!
Oops! @beneditomauro it looks like the PR check have just failed.
Please try to fix them as soon as possible.
Your friend, Tobias (Platforme's mascot)
Woof, Woof!
Oops! @beneditomauro it looks like the PR check have just failed.
Please try to fix them as soon as possible.
Your friend, Tobias (Platforme's mascot)
@beneditomauro tests are failing... can you check it out?
Woof, Woof!
Oops! @beneditomauro it looks like the PR check have just failed.
Please try to fix them as soon as possible.
Your friend, Tobias (Platforme's mascot)
@beneditomauro tests are failing... can you check it out?
This is not related to the PR, this is locally in master fails too:
computed
values invue
are used when logic needs to be triggered when component internalstate
changes weather the logic is conditional to the state itself. In this specific case,emptySlots()
is running only one time on component creation, limiting use-cases when the parent component adds or removes slots accordingly (see screenshots below) not removing the button when a slot is added. What was done to fix this:- Reference the respective data property to react to, and use it in a way that doesn't alter the returning boolean expression