• Robert Knight's avatar
    Display chapter headings above cards in sidebar · 0a734296
    Robert Knight authored
    Visually group ebook annotations by chapter in the sidebar by displaying
    chapter headings above groups of annotations from a particular chapter.
    
    For each thread a "heading key" is extracted, which is currently the EPUB
    Content Document's CFI, taken from the "EPUBContentSelector" selector. For other
    annotation types we could use a different key in future. When rendering threads
    a heading is displayed above each thread where the key is different than the
    previously rendered thread.
    
    To avoid adding complexity to the virtualization calculations, the headings are
    rendered as part of the first thread in the group, and so the height of the
    heading element is included in the measured height for that thread.
    0a734296
Name
Last commit
Last update
..
Annotation Loading commit data...
GroupList Loading commit data...
hooks Loading commit data...
test Loading commit data...
AnnotationView.js Loading commit data...
AutocompleteList.js Loading commit data...
Excerpt.js Loading commit data...
FilterSelect.js Loading commit data...
FilterStatus.tsx Loading commit data...
HelpPanel.tsx Loading commit data...
HypothesisApp.js Loading commit data...
LaunchErrorPanel.js Loading commit data...
LoggedOutMessage.tsx Loading commit data...
LoginPromptPanel.js Loading commit data...
MarkdownEditor.js Loading commit data...
MarkdownView.js Loading commit data...
Menu.js Loading commit data...
MenuArrow.js Loading commit data...
MenuItem.js Loading commit data...
MenuKeyboardNavigation.js Loading commit data...
MenuSection.js Loading commit data...
ModerationBanner.js Loading commit data...
NotebookFilters.js Loading commit data...
NotebookResultCount.js Loading commit data...
NotebookView.js Loading commit data...
PaginatedThreadList.js Loading commit data...
PaginationNavigation.tsx Loading commit data...
SearchInput.js Loading commit data...
SelectionTabs.js Loading commit data...
ShareAnnotationsPanel.js Loading commit data...
ShareLinks.tsx Loading commit data...
SidebarContentError.js Loading commit data...
SidebarPanel.js Loading commit data...
SidebarView.js Loading commit data...
Slider.js Loading commit data...
SortMenu.tsx Loading commit data...
StreamSearchInput.js Loading commit data...
StreamView.js Loading commit data...
StyledText.js Loading commit data...
TagEditor.js Loading commit data...
TagList.js Loading commit data...
TagListItem.js Loading commit data...
Thread.js Loading commit data...
ThreadCard.js Loading commit data...
ThreadList.tsx Loading commit data...
ToastMessages.js Loading commit data...
TopBar.js Loading commit data...
Tutorial.tsx Loading commit data...
UserMenu.tsx Loading commit data...
VersionInfo.tsx Loading commit data...