Simplify find/replace dialog using tabId #850
Labels
changelog:api
A changelog entry should be put in the API section of the changelog.
good first issue
Relatively easy to fix. This is a perfect issue if you are willing to create a Pull Request.
status:confirmed
An issue confirmed by the development team.
target:major
Any docs related issue that should be merged into a major branch.
type:task
Any other issue (refactoring, typo fix, etc).
Milestone
Are you reporting a feature request or a bug?
Task
Provide detailed reproduction steps (if any)
Looks like find dialog (
plugins/find/dialogs/find.js
) is making two dialog objects that are virtually the same. AFAICT the only reason it was made, is just to focusfind
tab on startup in one case and thereplace
in other.With #830 in place, we have a nice parameter in
dialogCommand
that allows us to focus a given tab with just one property.So we should define only one dialog object, but for compatibility reasons keep two different commands as it is today (but still both pointing to the same dialog, just different start tab).
Other details
It came out in this discussion: #569 (comment)
The text was updated successfully, but these errors were encountered: