-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[calendar][agenda] Feature request: calendar view of Gadgetbridge-synchronized events #3707
Comments
I would prefer option 4. Have calendar and agenda use the same appointment source and only this. I see no point in having multiple apps using their own data source. This should be handled similar to waypoints or scheduler. I was not aware of agenda when I added the holidays to the simple calendar, this is why it uses its own. Agenda seems to read android.calendar.json - does anyone have a description of this file? Does it cover all features of calendar? Basically it is only
|
It looks like calendar entries are created in lib.js in If adapting Also, I suspect that android.calendar.json is effectively read-only, since it's synced from Gadgetbridge. It might be possible to write to android.calendar.json, but those writes won't be sent back to the phone and may be overwritten by Gadgetbridge (I'm guessing, this might be avoidable if id values don't conflict). If you want In summary, if you want
These changes seem pretty significant to me, but @nxdefiant, you know |
as long as we can identify a mapping this should be ok
can we just add a field? Non Gadgetbridge users will just ignore it and it just won't be set or needed for Gadgetbridge user.
This is not good. However see answer to point 5 below
Sure, including a one time migration in app or via interface.html
Should not be a problem
I thought this is what type is for? What are the possible values for type? And no allDay is not enough: "other" and "holiday" are both all day.
Like sched/alarm calendar currently uses only the title. IMHO having longer texts on the small display is not advantageous.
We could only allow to modify dates from calendar if gadgetbridge is not installed.
Honestly I hate calendar.days.json because calendar is the only user of this file. But yes it would be much simplier to just read android.calendar.json and append its data to the event array in https://github.com/espruino/BangleApps/blob/master/apps/calendar/calendar.js#L62 |
I did some digging in Gadgetbridge, and it seems to use type only for sunrise and sunset (and that support isn't even enabled for Bangle.js). I don't see anything that maps neatly to
|
ok this holiday thing is definitely an issue. What is this |
It's a birthday cake emoji in the title, but my Bangle renders all emojis as text surrounded by colons (including in other apps like |
calendar
is a great app, having a nice calendar view and a nice agenda view. But it only shows events that have been explicitly added to the app; it does not show any events from my regular calendar on my phone (it appears to read from"calendar.json""calendar.days.json").agenda
is a great app, having a nice agenda view of events synchronized from my phone via Gadgetbridge (it appears to read from "android.calendar.json"), and a detail view for each event. But it can't show those events in or alongside a calendar view.I'm using both apps, but I find myself switching back and forth between them to make sense of when things are happening. It would be nice to have one app that can show synchronized events in a calendar view. I see three possible approaches for this:
calendar
to also read events from the synchronized calendar.agenda
to add a calendar view.For reference, I have a Bangle 2 on firmware 2v25, with
calendar
0.18 andagenda
0.15. I also gave a quick try torebbleagenda
0.02 andcalclock
0.09, but likeagenda
, those do not have calendar views.The text was updated successfully, but these errors were encountered: