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

Span Search - Improve search logic #237

Merged
merged 16 commits into from
Sep 30, 2018

Conversation

davit-y
Copy link
Contributor

@davit-y davit-y commented Aug 23, 2018

Which problem is this PR solving?

Short description of the changes

  • Change fuzzy search to contains
  • Include tags, processes, logs in search

TODO

  • Unit tests
  • Help section for search

"Improve search logic" is the first commit of this branch, PR will be cleaner once #234 is merged

Davit Yeghshatyan added 11 commits August 16, 2018 19:30
Signed-off-by: Davit Yeghshatyan <davo@uber.com>
Signed-off-by: Davit Yeghshatyan <davo@uber.com>
Signed-off-by: Davit Yeghshatyan <davo@uber.com>
Signed-off-by: Davit Yeghshatyan <davo@uber.com>
Signed-off-by: Davit Yeghshatyan <davo@uber.com>
Signed-off-by: Davit Yeghshatyan <davo@uber.com>
Signed-off-by: Davit Yeghshatyan <davo@uber.com>
Signed-off-by: Davit Yeghshatyan <davo@uber.com>
Signed-off-by: Davit Yeghshatyan <davo@uber.com>
Signed-off-by: Davit Yeghshatyan <davo@uber.com>
Signed-off-by: Davit Yeghshatyan <davo@uber.com>
@davit-y davit-y mentioned this pull request Aug 23, 2018
3 tasks
Davit Yeghshatyan added 2 commits August 24, 2018 17:35
Signed-off-by: Davit Yeghshatyan <davo@uber.com>
Signed-off-by: Davit Yeghshatyan <davo@uber.com>
@codecov
Copy link

codecov bot commented Aug 24, 2018

Codecov Report

Merging #237 into master will decrease coverage by 1.58%.
The diff coverage is 27.9%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #237      +/-   ##
==========================================
- Coverage   78.61%   77.03%   -1.59%     
==========================================
  Files         135      135              
  Lines        2927     2952      +25     
  Branches      607      614       +7     
==========================================
- Hits         2301     2274      -27     
- Misses        495      535      +40     
- Partials      131      143      +12
Impacted Files Coverage Δ
.../src/components/TracePage/KeyboardShortcutsHelp.js 20% <ø> (-13.34%) ⬇️
...-ui/src/components/TracePage/keyboard-shortcuts.js 81.81% <ø> (ø) ⬆️
.../components/TracePage/TraceTimelineViewer/index.js 100% <ø> (ø) ⬆️
...c/components/TracePage/TraceTimelineViewer/duck.js 100% <ø> (ø) ⬆️
...components/TracePage/TracePageSearchBar.markers.js 100% <ø> (ø)
...ger-ui/src/components/TracePage/TracePageHeader.js 70% <0%> (-10%) ⬇️
...cePage/TraceTimelineViewer/VirtualizedTraceView.js 93.51% <100%> (-0.35%) ⬇️
...ckages/jaeger-ui/src/components/TracePage/index.js 65.64% <12.5%> (-29.41%) ⬇️
...-ui/src/components/TracePage/TracePageSearchBar.js 75% <75%> (ø)
...ges/jaeger-ui/src/components/common/LabeledList.js 20% <0%> (-80%) ⬇️
... and 5 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d148dc5...cc2401f. Read the comment docs.

@ghost ghost assigned tiffon Sep 27, 2018
@ghost ghost added the review label Sep 27, 2018
Signed-off-by: Joe Farro <joef@uber.com>
@codecov
Copy link

codecov bot commented Sep 27, 2018

Codecov Report

Merging #237 into master will decrease coverage by 0.4%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #237      +/-   ##
==========================================
- Coverage   77.46%   77.05%   -0.41%     
==========================================
  Files         135      135              
  Lines        2933     2951      +18     
  Branches      608      614       +6     
==========================================
+ Hits         2272     2274       +2     
- Misses        524      534      +10     
- Partials      137      143       +6
Impacted Files Coverage Δ
...ckages/jaeger-ui/src/components/TracePage/index.js 65.64% <0%> (-10.46%) ⬇️
packages/jaeger-ui/src/utils/date.js 90% <0%> (+5%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5fbf9a9...1076bd5. Read the comment docs.

Copy link
Member

@tiffon tiffon left a comment

Choose a reason for hiding this comment

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

Nice work!

@tiffon
Copy link
Member

tiffon commented Sep 27, 2018

@yurishkuro Can you merge this? I will resolve the test coverage reduction when I address test coverage, overall.

@yurishkuro yurishkuro merged commit 35841f7 into jaegertracing:master Sep 30, 2018
@ghost ghost removed the review label Sep 30, 2018
vvvprabhakar pushed a commit to vvvprabhakar/jaeger-ui that referenced this pull request Jul 5, 2021
* Add result count, navigation and clear buttons

Signed-off-by: Davit Yeghshatyan <davo@uber.com>

* Correct imports

Signed-off-by: Davit Yeghshatyan <davo@uber.com>

* Move and delete files

Signed-off-by: Davit Yeghshatyan <davo@uber.com>

* Review fixes

Signed-off-by: Davit Yeghshatyan <davo@uber.com>

* Fix TracePageHeader test

Signed-off-by: Davit Yeghshatyan <davo@uber.com>

* Lighten buttons when disabled

Signed-off-by: Davit Yeghshatyan <davo@uber.com>

* Review fixes

Signed-off-by: Davit Yeghshatyan <davo@uber.com>

* Fix tests

Signed-off-by: Davit Yeghshatyan <davo@uber.com>

* Add shortcuts

Signed-off-by: Davit Yeghshatyan <davo@uber.com>

* Fix merge changes

Signed-off-by: Davit Yeghshatyan <davo@uber.com>

* Fix TracePageHeader and TracePageSearchBar tests

Signed-off-by: Davit Yeghshatyan <davo@uber.com>

* Delay TracePageHeader testing until release of Enzyme v3.5.0

Signed-off-by: Davit Yeghshatyan <davo@uber.com>

* Improve search logic

Signed-off-by: Davit Yeghshatyan <davo@uber.com>

* Misc cleanup to fix a lint issue

Signed-off-by: Joe Farro <joef@uber.com>

Signed-off-by: vvvprabhakar <vvvprabhakar@gmail.com>
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.

3 participants