Resolve `view_to_component` 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 tracing the view_to_component entry point named in the issue. The issue lists HTTP-method handling, ReactPy event attachment, and same-domain hyperlink interception as separate limitations, but names no files or tests; done would require defining and implementing the intended iframe-like behavior for these cases.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Current Situation and Proposed Actions
There are currently several limitations of using view_to_component.
- Requires manual intervention to change HTTP methods to anything other than
GET.- The initial HTTP request will probably always have to be
GET, but it might be reasonable to automatically handle other kinds of HTTP methods depending on what the user clicked on. - Realistically, the end goal is to make
view_to_componentbehave as similarly to an iframe as technologically possible.
- The initial HTTP request will probably always have to be
- ReactPy events cannot conveniently be attached to converted view HTML.
- It might make sense to give the user some kind of interface to "query select" certain rendered items, and attach ReactPy event functions to them.
- Has no option to automatically intercept click events from hyperlinks (such as
<a href='example/'></a>).- All hyperlinks that point to the current domain should probably be intercepted by ReactPy and rendered via
view_to_component. - Realistically, the end goal is to make
view_to_componentbehave as similarly to an iframe as technologically possible.
- All hyperlinks that point to the current domain should probably be intercepted by ReactPy and rendered via
- 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