Resolve `view_to_iframe` limitations
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
Research direction
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.
Written by the indexing model from the issue text.
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?
- Dominant language
- Python
- Stars
- 357
- Forks
- 22
- Avg merge
- 10h 31m
- Merged PRs (30d)
- 2
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from reactive-python/reactpy-django
-
Add coverage tests Opencomplexity: 3 (low) priority: 3 (low) type: ci
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
complexity: 1 (high) priority: 1 (high)
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
complexity: 2 (medium) priority: 3 (low)
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
complexity: 1 (high) priority: 2 (moderate)
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
complexity: 2 (medium) priority: 2 (moderate) type: investigation
Difficulty 5/5 Over a week Newbie friendliness 20/100
All issues in reactive-python/reactpy-django
Similar issues
-
link-check link-check:sphinx-theme
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
qgis/QGIS-Documentation#11275 ·
-
bug priority:normal ready-for-dev
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
OpenHands/extensions#626 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
CSCfi/sd-search-api#39 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100