popcodeorg / popcodeorg/popcode
Expanding an editor should focus it
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 191
- Forks
- 143
- Avg merge
- 4d 11h
- Merged PRs (30d)
- 5
Description
If an editor is collapsed, and the coder expands it, it should automatically be focused (this is the natural expectation).
I think we can just use the existing ui.editors.requestedFocusedLine mechanism to do this.
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.
Research direction
Start by reading src/reducers/ui.js, especially the existing ui.editors.requestedFocusedLine mechanism at lines 66-76, and trace where expanding an editor is handled. Done means expanding a collapsed editor automatically focuses it, using that mechanism where appropriate; verify the behavior in the editor UI.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100