Adicionar suporte a v-model ao SegmentedControl#1093
Conversation
- Refactor SegmentedControl to <script setup> - Add v-model support using defineModel - Maintain backward compatibility with existing props and events - Update documentation with v-model examples - Add unit tests for v-model functionality - Update project version to 3.159.0 Co-authored-by: lucasn4s <17988272+lucasn4s@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
Greptile SummaryEste PR adiciona suporte a
Confidence Score: 3/5Eu corrigiria estes comportamentos antes de fazer o merge.
|
| Filename | Overview |
|---|---|
| src/components/SegmentedControl.vue | Adiciona v-model, mas a inicialização do modelo pode alterar o estado do pai e não cobre listas carregadas depois do mount. |
| docs/components/navegação/segmented-control.md | Documenta o novo uso com v-model, mas o exemplo referencia um estado não declarado. |
| docs/.docgen/components-metadata.json | Atualiza os metadados do componente, mas não lista o evento update:modelValue. |
Reviews (1): Last reviewed commit: "feat: add v-model support to SegmentedCo..." | Re-trigger Greptile
Adicionado suporte a two-way binding com
v-modelao componenteSegmentedControl.Principais mudanças:
<script setup>.v-modelutilizandodefineModel.v-model.v-model.3.159.0.Fixes #1092
PR created automatically by Jules for task 3936232099814014702 started by @lucasn4s