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

When importing CAP alerts, do some internal check on hazard events, senders, dates etc and show options/actions before creating a draft #229

Open
erick-otenyo opened this issue May 23, 2024 · 0 comments

Comments

@erick-otenyo
Copy link
Member

Problem

  • Currently we are doing some of this checks when creating the draft, but don't give users options to associate imported info with existing predefined info like sender name, hazard event type etc, but instead we create new entries if no match is found

Solution

  • During the loading process, after succefully parsing the XML alert, check if the following info matches
    • Info Event type should match predifined hazard types, that have icons assigned. Give option to update the event type, or create new one, and associate with an Icon.
    • For Sender details, inform users when a new one will be created, with an option to select from existing ones

Benefit

  • We dont end up for example with alot of event types that are similar but created separately due to typos etc
@erick-otenyo erick-otenyo transferred this issue from wmo-raf/cap-composer Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: CAP Backlog
Development

No branches or pull requests

1 participant