Expose URL property on VTODO entries

Open
#8,533 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
56/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
javascript
Domain
backend

Research direction

The issue asks for each card’s VTODO entry to expose a URL pointing to that card’s Deck view, but does not name the code that creates VTODO entries or its tests. Start by locating the VTODO generation path and how board and card URLs are formed. Done means exported entries contain the requested URL and relevant tests cover it.

Written by the indexing model from the issue text.

Description

0. Needs triage feature: dav
How to use GitHub
  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Is your feature request related to a problem? Please describe.

When displaying cards in another client, I want to be able to link the user to the view of the card in the Nextcloud Deck app.

Other clients can be:

  • Nextcloud Calendar app
  • Other third-party clients

Describe the solution you'd like

For a card, the VTODO entry should have the URL property set pointing to https://example.com/apps/deck/#/board/${board}/card/${card}.

Describe alternatives you've considered

Trying to detect that a VTODO comes from Nextcloud deck and hardcoding apps/deck/#/board/${board}/card/${card} as URL for them.

Additional context

There is a solution with @nextcloud/event-bus in https://github.com/nextcloud/deck/blob/d11c9fdc02913cd84f625ca6ba1229c2edb29f4c/src/init-calendar.js with the following limitations:

  • it only works from Nextcloud apps
  • it does not allow the user/application to copy the link or open it in a new tab
Dominant language
JavaScript
Stars
1.4k
Forks
380
Avg merge
1d 17h
Merged PRs (30d)
72

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nextcloud/deck

All issues in nextcloud/deck

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.