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

search-core: Adding Page Number to Segment #268

Merged
merged 4 commits into from
Jul 15, 2024

Conversation

vdarosa
Copy link
Contributor

@vdarosa vdarosa commented Jul 12, 2024

Added an optional parameter called pageNumber to Segments.ts

Test: Existing tests in search-core all pass

Added an optional parameter called pageNumber to Segments.ts
@vdarosa vdarosa requested a review from a team as a code owner July 12, 2024 20:08
@coveralls
Copy link

coveralls commented Jul 12, 2024

Pull Request Test Coverage Report for Build 9942181701

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 89.352%

Totals Coverage Status
Change from base Build 9715203780: 0.0%
Covered Lines: 219
Relevant Lines: 239

💛 - Coveralls


## Segment.pageNumber property

The page number of a segment from a pdf
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd prefer to say something like "The page number of the document that the segment came from. Only populated when document is a PDF file."
If you end up changing this, make sure to update other places as well

@EmilyZhang777
Copy link
Contributor

Also, this pr needs to be merged into a hotfix branch instead of master

@vdarosa vdarosa changed the base branch from master to hotfix/v2.5.2 July 15, 2024 15:04
Copy link

@vijay267 vijay267 left a comment

Choose a reason for hiding this comment

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

Seems good to me, but I'd wait for Emily's sign off before shipping.

@vdarosa vdarosa merged commit b6b0159 into hotfix/v2.5.2 Jul 15, 2024
12 checks passed
@vdarosa vdarosa mentioned this pull request Jul 15, 2024
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.

4 participants