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

Feat/56 configuration for regex inputs #67

Merged
merged 12 commits into from
Dec 13, 2022

Conversation

BeierKevin
Copy link
Contributor

@BeierKevin BeierKevin commented Dec 12, 2022

PR description

Describe your changes in detail here

The proper connection between backend regex (value|constraint) and the UI has been made. Additionally, in the run view when the start button is pressed a proper output what has been captured is noted down.

Definition Of Done (DoD)

This PR can be squashed / merged if

  • a developer is assigned
  • the PR is NOT estimated
  • the PR is labeled
  • the PR is assigned to the current sprint
  • a meaningful title has been set according to https://www.conventionalcommits.org/
  • the PR is described in detail
  • the PR links to an issue
  • the PR has been reviewed

Add additional conditions here if necessary for this PR

fixes: #56

Kevin Beier added 8 commits December 12, 2022 00:06
Signed-off-by: Kevin Beier <[email protected]>
Signed-off-by: Kevin Beier <[email protected]>
Signed-off-by: Kevin Beier <[email protected]>
Signed-off-by: Kevin Beier <[email protected]>
Signed-off-by: Kevin Beier <[email protected]>
@BeierKevin BeierKevin added Phase: Construction RUP: Implementation improvement Some layout / structure / performance optimization labels Dec 12, 2022
@BeierKevin BeierKevin requested a review from Claiyc December 12, 2022 14:18
@BeierKevin BeierKevin self-assigned this Dec 12, 2022
Copy link
Member

@Claiyc Claiyc left a comment

Choose a reason for hiding this comment

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

Timestamp does not work (timestamp for older log entrys gets replaced for every new one that's being added):
grafik
(notice how the time is always the same)

Also we shouldn't display anything if no value is found (check for rating = -1)

Also please do not show (?:) for emtpy regex (check for that string and replace with nothing)

src/components/LogOutput.vue Outdated Show resolved Hide resolved
src/proc/TesseractHandler.ts Outdated Show resolved Hide resolved
src/proc/regex/Regex.ts Outdated Show resolved Hide resolved
@BeierKevin
Copy link
Contributor Author

Why should be display nothing if nothing is matched, via the rating -1 the user knows that something is wrong with the regex

@Claiyc
Copy link
Member

Claiyc commented Dec 12, 2022

Why should be display nothing if nothing is matched, via the rating -1 the user knows that something is wrong with the regex

We should find some other solution for that in the future imo. Agreed for now.

Copy link
Member

@Claiyc Claiyc left a comment

Choose a reason for hiding this comment

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

Timestamp still wrongly updated.

Regex matching does not seem to work as expected. See #66

src/components/capture-area/CaptureAreaSearchValue.vue Outdated Show resolved Hide resolved
src/proc/regex/Regex.ts Outdated Show resolved Hide resolved
Kevin Beier added 3 commits December 12, 2022 22:41
Signed-off-by: Kevin Beier <[email protected]>
Signed-off-by: Kevin Beier <[email protected]>
@BeierKevin BeierKevin merged commit 0684b2d into main Dec 13, 2022
@BeierKevin BeierKevin deleted the feat/56-configuration-for-regex-inputs branch December 13, 2022 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Some layout / structure / performance optimization Phase: Construction RUP: Implementation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add configuration options for regex
2 participants