Resolve `view_to_iframe` limitations

Offen
#268 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
25/100
Issue-Typ
Feature
Klarheit
Muss geklärt werden
Aktivitätsstatus
Veraltet
Tech-Stack
django, python, react
Bereich
backend, web-dev

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

complexity: 2 (medium) priority: 3 (low)
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.
  • All provided args and kwargs must 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

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus reactive-python/reactpy-django

Alle Issues in reactive-python/reactpy-django

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.