gildas-lormeau / gildas-lormeau/SingleFile
Smart Button on the toolbar?
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 22.4k
- Forks
- 1.4k
- Avg merge
- 1h 32m
- Merged PRs (30d)
- 5
Description
Hello! Is it possible to make a button on the toolbar with dual functionality?
- If nothing on the page is selected, clicking the button saves the entire page.
- If there is a selection on the page, the button understands this itself and when you click on it, only the selected part is saved.
This would greatly increase the speed of using the add-on, and improve the usability.
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
The issue names no files, tests, or entry points. Start by locating the toolbar action and the existing page-saving flow, then determine how page selection is detected; done means one button saves the whole page when nothing is selected and only the selection when content is selected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100