Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report Missing/Invalid section to the status bar #229

Open
w7sst opened this issue Jan 27, 2024 · 0 comments
Open

Report Missing/Invalid section to the status bar #229

w7sst opened this issue Jan 27, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@w7sst
Copy link
Owner

w7sst commented Jan 27, 2024

Summary

Report Missing/Invalid section error/warning to the user.

Motivation

As user is entering callsign and exchange information, if the section is invalid or missing, Morse Runner will not allow the contract to be logged. The subsequent attempt should log the contact as entered.

Detailed Description

When entering exchange information, if the exchange is invalid (e.g. section), an error should be reported on the status bar (in Red). If user hits enter a second time, TU is sent and the QSO is logged as is, with the error. The error will usually be reported in the Log window. It is not necessary to open a dialog to report the error.

MorseRunner will issue a '?' to request the exchange to be repeated from the Dx Station if the Section exchange field is empty. If we start validating exchanges, then the Invalid/Missing Exchange error can be issued to the status bar. If an exchange field is missing, the cursor should stay in the current field and not move to the next field when Enter is pressed.

If we are only reporting a missing exchange, then the error should only be 'Missing Exchange'. We probably want a similar message to appear if either field is missing or invalid. I'm currently only thinking of the second field.

Additional context

N1MM reports the Missing/Invalid section when hitting enter the first time. On second attempt, a popup dialog occurs to report the missing/invalid section. User can click Yes/No to decide whether to log the QSO as is.

Tasks

@w7sst w7sst added the enhancement New feature or request label Jan 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant