Resolve `view_to_iframe` limitations
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 25/100
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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?
- Langage dominant
- Python
- Étoiles
- 357
- Forks
- 22
- Merge moyen
- 10 h 31 min
- PR mergées (30 j)
- 2
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de reactive-python/reactpy-django
-
Add coverage tests Ouvertecomplexity: 3 (low) priority: 3 (low) type: ci
Difficulté 3/5 1-2 jours Accessibilité débutants 45/100
-
complexity: 1 (high) priority: 1 (high)
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 25/100
-
complexity: 2 (medium) priority: 3 (low)
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 25/100
-
`pyscript_router` component Ouvertecomplexity: 1 (high) priority: 2 (moderate)
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 25/100
-
complexity: 2 (medium) priority: 2 (moderate) type: investigation
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 20/100
Toutes les issues de reactive-python/reactpy-django
Issues similaires
-
link-check link-check:sphinx-theme
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
qgis/QGIS-Documentation#11275 ·
-
bug priority:normal ready-for-dev
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
OpenHands/extensions#626 · 1 commentaire ·
-
Change observation tooltip text Ouverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 90/100
CSCfi/sd-search-api#39 ·
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 90/100