Skip to content
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

Feature Request: Embedding Boards and Cards Similar to Trello #745

Open
akinin opened this issue May 7, 2024 · 3 comments
Open

Feature Request: Embedding Boards and Cards Similar to Trello #745

akinin opened this issue May 7, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@akinin
Copy link

akinin commented May 7, 2024

Dear Planka Development Team,

I hope this message finds you well. I am reaching out to propose the addition of a new feature to Planka that would allow for the embedding of boards and cards on external platforms, similar to the functionality available in Trello.

As it stands, Planka does not offer the capability to embed boards and cards on external websites or platforms. This functionality, available in Trello, proves extremely useful for integrating project management tools with other services and tools.

Proposal:
I suggest developing and implementing a feature that allows users to generate embeddable URLs for Planka boards and cards. This could be facilitated by adding an "Embed" option in the card or board menu, which would generate URLs for embedding. Example formats for these URLs could be:

For boards: https://planka.example.com/embed/board?id=${objectId}
For cards: https://planka.example.com/embed/card?id=${objectId}

Best regards,
Anton Akinin
Trello card

@shashinma
Copy link

shashinma commented May 7, 2024

Hi 👋
I too think this is a big omission. I really want to integrate components from Planka into Outline, so that I can attach my step-by-step tasks from Planka to detailed tasks in Outline.

I have written a similar component for getting a card, but unfortunately it doesn't work at the moment.

import * as React from "react";
import Frame from "../components/Frame";
import { EmbedProps as Props } from ".";

function Planka({ matches, ...props }: Props) {
  const objectId = matches[2];

  if (matches[1] === "boards") {
    return (
      <Frame
        {...props}
        width="248px"
        height="185px"
        src={`https://planka.example.com/embed/board?id=${objectId}`}
        title={`Planka Board (${objectId})`}
      />
    );
  } else if (matches[1] === "cards") {
    return (
      <Frame
        {...props}
        width="316px"
        height="141px"
        src={`https://planka.example.com/embed/card?id=${objectId}`}
        title={`Planka Card (${objectId})`}
      />
    );
  }
  return null;
}

export default Planka;

I hope you will be interested in considering this task 🙃

@meltyshev
Copy link
Member

Hi! Thanks for this idea, it sounds very useful. We have some questions about how this should work. Should this be done through the ability to share a card, meaning when embedded on another site it'll be visible to everyone? If so, we need an ability to show a board to users without an account (same for a card) and we already have plans to add public boards in v2. Another option is to just display a card if you are already logged in and can see this card, then it's easier.

@meltyshev meltyshev added the enhancement New feature or request label May 7, 2024
@akinin
Copy link
Author

akinin commented May 7, 2024

In Trello, a feature has been implemented that displays the card if the user is authorized.
Your idea with public boards sounds very appealing, but at the same time, it's more complex to implement. I think many users would find either of the mentioned options useful.
Thank you for the quick response, and it's very nice to hear that you liked the idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants