Resolve `view_to_iframe` limitations
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 25/100
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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?
- Vorherrschende Sprache
- Python
- Sterne
- 357
- Forks
- 22
- Ø Merge
- 10 Std. 31 Min.
- Gemergte PRs (30 T.)
- 2
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus reactive-python/reactpy-django
-
Add coverage tests Offencomplexity: 3 (low) priority: 3 (low) type: ci
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 45/100
-
complexity: 1 (high) priority: 1 (high)
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 25/100
-
complexity: 2 (medium) priority: 3 (low)
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 25/100
-
complexity: 1 (high) priority: 2 (moderate)
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 25/100
-
complexity: 2 (medium) priority: 2 (moderate) type: investigation
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 20/100
Alle Issues in reactive-python/reactpy-django
Ähnliche Issues
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 86/100
zostera/django-bootstrap4#894 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
use-agent-os/agent-os#3276 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
zephyrproject-rtos/zephyr#119726 ·
-
area/auth bug comp/agent P3 platform/discord type/security
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
NousResearch/hermes-agent#117848 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
zilliztech/memsearch#759 ·