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

SmartLink patches #10

Closed
7 tasks done
pgaskin opened this issue Mar 2, 2019 · 1 comment · Fixed by #11
Closed
7 tasks done

SmartLink patches #10

pgaskin opened this issue Mar 2, 2019 · 1 comment · Fixed by #11
Assignees
Labels
new patch Type: Requests for new patches or additions to patches. patches Category: Relates to the patches.

Comments

@pgaskin
Copy link
Owner

pgaskin commented Mar 2, 2019

  • Figure out how it works
  • Patches
    • Set visible SmartLink
    • Only show pocket
    • Only show stats
    • Remove Kobo Plus, wishlist, and points SmartLinks
  • Test
@pgaskin pgaskin added the enhancement Type: Improvement (but not a new patch or update). label Mar 2, 2019
@pgaskin pgaskin self-assigned this Mar 2, 2019
@pgaskin
Copy link
Owner Author

pgaskin commented Mar 2, 2019

The stuff I figured out about how SmartLinks work:

SmartLinks: (name from SmartLinkWidget::getAnalyticsMessage)
 # - internal name   - default condition                                   - what                                                             - action
PRIORITY MESSAGES (shown first up to 3 times each): (SmartLinkWidget::showPriorityMessage, ActivityManager::smartLinkPriorityMessage, SmartLinkWidget::tapped)
 5 - ReleaseNotes    - whats new available from Activity                   - RELEASE NOTES: Find out what's new in this software update       - whats new (from Activity)
 6 - OverdriveFTE    - overdrive enabled && not signed in                  - OVERDRIVE: Learn how to borrow eBooks from your public library   - overdrive about
 7 - KoboPlusFTE     - kobo plus enabled && not subscribed                 - KOBO PLUS: Browse Kobo Plus books                                - kobo store -> kobo plus
ROTATION MESSAGES (randomly chosen): (SmartLinkWidget::showRotationMessage, ActivityManager::smartLinkGeneralMessage, SmartLinkWidget::tapped)
 1 - Pocket          - pocket not signed in                                - POCKET: Read articles from the web on your eReader               - pocket about
 2 - KoboPlus        - kobo plus enabled && not subscribed                 - KOBO PLUS: Get unlimited access to books in all genres           - kobo store -> kobo plus
 2 - KoboPlus        - kobo plus enabled && not subscribed                 - KOBO PLUS: Read as much as you want with our ebook subscription  - kobo store -> kobo plus
 3 - Overdrive       - overdrive enabled && not signed in                  - OVERDRIVE: Borrow eBooks from your public library                - overdrive about
 4 - Categories      - always                                              - CATEGORIES: Browse fiction, romance, biography and more          - kobo store -> categories
 8 - NaturalLight    - has light sensor && not viewed tutorial             - DEVICE NAME: Learn about the Natural Light feature               - rgb front light about
 9 - QuickTour       - quick tour not shown && quick turn tile not visible - GETTING STARTED: Get to know your %0                             - quick tour
10 - ReadingTour     - read a book tour not showed                         - READING A BOOK: Get quick tips about reading on your eReader     - read a book tutorial
11 - UserGuide       - user guide present && not opened                    - USER GUIDE: Read the user guide for your %0                      - read -> user guide
12 - RelatedReads    - recent book available from Activity                 - RELATED READS: Discover books related to the ones you're reading - browse -> similar books
13 - Wishlist        - no wishlist items || something else                 - WISHLIST: Create a Wishlist of books you're interested in        - browse -> wishlist
14 - ReadingSettings - reading settings not changed                        - READING SETTINGS: Customize the way you read a book              - settings -> reading settings
15 - ReadingStats    - books finished > 0 && hours read rounded to .5 > 0  - READING STATS: You've finished %n books and read for %n hours    - reading life -> stats
16 - SuperPoints     - participating in super points && points > 2400      - KOBO SUPER POINTS: You have %0 Super Points to redeem            - kobo store
17 - PocketUser      - unread pocket articles > 0                          - POCKET: Catch up on the %n article(s) you added recently         - library -> pocket

@pgaskin pgaskin added new patch Type: Requests for new patches or additions to patches. patches Category: Relates to the patches. and removed enhancement Type: Improvement (but not a new patch or update). labels Oct 4, 2019
@pgaskin pgaskin mentioned this issue Mar 3, 2020
20 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new patch Type: Requests for new patches or additions to patches. patches Category: Relates to the patches.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant