Add an optional pop-up notification when auto-turn is toggled (#496)

* Implement (most of) pop-up notification when autoturn is enabled

* Add neato fading: doesn't appear to impact performance

* formatting

* added macro and UI for notification of auto-turn

* changed notification default to true for auto-turn

* added common issue for trackers

* added warning for custom keys

* minor documentation markdown format fixes

* fix qml syntax error in atgb

* gasd

Co-authored-by: ykeara <ykeara1@gmail.com>
This commit is contained in:
Chelsea Jaggi
2020-08-11 20:03:35 -05:00
committed by GitHub
co-authored by ykeara
parent 90d980dcab
commit 6d1953070a
13 changed files with 324 additions and 32 deletions
+11
View File
@@ -57,4 +57,15 @@ optional<string> settingsDirectory()
return path.toStdString();
}
std::optional<std::string> verifyIconFilePath( std::string filename )
{
const auto notifIconPath = paths::binaryDirectoryFindFile( filename );
if ( !notifIconPath.has_value() )
{
LOG( ERROR ) << "Could not find icon \"" << filename << "\"";
}
return notifIconPath;
}
} // namespace paths
+2
View File
@@ -12,4 +12,6 @@ optional<string> binaryDirectoryFindFile( string fileName );
optional<string> settingsDirectory();
std::optional<std::string> verifyIconFilePath( std::string filename );
} // namespace paths