question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

unread_inbox_emails with new UI

See original GitHub issue

HI @all after switching to gmail 2018 the number of unread mail is stop working. Back to old version and work again.

i found the call in the api.get.unread_inbox_emails

if(dom[0].text.indexOf

where to focus the problem. For me is not working, because the new UI in the a href text report only “Inbox” and not “Inbox (1)” like the older one. I found a solution switching from text to title like this

if(dom[0].title.indexOf

Anyone have the same issue?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
tosolinicommented, Aug 27, 2018

@josteink Thanks. I forgot to mention i have already tested on new and old interface on gsuite. I have to do it into regular-gmail.

I know about the code, and i havent changed the part introduced by @Thomas101 because i think the problem is before that part.

I have not test other api call, like draft and so on, because i’m not use it, but i’ll made some test on it

1reaction
Thomas101commented, Aug 27, 2018

@josteink the split on : handles a specific configuration when using priority inbox. It should still be relevant for the new UI.

The original PR has some more detailed info including steps to reproduce https://github.com/KartikTalwar/gmail.js/pull/326

Hope this helps 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

New inbox theme makes it hard to spot unread emails : r/GMail
New inbox theme makes it hard to spot unread emails. I've used themes to visually distinguish my different gmail accounts and have been ......
Read more >
Change your Gmail inbox layout - Computer - Google Support
Choose your inbox layout. On your computer, go to Gmail. Click Settings Settings and then Scroll to Inbox type. Select Default, Important first,...
Read more >
How to Sort Gmail by Unread Emails: Your Guide For 2022
Open the Gmail app and tap Menu. · Tap Settings and choose your Google account. · Tap Inbox type and then tap Unread...
Read more >
Unread designs, themes, templates and ... - Dribbble
Unread. Inspirational designs, illustrations, and graphic elements from the world's best designers. Want more inspiration? Browse our search results.
Read more >
How to change unread mail settings in Microsoft Outlook
This video explains how to change the settings in Microsoft Outlook to make unread emails stand out more and customise how and when...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found