callstack / callstack/react-native-paper

Gmail-like CAB and "select items" logic

Aberta
#3,355 2 comentários 0 reações 0 responsáveis Ver no GitHub
feature request repro provided
Linguagem predominante
TypeScript
Estrelas
14.5k
Forks
2.2k
Merge médio
5d 23h
PRs com merge (30d)
12

Descrição

**Is your feature request related to a problem? Please describe.**
Not quite: it's something I would like to implement in my app.

**Describe the solution you'd like**
Please refer to the video below.

https://user-images.githubusercontent.com/56068232/188570449-05662635-1b48-457b-810f-dab4de538dfd.mp4

I would like to have a Gmail-like CAB (Contextual Action Bar) that shows up whenever the user enters the "select mode". This mode is triggered when there are no selected items and the user long presses one of the items in a list (in this case, emails). The new CAB should be different from the one that is shown when in "normal mode" (in this case, the CAB is absent when in "normal mode", and slides down without shifting the mails).

**Describe alternatives you've considered**
I've been toying around a little in [this snack](https://snack.expo.dev/@mbuffo/a925da), but I'm not happy with the result, especially with the "Hide appbar" transition.

**Additional context**
The video above should be enough.

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

Comece revisando o vídeo vinculado e o Expo Snack referenciado para entender as transições solicitadas de select-mode e CAB. Em seguida, compare esse comportamento com a app bar existente do React Native Paper e os pontos de entrada da seleção; considera-se concluído quando uma CAB semelhante à do Gmail aparece ao selecionar por pressão longa, sem deslocar a lista e sendo diferente do modo normal.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
react-native, typescript
Domínio
frontend, mobile
Tipo de issue
Funcionalidade
Dificuldade
5/5
Tempo estimado
Mais de uma semana
Status de atividade
Estagnada
Clareza
Precisa de esclarecimento
Facilidade para iniciantes
25/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.