Resolve `view_to_iframe` 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 reading the implementation and usage of view_to_iframe. Investigate how iframe-to-parent events could be exposed and how args and kwargs are serialized into the URL, then determine which limitation has an actionable scope. Done means an agreed implementation direction, with documentation where needed.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Current Situation and Proposed Actions
There are currently a few resolvable limitations of view_to_iframe.
- No built-in method of signalling events back to the parent component.
- Perhaps resolving this will require creating an interface that can attach ReactPy event functions to the iframe. Will probably require some documentation to tell the user how to do this (ref: https://stackoverflow.com/questions/12967616/trigger-custom-event-from-iframe-to-parent-document).
- All provided
argsandkwargsmust be serializable values, since they are encoded into the URL.- Maybe we can wrap each individual view with another view that automatically pulls serialized arguments from the database?
- Is resolving this actually worth it? I don't believe it's possible for standard Django views to accept objects are arguments, so is there any reason why converted views should behave differently?
- 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
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 86/100
zostera/django-bootstrap4#894 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
use-agent-os/agent-os#3276 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
zephyrproject-rtos/zephyr#119726 ·
-
area/auth bug comp/agent P3 platform/discord type/security
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
NousResearch/hermes-agent#117848 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
zilliztech/memsearch#759 ·