1. 14 Dec, 2023 1 commit
    • Robert Knight's avatar
      Split backend search / filter fields and support more focus filters · 160feeb8
      Robert Knight authored
      Refactor query parsing functions in preparation for adding new focus
      modes:
      
       - Use different sets of field names when parsing queries for the sidebar's
         filter bar and backend search. The supported filters are different.
      
       - Make the `focusFilters` argument to `parseFilterQuery` more general so we can
         support adding in additional filters. The immediate use case is adding in
         `cfi` and `page` filters to support new focus modes.
      160feeb8
  2. 12 Dec, 2023 8 commits
  3. 11 Dec, 2023 10 commits
  4. 06 Dec, 2023 5 commits
  5. 05 Dec, 2023 3 commits
  6. 04 Dec, 2023 8 commits
  7. 30 Nov, 2023 3 commits
    • Robert Knight's avatar
      Make page index retrieval work in EPUB-based books · 133ef3e7
      Robert Knight authored
      In real EPUB-based VS books, the `index` field of `PageInfo` objects returned by
      the `getCurrentPage` and `getPages` methods is undefined. Our mock VS book was
      incorrect in this respect.
      
      Correct the mock book to behave like real VS books here, and add a fallback
      method to obtain a page index for EPUB-based books by looking up the page in the
      list of pages returned by `MosaicBookElement.getPages`.
      133ef3e7
    • Robert Knight's avatar
      Add page number selectors to annotations in VitalSource EPUB books · 7c53e17e
      Robert Knight authored
      Previously page number selectors were only added for PDF-based books. We are
      soon going to want the ability to filter annotations in the sidebar by page
      number, so record them for EPUB-based books as well. Previously there was a
      concern about how reliable the page numbers would be. I think the VS
      documentation for publishers, mentioned in the comments added here, addresses
      that.
      7c53e17e
    • Alejandro Celaya's avatar
  8. 29 Nov, 2023 1 commit
  9. 28 Nov, 2023 1 commit