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

Support showing invalid entries in Freqman and allow minor edits #1269

Merged
merged 6 commits into from Jul 13, 2023

Conversation

kallanreed
Copy link
Contributor

Introduces a concept of a "Raw" freqman entry that is only persisted as a string.
This allows Freqman to show comments, invalid entries and empty lines in grey.
String data is stashed in the entry description which allows the item to be edited in Freqman's description edit mode.

@NotherNgineer
Copy link
Contributor

Just curious: If freqman_type::Raw is used for all "Unknown" lines in the file, I was wondering if there's still a need for the freqman_type::Unknown ?

@kallanreed
Copy link
Contributor Author

Just curious: If freqman_type::Raw is used for all "Unknown" lines in the file, I was wondering if there's still a need for the freqman_type::Unknown ?

Unknown is the uninitialized state, Raw implies that the entry text has been read into the description. I think there’s a concept difference to warrant both.

Copy link
Member

@gullradriel gullradriel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Look good to me

@gullradriel gullradriel merged commit d72d935 into portapack-mayhem:next Jul 13, 2023
3 checks passed
@kallanreed kallanreed deleted the freqman_raw branch July 18, 2023 04:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants