feat: silent pre-indexing with configurable status bar indicator
Port PR #979's silent pre-indexing and add an Indexing Display setting (Popup / Status Bar Text / Status Bar Icon) so users can choose how indexing feedback is shown. Silent pre-indexing runs on text-only penultimate pages when a status bar option is selected, with a standard requestUpdate to clear the indicator. Image pages skip silent indexing to avoid e-ink grayscale pipeline conflicts; the normal popup handles those transitions. Direct chapter jumps always show the original small popup regardless of setting. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -65,6 +65,10 @@ inline std::vector<SettingInfo> getSettingsList() {
|
||||
{StrId::STR_NONE_OPT, StrId::STR_NO_PROGRESS, StrId::STR_STATUS_BAR_FULL_PERCENT,
|
||||
StrId::STR_STATUS_BAR_FULL_BOOK, StrId::STR_STATUS_BAR_BOOK_ONLY, StrId::STR_STATUS_BAR_FULL_CHAPTER},
|
||||
"statusBar", StrId::STR_CAT_DISPLAY),
|
||||
SettingInfo::Enum(
|
||||
StrId::STR_INDEXING_DISPLAY, &CrossPointSettings::indexingDisplay,
|
||||
{StrId::STR_INDEXING_POPUP, StrId::STR_INDEXING_STATUS_TEXT, StrId::STR_INDEXING_STATUS_ICON},
|
||||
"indexingDisplay", StrId::STR_CAT_DISPLAY),
|
||||
SettingInfo::Enum(StrId::STR_HIDE_BATTERY, &CrossPointSettings::hideBatteryPercentage,
|
||||
{StrId::STR_NEVER, StrId::STR_IN_READER, StrId::STR_ALWAYS}, "hideBatteryPercentage",
|
||||
StrId::STR_CAT_DISPLAY),
|
||||
|
||||
Reference in New Issue
Block a user