Resolve `view_to_component` limitations
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Facilidade para iniciantes
- 25/100
Direção de pesquisa
Start by tracing the view_to_component entry point named in the issue. The issue lists HTTP-method handling, ReactPy event attachment, and same-domain hyperlink interception as separate limitations, but names no files or tests; done would require defining and implementing the intended iframe-like behavior for these cases.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Current Situation and Proposed Actions
There are currently several limitations of using view_to_component.
- Requires manual intervention to change HTTP methods to anything other than
GET.- The initial HTTP request will probably always have to be
GET, but it might be reasonable to automatically handle other kinds of HTTP methods depending on what the user clicked on. - Realistically, the end goal is to make
view_to_componentbehave as similarly to an iframe as technologically possible.
- The initial HTTP request will probably always have to be
- ReactPy events cannot conveniently be attached to converted view HTML.
- It might make sense to give the user some kind of interface to "query select" certain rendered items, and attach ReactPy event functions to them.
- Has no option to automatically intercept click events from hyperlinks (such as
<a href='example/'></a>).- All hyperlinks that point to the current domain should probably be intercepted by ReactPy and rendered via
view_to_component. - Realistically, the end goal is to make
view_to_componentbehave as similarly to an iframe as technologically possible.
- All hyperlinks that point to the current domain should probably be intercepted by ReactPy and rendered via
- Linguagem predominante
- Python
- Estrelas
- 357
- Forks
- 22
- Merge médio
- 10h 31min
- PRs com merge (30d)
- 2
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
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 reactive-python/reactpy-django
-
Add coverage tests Abertacomplexity: 3 (low) priority: 3 (low) type: ci
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 45/100
-
complexity: 1 (high) priority: 1 (high)
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 25/100
-
complexity: 2 (medium) priority: 3 (low)
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 25/100
-
`pyscript_router` component Abertacomplexity: 1 (high) priority: 2 (moderate)
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 25/100
-
complexity: 2 (medium) priority: 2 (moderate) type: investigation
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 20/100
Todas as issues de reactive-python/reactpy-django
Issues semelhantes
-
documentation help wanted
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 90/100
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 90/100
simonw/sqlite-utils#872 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100