hydrusnetwork / hydrusnetwork/hydrus

Warn when discarding changes

Open
#337 0 comments 10 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature-request system:user-interface
Dominant language
Python
Stars
3.2k
Forks
207
PR merge metrics
No merged PRs in 30d

Description

Currently, hitting Cancel in windows will often silently discard any changes that have been made to the configuration in the respective context, even if those were made in some sub-window (e.g., parsers).

It would be neat to have an option (that could be enabled or disabled via setting) to warn users about unsaved changes if they hit Cancel.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Trace the Cancel handlers in the configuration windows, including parser sub-windows, and find the settings entry point for a user-toggleable warning. Done means unsaved changes are detected before Cancel discards them, the warning can be enabled or disabled, and the behavior is consistent across the affected windows.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.