Resolve `view_to_component` 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 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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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
- 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