-
Notifications
You must be signed in to change notification settings - Fork 21
[O2B-1534] Migrate log overview to use filtering model pattern #2083
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
Open
NarrowsProjects
wants to merge
58
commits into
main
Choose a base branch
from
improv/O2B-1534/Migrate-Log-Overview-to-use-FilteringModel-pattern
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
58 commits
Select commit
Hold shift + click to select a range
722caf7
chore: remove redundant model assignment.
f161cae
chore: move all filters denoted as so to a filteringModel
9faffaf
Make filterInputModel extend filterModel
247943b
rename inputfilter to ParsedInputFilter
114285d
implement authorfilter with ParsedInputFilterModel changes
f39f7ae
re-implement filter
df1fea3
add tag-filters to the filtering object
96ca85f
replace titleFilter and contentFilter with RawTextFilterModels
93b3291
make Authorfilter an implementation of RawTextFilterModel
5a5e830
add runs filter to the filteringmodel
b5e7148
add environments filter to the filteringmodel
3507ba0
add lhcFills filter to the filteringmodel
9c63409
add created filter to the filteringmodel
5500b3e
move the sort 'filter' to fetchlogs, since it doesn't actually filter…
a09ae8b
change filter to rawTextFilter for title
512999b
fix test by changing event type to 'change'
0f15812
fix content and author tests
7b641ca
import openFilteringPanel and resetFilters
5ab8218
fix createdAt filter test
4c96d73
change event types to change
18ce4dc
fix isAnyFilterActive
685dd38
remove _raw as from authorfilterModel, as it serves no purpose
4e132fd
chore: removed ParsedInputFilterModel
caf9812
chore: add toLowerCase to filterQueryParam computation
41c5a72
[O2B-1530] Lhc fills add sb duration filter (#2080)
NarrowsProjects f38f597
[O2B-1544] Fix pagination for filtered envs and add a test (#2096)
isaachilly 3efdf1d
remove the combination operator from runs
fc61bea
remove the combination operator from envirionments
9c4df68
remove the combination operator from lhcFills
b860320
make filter computation much more compact using filteringmodel.normalize
7a00043
add happy-flow tests for logs api
ada3eb3
fix usecase unit tests
d290be7
Merge branch 'main' into improv/O2B-1534/Migrate-Log-Overview-to-use-…
NarrowsProjects 0d8d3d4
Merge branch 'main' into improv/O2B-1534/Migrate-Log-Overview-to-use-…
NarrowsProjects 237683a
Merge branch 'main' into improv/O2B-1534/Migrate-Log-Overview-to-use-…
NarrowsProjects a222599
Merge branch 'main' into improv/O2B-1534/Migrate-Log-Overview-to-use-…
NarrowsProjects 7a5601f
Merge branch 'main' into improv/O2B-1534/Migrate-Log-Overview-to-use-…
NarrowsProjects 12dba35
Merge branch 'main' into improv/O2B-1534/Migrate-Log-Overview-to-use-…
NarrowsProjects 623fe33
chore: provide the authorFilterMode directly to the component
e082924
chore: alter rawTextFilter to accept a boolean parameter that determi…
b3dd4b7
chore: 1. revert previous change. 2. overwrite reset in author model …
12877b4
chore: remove true from the reset function call
370c475
chore: add placeholders for the new rawTextFilters
83e00ee
improve reset readability
82ff985
check runnumber fill number and lhc period for existence rather than …
1574c4d
undo test comments
0bcf334
chore rename reset to clear()
7731fd3
make overview test more efficient with beforeEach
3bf7e66
test: remove unneeded OpenFilterPanel calls
906674f
remove takescreenshot
a760812
Remove unneeded javadoc params
3addfc7
chore: change the with margins to roughly span the filters the entire…
85b9473
test: add happy-flow rootOnly test
e711fe9
test: add log sorting tests for runs and for envirionments
4fa1173
reduce the width of the author filter component
88db5d8
chore removed unneeded length checks from should successfully filter …
da4caf5
chore: remove the needless 'limit' part of the rootOnly logs test
c768ba5
Merge branch 'main' into improv/O2B-1534/Migrate-Log-Overview-to-use-…
NarrowsProjects File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
119 changes: 0 additions & 119 deletions
119
lib/public/components/Filters/common/filters/FilterInputModel.js
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see these
RunFilter, Environment, LHC being used across DTOs with different matching criterias.What about extracting this in its own DTO and reuse across DTOs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will have a look to see if they can be standardised