8bitPit / Niagara-Issues

A place to submit feature requests and bug reports for Niagara Launcher, a modern + minimalist Android home screen optimized for one-✋ access and staying focused.
http://niagaralauncher.app
792 stars 35 forks source link

Tasker Integration - Add / Remove Favourites #786

Open folkg opened 5 years ago

folkg commented 5 years ago

If you could use Tasker conditions to add / remove apps from favourites you could create your own kind of smart app suggestions. If you are at work, you could add app x, y, z to favourites. If you are at home, you could remove x, y, z and add a, b ,c. Similar if you are driving. If you have a certain calendar event, you could add a certain app to the favourites.

Bushmills commented 5 years ago

Other actions could be:

8bitPit commented 5 years ago

Controlling your favorites with tasker sounds great. Besides the upcoming inbuilt Media & Car category you could create your own rules when an app should show up. Hope you can understand that the integration will be a pro feature, I believe the feature is necessary, but would a cool enhancement to Niagara. @Bushmills the tweaks you’re describing sound more minor to me. They’re also neat, but I would say they are on lower priority.

Bushmills commented 5 years ago

@8bitPit: Yes, minor in terms of effort to implement, I hope. But useful: Changing item colours resulting from some events are great indicators, without cluttering the screen with all kinds of stuff. I do use those with Lightning Launcher which provides Locale API (which tasker is using too, also Automagic which I'm using), for a handful of things. For example, proper "home/away" detection - I have a small reliability issue with this, so colouring the nav icon or label accordingly allows me to verify on a glimpse. Some modal stuff, like activating the proximity sensor for a specific action by gesture (of which I want some indicator too), charge/discharge (though I'm not using an item label for this) and some more. I think charme of colour change comes just from this being a very simple indicator. I've removed font size change of individual items prior to publishing thinking that may be a too involved action to interface.

8bitPit commented 5 years ago

Thanks for the explanation @Bushmills. I can understand now why changing colors for example would be neat. I'll see what I can do and let you know here when I start using their APIs.

Martin5001 commented 3 years ago

As to what @8bitPit mentioned in one of the issues linked above:

We plan to make this possible by integrating Tasker or other automation apps like Automate

I personally would prefer Automate over Tasker. I think Automate has much better UI and is easier to use. But of course someone might disagree – so it might be good to vote on this?

8bitPit commented 3 years ago

@Martin5001 luckily Automate and Tasker support the same API :)

Bushmills commented 3 years ago

As does Automagic, and supposedly a whole bunch of automation apps.

stephenwilley commented 3 years ago

+1 for this - it'd be great to be able to geofence favourite apps for example

josevega96 commented 3 years ago

Would really love this feature :), btw thanks for all you hard work

Manu99it commented 3 years ago

Would really love this! Also I would really like to have the possibility to hide the custom widget when certain conditions are met: for example when the media widget appears

IanDTrapp commented 3 years ago

I would love this to be able to show and hide my work apps during the work day. Glad to see this is gaining traction!

sandeshdroid commented 2 years ago

Niagara is about to become a full blown launcher. I think it's time to integrate with tasker. Tasker has lots of context. Fews to mention:

Bushmills commented 2 years ago

My suggestion is to get inspiration from Lightning Launcher for an idea of what range of functionally could be made controllable through Locale API. That launcher has the most comprehensive support of any launcher I've been looking at, beating Total Launcher (which provides only token support) by far.

I did write a short series of articles about launcher and automation app integration, which also show (but don't demonstrate all functions - there are too many) the extent of support that launcher offers. These articles have been published and are available online, as a possible substitute for actually looking at the launcher, if interested, at https://automagic4android.com/forum/viewtopic.php?t=5898

Btw, Lightning Launcher is still my launcher of choice, for exactly this reason.

sandeshdroid commented 2 years ago

I loved Lightning Launcher and TUI launcher(text based launcher, stored all parameters in file, just edit file with any automation app). Now, I want things that works with little effort. Anyway I am exiced to see what Niagara can do with automation.

Bushmills commented 2 years ago

I think the "trick" with an automation app supported launcher is simply: bind as many as possible launcher capabilities to the automation API, and let the user decide which ones he/she will actually invoke. A function made available but remaining unused hurts less than an unavailable one which the user intended to use, but can't The more extensive the set of provided functions, the fewer the launcher feature requests which can't be answered with "it's within scope of what you can customize yourself".

sandeshdroid commented 2 years ago

Please follow send intent approach. This have two benefits: no ui for tasker is necessary and any app(like shell, broadcast app) can do it. This is how Notify for MI Band does this.

damElo850 commented 2 years ago

Here are some of my additional suggestions: ☐ Option to change icons/walpepers via CLI / TaskerPlugin / intent ☐ Sending time for next Notification summary to tasker(event)/logcat ℹ️Why? 1️⃣This give the ability to automatically change icons and wallpapers to day/night Sets using Tasker and custom triggers (hour, sunset etc) 2️⃣Information about next notification summary will allow e.g. turn on Bluetooth 5min before in order to receive notification on my smartwatch

⚡Simple tutorial on how to add pligin in just 5 minutes: https://youtu.be/48IVJgDtu6Y

Thanks

CheariX commented 2 years ago

Any progress on this?

I'd really like to have a deeper Tasker integreation, but even a "condition to show a specific app as favourite", as mentioned by @8bitPit, would be super cool and reach a broad set of people. I can think of showing a "Maps" app when connected to a specific bluetooth device or a "Home Automation" app when connected to a specific wifi. Eventually it could even be combined with a time/day. This would make Niagra really smart!

sandeshdroid commented 2 years ago

Now this is 3 yrs old and may be no progress at all. Is it possible to make a separate foss 'niagara launcher tasker plugin' app, so dev and community both can work together. It will help to make niagara app minimal, bugs free if any to innocent non tasker niagara user. The app can be distributed through github, so no confusion or negative review bombing on playstore.

Developer-Mike commented 4 months ago

+1 This would be an awesome addition. Especially because the Niagara Launcher focuses on simplicity and cleanness. It would allow anyone to customise the launcher without adding any unnecessary UI elements to the launcher itself.

CheariX commented 4 months ago

Unfortunately, this features seems to receive the lowest priority. At least, we haven‘t got any information about its progress for a long time. It looks like Niagara is currently focusing more on appearance features (icons, wallpapers, clock styles).

Oddward commented 4 months ago

Unfortunately, this features seems to receive the lowest priority. At least, we haven‘t got any information about its progress for a long time. It looks like Niagara is currently focusing more on appearance features (icons, wallpapers, clock styles).

One of the reasons these have all been released now is because they were already being developed for a long time at different times, so having a customization themed release cycle made it fruitful (along with addressing a number of customization pain points at once).

This year should be focused elsewhere, like quality of life updates and hopefully some other main demands. It's another major feature so it'd require blocking out some time for it.

For now, I suggest advocates highlight exactly what kind of things they'd like to do with the integration to provide more context, and upvote.

damElo850 commented 4 months ago

Here are my suggestions for the plugin:

Events: ✅Niagara button tapped,moved up or held down🛠️example usage🛠️ tapping Niagara button turns on/off light bulb in room(with home assistant plugin) or activates performance mode or kills background apps

Actions: ✅Change wallpaper/icon pack, theme,fonts color🛠️example usage🛠️ change wallpaper+theme+icon pack based on time of day or weather ✅Action to launch shortcuts static and dynamic(from apps) created in Niagara 🛠️example usage🛠️ action to launch shortcut of radio with favorite station or favorite discord server or specific conversation/chat on Messenger/Whatsapp/telegram etc.

More about dynamic shortcuts: https://www.reddit.com/r/tasker/comments/gkounp/pluginbeta_taskerlaunchershortcut/

Simple tutorial how to add plugin to tasker in 5 minutes: https://youtu.be/48IVJgDtu6Y

stephenwilley commented 4 months ago

My suggestion for actions would be as the original title suggests: Add / Remove Favourites

As @folkg and @8bitPit pointed out originally, being able to update that 'front page' list depending on whether you're at work, or some other Tasker based trigger, would be great and allow a user-controllable extension of the 'Bluetooth is connected so show the audio player' style behaviour.

Developer-Mike commented 4 months ago

I agree with @stephenwilley that there's no need to overcomplicate things. What we need is a straightforward API that lets us alter the favorites list.

The API should have the capability to accept an Intent with the following parameters:

If the app is already in the favorites, it should be moved to the specified position. Furthermore, we need a separate Intent that only requires the package name as a parameter to remove an app from the list.

That would be my idea for implementing the feature. But maybe there is a better idea 🤷🏻‍♂️

TFackler commented 3 months ago

Someone also requested changing the favorites based on the device mode (e.g. bedtime mode). That should be doable using Tasker, but might also be great as a standalone trigger for non-power users.