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.

Auto-Away feature not very accessible

See original GitHub issue

So I thought it would be great if TL could automatically set myself away when I detach all clients. Turns out someone already had the idea and it was already implemented in #775. It didn’t work for me though.

I found out that this block is never being executed because client.awayMessage is an empty string. Apparently it has to be set in the user config. Setting myself away on a network just changes the network’s awayMessage item, not the one of the user itself.

So, if I understand correctly: in order to get the auto away feature working, the user (or their admin) has to edit the user.json file and set an away message - that is not very intuitive.

I suggest adding an input field for the user.awayMessage to the settings, so users could set their away message (without needing access to their config file) and by doing so, enable or disable the auto away feature. It could have a placeholder text like “Set a message to enable auto away” or “leave empty to disable auto away” or something.

This way,

  • it becomes clear that TL has an auto-away feature
  • every user, even those without access to their user config file, is able to enable/disable that feature
  • the feature works out of the box

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:16
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

8reactions
xPawcommented, Jan 16, 2019

This will be trivial to add to client settings, since we have client settings syncing now.

I’ll do this after the client has been ported to Vue.

2reactions
xPawcommented, Dec 2, 2019

As promised: #3549

Read more comments on GitHub >

github_iconTop Results From Across the Web

smartthings - When can we get access to nest autoaway status ...
Within the (JSON) data received back in the API, the 'auto away' status is accessible via; shared->{serial_number}->auto_away. This is set as a boolean...
Read more >
Auto Away Status after 5 Minutes - Microsoft Community
If the link is still not accessible, I suggest that you post this concern again on ... Many question what possible use this...
Read more >
Auto-away setup for Win and Mac desktop apps - LiveChat
Auto-away is a helpful feature that allows you to leave your desk without worrying about any unanswered chats. You are free to leave...
Read more >
Build a home automation auto-away assist for Nest ...
The problem is that the Nest does not always determine home / away properly. For example, I have two Nest units controlling two...
Read more >
Why am I being forced away? - Olark
You will receive a message from the Olark Helpdesk saying that you are being forced away when you have received a message from...
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