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

Improve Search Result Parsing / Show Errors In Web UI #43

Merged
merged 9 commits into from
Nov 1, 2021

Conversation

evan-buss
Copy link
Owner

  • Show "N/A" when result doesn't include file size
  • Remove "%sometext%" text from title strings.
  • Show all parsing errors on the client and allow users to manually copy / paste the valid
    download string. There are always going to be edge cases that my parser can't deal with.
    This solution will allow users to download any of the search results regardless of parsing
    result.
  • Update NPM and Golang packages.

- Don't mutate the line as we parse. It makes
  it difficult to reason about the current
  state.
- Split each piece into a separate function
  that takes the original line and extracts
  only what we are looking for
- Handle and add tests for special cases like
  when the file size isn't present. Fixes #41.
- Example: %F77FE9FF1CCD%
- Look for the above format and remove it if present.
- Fixes #42.
- Allow users to manually copy and paste the
  result string so they can still download
  the files.
- When there are parse errors, a button appears
  at the top of the grid, allowing users to
  view all errors and the raw search result
  string in a separate errors grid. They can
  copy the search result manually to the top
  input box and click download.
@evan-buss evan-buss merged commit 1f66178 into master Nov 1, 2021
@evan-buss evan-buss deleted the feature/per-server-line-parsers branch November 1, 2021 02:29
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.

1 participant