ArgLab / ArgLab/writing_observer

Add manual open/close functionality to LOConnection component

Open
#125 0 comments 0 reactions 0 assignees View on GitHub
good first issue javascript
Dominant language
Python
Stars
12
Forks
11
PR merge metrics
No merged PRs in 30d

Description

There is currently not a way to tell `lo_modules.LOConnection` to open or close. Currently, the functionality is handled in on initialization and when the `data_scope` value changes. We ought to have some property that can be called to manually open or close the socket.

Likely best to create new props and check if they changed in `componentDidUpdate`.

Update 10/28/24:
We are slowly transitioning away from Dash in Python toward using NextJS instead. We have a new LO Connection component in `lo_event/lo_assess/LOConnection` (#180) which should use this feature instead.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the existing lo_modules.LOConnection component and its data_scope update handling, then compare it with lo_event/lo_assess/LOConnection from issue #180. Confirm how the component is initialized and updated; done means the newer LO Connection component supports manually opening and closing its socket.

Written by the indexing model from the issue text.

Assessment

Tech stack
nextjs, python
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.