← Back to team overview

dx-packages team mailing list archive

[Bug 1426519] Re: i-dt should support ical's "url" property for launching related apps

 

In the description, you mentioned that "Clock-app could specify the
information it needs in the URL, then open the right page when passed
that information later. indicator-datetime would act as a simple pass-
through."  Isn't it the other way around? The use case that I see is
that when the user presses on an alarm shown in i-dt, i-dt then passes
the necessary information that clock app requires to identify the alarm
chosen by the user to open it.

I would still need to discuss with zsombor as to what information is
required by the alarms API to open a specific alarm.

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to indicator-datetime in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1426519

Title:
  i-dt should support ical's "url" property for launching related apps

Status in Clock application for Ubuntu devices:
  New
Status in indicator-datetime package in Ubuntu:
  New
Status in reminders-app package in Ubuntu:
  New
Status in ubuntu-calendar-app package in Ubuntu:
  New

Bug description:
  indicator-datetime needs a way to dispatch an arbitrary URL when a
  user clicks on an ical event menuitem.

  In practice, datetime currently has clock-app hardwired for
  dispatching alarms (dispatch_url('appid://com.ubuntu.clock/clock
  /current-user-version')) and calendar-app for everything else
  (dispatch_url('appid://com.ubuntu.calendar/calendar/current-user-
  version')).

  There are two use cases that can be supported by datetime handling the
  URL property <http://www.kanzaki.com/docs/ical/url.html>:

  (1) Clicking on an alarm menuitem opens up clock-app to that specific
  alarm, rather than to clock-app's main page. Clock-app could specify
  the information it needs in the URL, then open the right page when
  passed that information later. indicator-datetime would act as a
  simple pass-through.

  (2) non-calendar, non-alarm items such as from the reminders app as
  requested by mzanetti. The pattern would be the same as clock-app:
  Reminders would add whatever URL it wants, then datetime would act as
  a simple pass-through. This is preferable to adding more special cases
  to indicator-datetime.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-clock-app/+bug/1426519/+subscriptions


References