owntracks / ios

OwnTracks' iPhone App
http://owntracks.org
Other
337 stars 91 forks source link

Enhancement -> Future: Notification Center widget. #113

Closed matbor closed 9 years ago

matbor commented 9 years ago

I was playing with an app called 'today steps' and it has an excellent 'Notification Center widget' and I was thinking that owntracks for iOS could have something similar.

Whereby it lists the friends you follow and next to that it displays the following information. (You would tap to change between each item.)

Just an idea, which would require a bit of coding, but something for the future versions.

ckrey commented 9 years ago

You mean to put this here?: ios simulator screen shot 07 03 2015 11 52 00

matbor commented 9 years ago

Forgot to mention that part, you would need to favourite the ones that you want to see in the list first. Obviously you wouldn't want to see everything.

jpmens commented 9 years ago

I agree that you'd need to favorite the friends you want to see to avoid clutter. Last update could be HH:MM with an indicator whether recent (i.e today) or older to save space (no full date required).

matbor commented 9 years ago

Maybe put the time if it is the same day that it was last updated and if it is more than a day just start counting the days.

ie.

For same day; 15:34

If no contact for more than a day; +2 days (or +2d)

And to favourite a contact within each contact would you just use the 'heart' symbol like the camera roll uses? Or a 'star' like Dropbox.

ckrey commented 9 years ago

Anyone wants to sponsor an AppleWatch for testing? ;-)

matbor commented 9 years ago

Everyone chip in for the gold version?

On Monday, March 16, 2015, Christoph Krey notifications@github.com wrote:

Anyone wants to sponsor an AppleWatch for testing? ;-)

— Reply to this email directly or view it on GitHub https://github.com/owntracks/ios/issues/113#issuecomment-81519200.

ckrey commented 9 years ago

Getting there:

bildschirmfoto 2015-03-17 um 13 41 06

jpmens commented 9 years ago

Gorgeous!

jpmens commented 9 years ago

If you need space, you could use tid instead of full name ...

ckrey commented 9 years ago

And here comes your AppleWatch: bildschirmfoto 2015-03-17 um 21 58 06

matbor commented 9 years ago

Looking good.

Suggestion, display just the time last updated first and then if you tap it display the distance and then another tap will display the suburb/town/country (or vice versa). Makes it cleaner.

On Wed, Mar 18, 2015 at 7:58 AM, Christoph Krey notifications@github.com wrote:

And here comes your AppleWatch: [image: bildschirmfoto 2015-03-17 um 21 58 06] https://cloud.githubusercontent.com/assets/4027289/6697423/b619515e-ccf0-11e4-827d-cb0ef8865847.png

— Reply to this email directly or view it on GitHub https://github.com/owntracks/ios/issues/113#issuecomment-82597685.

ckrey commented 9 years ago

Now it looks exactly as you wished. Get the next test version in Testflight soon

ckrey commented 9 years ago

postponed until after the solution to urgent problems

matbor commented 9 years ago

Good work, No hurry.

matbor commented 9 years ago

@ckrey notification widget looks awesome, maybe lose the lines in between friends ? Will look similar to other widgets then.

jpmens commented 9 years ago

The notification widget is gorgeous, yes, and I don't think I'd change anything on it -- it's optically beautiful.

Matt: have you tapped on one of the friends? Tap once and you get last PUB times. Tap again, and you get addresses of location of last PUB. Tap again, and you're back where you started.

Once again: gorgeous, @ckrey! Now, about that Apple Watch ... ;-)

matbor commented 9 years ago

@jpmens yep, works nicely.

Just having a few problems with the addressbook atm. Strange owntracks has me listed twice, but I can only see me once in the actual ios addressbooks.

stefanoco commented 9 years ago

Sounds really awsome @ckrey!!! How do I select friends for whom to get notifications?

jpmens commented 9 years ago

You currently cannot. The first 4 listed will be shown. (And: this will remain like this for a bit, as we're working on a lot of stuff at this moment. :-)

stefanoco commented 9 years ago

Aha ok I understand. I'm not getting notifications at the moment, what should I check first? I have Notification Center enabled for OwnTracks, one friend sending waypoints every 20s correctly shown on map. BTW I think this makes OwnTracks really one step forward for many users! Could think of so many use modes.

jpmens commented 9 years ago

Not notifications. It's a swipe-down thing from the home screen which you have to add first (I assume you're running 8.0.4?) Sipe down, show "Today" view, at bottom is "Edit". Add Owntracks.

stefanoco commented 9 years ago

Now I see, didn't know about this. OwnTracks (8.0.4) is not an option in the "Edit" menu should I also upgrade iOS to 8.2 (currently 8.1.3)?

jpmens commented 9 years ago

Today Widgets are in iOS > 8.0.0 iirc. Look around a bit

ckrey commented 9 years ago

I think 8.1.3 should support this: ios simulator screen shot 05 04 2015 17 18 03 ios simulator screen shot 05 04 2015 17 17 56

ckrey commented 9 years ago

Currently the widget for today will display up to 4 friends. The friends to be shown are the ones which are linked to your address book.

ckrey commented 9 years ago

Implented forward/backward scrolling bildschirmfoto 2015-04-05 um 18 09 42

stefanoco commented 9 years ago

It does not show as an option in the "do not include" list, I'm upgrading to 8.2 and check again

stefanoco commented 9 years ago

Done iOS 8.2 - works now! Great job @ckrey.

I realized too late that a restart of the iPhone could have been also a solution, didn't restart since last upgrade of OwnTracks.

jpmens commented 9 years ago

A restart would not have been required. This must have been some other quirk, maybe OS version. Anyway, good that it works for you.

stefanoco commented 9 years ago

I'm finding this feature really amazing. Example: add your home location as a "friend" with a single retained mqtt msg and you will have your distance from home constantly updated with a swipe down.

matbor commented 9 years ago

Good idea.

ckrey commented 9 years ago

Wait for 8.0.6: bildschirmfoto 2015-04-08 um 11 27 11 And Watch: bildschirmfoto 2015-04-08 um 11 28 33