Refactor alert parsing

Open
#207 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Stale
Tech stack
dart, flutter
Domain
mobile

Research direction

Start by reading warning_detail_view.dart and trace how alert HTML blocks are turned into styled text widgets. Compare the current parsing behavior with the alert formats the app receives; the issue does not name tests or specify required cases. Done means a simpler parsing approach that preserves the alerts' style information.

Written by the indexing model from the issue text.

Description

refactoring

The alert parsing in warning_detail_view should be refactored as the current implementation is too error-prone. We should find a better implementation to parse HTML blocks into text widgets.

affected files: warning_detail_view.dart
goal: simpler and cleaner solution to generate text blocks from alerts with style information like HTML

Dominant language
Dart
Stars
259
Forks
13
Avg merge
18m
Merged PRs (30d)
1

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from nucleus-ffm/foss_warn

All issues in nucleus-ffm/foss_warn

Similar issues

More Dart issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.