feat: Inline Action Sheets should have inline buttons as well
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 48/100
- Tipo de issue
- Funcionalidade
- Clareza
- Razoavelmente clara
- Status de atividade
- Pouca atividade
- Stack de tecnologia
- typescript
Direção de pesquisa
Comece lendo a implementação inline de action-sheet e sua propriedade atual de botão baseada em controller. Compare como outros componentes inline expõem botões filhos e, em seguida, verifique o uso solicitado com conteúdo de botão traduzido e tratamento de cliques. Está concluído quando os componentes de botão inline de action-sheet substituírem a configuração atual de botões, preservando as funções cancel e delete.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Prerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already include this feature request, without success.
Describe the Feature Request
Current inline action sheet design is a mix between inline and controller style as buttons are still done via a property instead of inline components. This forces consumers to still have to inject things like translation services for button description translation, etc.
Describe the Use Case
When moving to inline components for dialogs etc. it would be great if the important part of the action sheet, namely its buttons were inline as well. This would allow us to use translation pipes, click directives for tracking etc. the same as we are doing it for all other buttons in an app.
Describe Preferred Solution
Introduce action sheet button components for inline action sheet instead of using controller variable
<ion-action-sheet trigger="open-action-sheet" header="Actions">
<ion-action-sheet-button role="delete">{{'action.delete' | translate}}</ion-action-sheet-button>
<ion-action-sheet-button role="cancel">{{'action.cancel' | translate}}</ion-action-sheet-button>
</ion-action-sheet>
Describe Alternatives
No response
Related Code
No response
Additional Information
No response
- Linguagem predominante
- TypeScript
- Estrelas
- 52.8k
- Forks
- 13.3k
- Merge médio
- 3d 1h
- PRs com merge (30d)
- 86
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de ionic-team/ionic-framework
-
bug: input-otp, backspace in an empty box only moves focus instead of clearing the previous boxTalvez já em andamento @sarankumar1325 assumiu há 23 dias. Abertapackage: core type: bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 90/100
ionic-team/ionic-framework#31639 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
bug: vue swipe cancellation throws when the previous page is missingTalvez já em andamento @dandoingdev assumiu há 46 dias. Abertapackage: vue type: bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
ionic-team/ionic-framework#31514 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
bug: ion-searchbar input is always labelled "search text"; aria-label on the host is not forwardedTalvez já em andamento @HappyKnuckles assumiu há 41 dias. Abertaa11y package: core type: bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
ionic-team/ionic-framework#31492 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
bug: IonTabs throws when a Fragment contains one IonRouterOutletTalvez já em andamento @Benziza assumiu há 82 dias. Abertapackage: react type: bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
ionic-team/ionic-framework#31410 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
-
bug: angular swipe-back gesture crashes in StackController.startBackTransition when the stack is popped before the gesture is capturedTalvez já em andamento @officialasishkumar assumiu há 9 dias. Abertapackage: angular type: bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 86/100
ionic-team/ionic-framework#31291 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
Todas as issues de ionic-team/ionic-framework
Issues semelhantes
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 85/100
lingdojo/kana-dojo#34223 · 1 comentário · 5 reações ·
Mantenedores costumam responder em até 1 dia
-
bug status: needs triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
mastra-ai/mastra#30587 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
area:web p2 product:business triage:active type:bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
cuadrao-ai/argus#2228 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
embedpdf/embed-pdf-viewer#1098 ·
Mantenedores costumam responder em até 1 dia
-
.Needs Triage .Team/Metabot Priority:P3 Type:Bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 73/100
metabase/metabase#87252 · 1 comentário ·
Mantenedores costumam responder em até 1 dia