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

[Task]: Enable parent widget selction for a focused widget #33648

Closed
2 tasks
riodeuno opened this issue May 22, 2024 · 0 comments
Closed
2 tasks

[Task]: Enable parent widget selction for a focused widget #33648

riodeuno opened this issue May 22, 2024 · 0 comments
Assignees
Labels
Anvil Pod Issue related to Anvil project Anvil team issues related to the new layout system anvil Task A simple Todo

Comments

@riodeuno
Copy link
Contributor

SubTasks

Today, only a selected widget has the possibility of selecting its parent via the widget name component's parent toggle. This was added as there was no way to interact with the widget name component while a widget is focused, the only way to interact was to select the widget.

This has changed in #33646 .
We can now interact with a focused widget's widget name component.

  • Enable the parent widget toggle, for a focused widget, in the widget name component.
  • Disable parent widget toggle if the parent is already selected.
@riodeuno riodeuno added Task A simple Todo Anvil Pod Issue related to Anvil project Anvil team issues related to the new layout system anvil labels May 22, 2024
@riodeuno riodeuno self-assigned this May 22, 2024
riodeuno added a commit that referenced this issue May 22, 2024
## Description
- If the parent is already selected, disable parent selection
- Introduce the selector to check if parent is selected.


Fixes #33648 

## Automation

/ok-to-test tags="@tag.Anvil"

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!CAUTION]  
> If you modify the content in this section, you are likely to disrupt
the CI result for your PR.

<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [x] No
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Anvil Pod Issue related to Anvil project Anvil team issues related to the new layout system anvil Task A simple Todo
Projects
None yet
Development

No branches or pull requests

1 participant