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

[PATTERNS_VIEW] Allow to save combinations as the separate items in a patterns view #148

Open
svlad-90 opened this issue Feb 2, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request patterns_view Issure is related to the [PATTERNS_VIEW] domain
Milestone

Comments

@svlad-90
Copy link
Owner

svlad-90 commented Feb 2, 2021

The idea is that for a specific domain we need to check different use-cases, which are quite complex. They consist of different parts. Some parts are common between those use-cases. The idea is to create the vocabulary of regex patterns for small steps and re-use them between the scenarios.

The issue is that currently, the plugin allows saving only one set of favorite items. But we have around 10 use-cases each of which consists of ~10-20 smaller steps.

To step over this issue we would like to have a possibility to save patterns that do consist of references to the other patterns. There is no need to mix textual regex-es with the references inside one stored element. We are thinking of allowing the user to set the type of the stored element and for "reference-based" elements allow to select the items from the tree.

  • It should be possible to include "reference-based items" inside the other "reference-based items".
  • We should check that created references are acyclic to avoid recursion.
  • In case if some of the referenced items were deleted - they should be removed from the referenced elements
  • In case if a type of the element was changed from "referenced-based" to "textual" the default text value should be formed from all referenced values
@svlad-90 svlad-90 added enhancement New feature or request patterns_view Issure is related to the [PATTERNS_VIEW] domain labels Feb 2, 2021
@svlad-90 svlad-90 added this to the v.1.0.25 milestone Feb 2, 2021
@svlad-90 svlad-90 self-assigned this Feb 2, 2021
@svlad-90
Copy link
Owner Author

svlad-90 commented Feb 8, 2021

The way to implement:

  • Reuse patterns view with limited functionality. Achievable via the initialization switch which can be passed in the constructor of the view and model
  • Extension of the persistency to store extended description of the patterns: +pattern-type +pattern-reference-UUID
  • Extension of logic to form regex-section
  • Handling of corner cases - renaming of the items, removal of items, cyclic references, reference to self etc.

@svlad-90 svlad-90 modified the milestones: v.1.0.25, v.1.0.27 May 25, 2023
@svlad-90 svlad-90 modified the milestones: v.1.0.27, v.1.0.28 Nov 15, 2023
@svlad-90 svlad-90 modified the milestones: v.1.0.28, backlog Jul 23, 2024
@svlad-90 svlad-90 moved this to To do in DLTMessageAnalyzer Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request patterns_view Issure is related to the [PATTERNS_VIEW] domain
Projects
Status: To do
Development

No branches or pull requests

1 participant