Resolve `view_to_iframe` limitations
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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?
- Lingua principale
- Python
- Stelle
- 357
- Fork
- 22
- Merge medio
- 10h 31m
- PR unite (30g)
- 2
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di reactive-python/reactpy-django
-
Add coverage tests Apertacomplexity: 3 (low) priority: 3 (low) type: ci
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
-
complexity: 1 (high) priority: 1 (high)
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
-
complexity: 2 (medium) priority: 3 (low)
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
-
`pyscript_router` component Apertacomplexity: 1 (high) priority: 2 (moderate)
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
-
complexity: 2 (medium) priority: 2 (moderate) type: investigation
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
Tutte le issue di reactive-python/reactpy-django
Issue simili
-
link-check link-check:sphinx-theme
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
qgis/QGIS-Documentation#11275 ·
-
bug priority:normal ready-for-dev
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
OpenHands/extensions#626 · 1 commento ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
CSCfi/sd-search-api#39 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100