-
Notifications
You must be signed in to change notification settings - Fork 36
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
Feature: Add Option to Expand Document Source #350
Conversation
Signed-off-by: Nicholas Ung <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #350 +/- ##
==========================================
+ Coverage 83.13% 84.74% +1.61%
==========================================
Files 32 32
Lines 415 413 -2
Branches 81 81
==========================================
+ Hits 345 350 +5
+ Misses 49 43 -6
+ Partials 21 20 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Signed-off-by: Nicholas Ung <[email protected]>
Signed-off-by: Nicholas Ung <[email protected]>
Nice incremental update here |
public/components/query_compare/search_result/result_components/result_panel.tsx
Outdated
Show resolved
Hide resolved
public/components/query_compare/search_result/result_components/result_grid.tsx
Outdated
Show resolved
Hide resolved
Signed-off-by: Nicholas Ung <[email protected]>
Signed-off-by: Nicholas Ung <[email protected]>
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.
Great work, I love it! Left one nitpick comment, but may need to change the .babelrc
as it's not passing tests still.
public/components/query_compare/search_result/result_components/result_grid.tsx
Outdated
Show resolved
Hide resolved
Signed-off-by: Nicholas Ung <[email protected]>
Signed-off-by: Nicholas Ung <[email protected]>
Signed-off-by: Nicholas Ung <[email protected]>
Signed-off-by: Nicholas Ung <[email protected]>
Signed-off-by: Nicholas Ung <[email protected]>
Signed-off-by: Nicholas Ung <[email protected]>
Signed-off-by: Nicholas Ung <[email protected]>
This reverts commit 8ec3868. Signed-off-by: Nicholas Ung <[email protected]>
6f5cfa8
to
3e8134d
Compare
Update merge changes
Signed-off-by: Nicholas Ung <[email protected]>
Signed-off-by: Nicholas Ung <[email protected]>
…rds-search-relevance into feature/issue-285
Signed-off-by: Nicholas Ung <[email protected]>
Signed-off-by: Nicholas Ung <[email protected]>
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.
Thanks for catching that! Just removed it.
Signed-off-by: Sean Li <[email protected]>
Signed-off-by: Sean Li <[email protected]>
* Add option to expand document source Signed-off-by: Nicholas Ung <[email protected]> * Remove redundant code Signed-off-by: Nicholas Ung <[email protected]> * Update test coverage Signed-off-by: Nicholas Ung <[email protected]> * Remove unused queryerror Signed-off-by: Nicholas Ung <[email protected]> * Update styling of results Signed-off-by: Nicholas Ung <[email protected]> * Update dependencies Signed-off-by: Nicholas Ung <[email protected]> * Add option to expand document source Signed-off-by: Nicholas Ung <[email protected]> * Remove redundant code Signed-off-by: Nicholas Ung <[email protected]> * Update test coverage Signed-off-by: Nicholas Ung <[email protected]> * Remove unused queryerror Signed-off-by: Nicholas Ung <[email protected]> * Update styling of results Signed-off-by: Nicholas Ung <[email protected]> * Update dependencies Signed-off-by: Nicholas Ung <[email protected]> * Revert "Update dependencies" This reverts commit 8ec3868. Signed-off-by: Nicholas Ung <[email protected]> * Signed-off-by: Nicholas Ung <[email protected]> Update merge changes * Move styling to scss file Signed-off-by: Nicholas Ung <[email protected]> * Update snapshots Signed-off-by: Nicholas Ung <[email protected]> * Update yarn.lock Signed-off-by: Nicholas Ung <[email protected]> * Remove unnecessary line in package.json Signed-off-by: Nicholas Ung <[email protected]> * manually updating snapshots for nung22 Signed-off-by: Sean Li <[email protected]> --------- Signed-off-by: Nicholas Ung <[email protected]> Signed-off-by: Sean Li <[email protected]> Co-authored-by: Sean Li <[email protected]> (cherry picked from commit 4e9feca) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Add option to expand document source * Remove redundant code * Update test coverage * Remove unused queryerror * Update styling of results * Update dependencies * Add option to expand document source * Remove redundant code * Update test coverage * Remove unused queryerror * Update styling of results * Update dependencies * Revert "Update dependencies" This reverts commit 8ec3868. * Signed-off-by: Nicholas Ung <[email protected]> Update merge changes * Move styling to scss file * Update snapshots * Update yarn.lock * Remove unnecessary line in package.json * manually updating snapshots for nung22 --------- (cherry picked from commit 4e9feca) Signed-off-by: Nicholas Ung <[email protected]> Signed-off-by: Sean Li <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Sean Li <[email protected]>
Description
Gives users the ability to expand the row to view the entire document source with
OuiPopover
. Also refactors thegetDlTmpl
functional component by usingOuiDescriptionList
,OuiDescriptionListTitle
, andOuiDescriptionListDescription
in place of standard HTML tags. Removes the:
in the source fields headers and updates their styling as well to make them more distinguishable from their values.Issues Resolved
Closes #285
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.
Screenshots
Source details closed
Source details open
In action