Coder Social home page Coder Social logo

Comments (3)

akinin avatar akinin commented on September 27, 2024 2

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.

from planka.

shashinma avatar shashinma commented on September 27, 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 🙃

from planka.

meltyshev avatar meltyshev commented on September 27, 2024

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.

from planka.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.