Giter Site home page Giter Site logo

cards's Introduction

cards's People

Contributors

breadadams avatar ckgrafico avatar cristianbgp avatar dependabot-preview[bot] avatar dependabot[bot] avatar germanrodrickson avatar imgbotapp avatar kikobeats avatar leerob avatar lucaspeferreira avatar m1guelpf avatar midudev avatar molebox avatar msanroman avatar peduarte avatar pmarsceill avatar rubenmoya avatar sergioalvz avatar smhutch avatar southgate avatar vladmoroz avatar zenorocha avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

cards's Issues

[Feedback] Welcome to Microlink Cards

Hello 👋,

If you're reading this, you've been invited to use Microlink Cards,a new way to create and share dynamic images at scale.

Microlink Cards takes Microlink API advantages for creating SEO friendly images on the fly.

It's shipped as an interactive editor, where you can see and create your previews using code and get a reusable URL you can feed with data.

You can read all the details at Microlink Cards documentation.

If you have any question or suggestion, you can use this issue for it 🙂

Roadmap

Current stage is public beta.

Everyone that enters cards.microlink.io can try the product with all the functionalities.

Internally, users are classified into waves in order to listen to feedback and act consecutively, being the waves:

Closed Beta (DONE)
  • goal basic functionality, minimum viable product.
  • target: a group of people that receives invitation link.
  • timeline: from the beginning.
Public Beta (IN PROGRESS)
  • goal product accommodation + user feedback.
  • target: microlink newsletter subscribers.
  • timeline: from 1 April to 15 May.
Public Release
  • goal prepare the product for the masses
  • target: microlink.io announcement.
  • timeline: starts from 15 May.

Doesnt seem to be responsive as a twitter card

Prerequisites

  • [ x ] I'm using the last version.
  • [ x ] My node version is the same as declared as package.json.

Subject of the issue

I love this, but it doesnt seem to be responsive or follow the sizing for a twitter card:

boo

boo2

boo3

Steps to reproduce

check the image above.

Also, this is how im using it:

  const headline =
    "This is my blog where I write about stuff im working on and things i find interesting";
  const caption = "My articles, tutorials and thoughts. Under one roof";
  const domain = "richardhaines.dev";
  const backgroundImage = "/diamonds.png";

  const api = "https://i.microlink.io/";
  const cardUrl = `https://cards.microlink.io/?preset=richhaines&headline=${headline}&caption=${caption}&domain=${domain}&backgroundImage=${backgroundImage}`;
  const image = `${api}${encodeURIComponent(cardUrl)}`;

Expected behaviour

Id expect it to be responsive and fit the twitter cards

Actual behaviour

It seems to be zoomed in

download button is broken

lo

When you edit the query parameters and click to Download button, the screenshot URL generated is not reflecting the query parameters value filled.

Bug with resizing of query variable area

When clicking on the "resize bar" for the query variable area it always jumps down by the same amount of pixels:

May-09-2020 00-04-38

This doesn't happen with the main aside, there must be a bug in the height calculation.

select the value under edit

cmd+click makes possible edit query variables quickly.

However, you need to select value before overwritten it

current

Screenshot 2020-04-16 at 23 29 07

expected

Screenshot 2020-04-16 at 23 29 33

Fix live preview overflow

This only happens if you do something funky in the code, but I think we should prevent overflow in the "shadow box":

image

Add "instructions" modal

Add some sort of a simple of instructions/guide modal, showing keyboard shortcuts. Could be hidden behind a ❓ icon.

Buggy editor scroll after resizing aside or variables area

When you resize the aside or the query variables area, the code editor doesn't resize:

May-09-2020 00-01-42

You have to resize the browser window to trigger a recalculation of the size in the editor (maybe it exposes a function we can fire after a resize occurs?)

minor issue on article preset

Hey, this is cool. thanks.

I think there should be a backgroundSize: 'contain' for the Box component in the article preset:

temp

add `endpoint` documentation

by default, api.microlink.io is used as the endpoint for creating the screenshot.

That's the Microlink API free endpoint, with some limitations (such as daily rate limit).

Under the hood, if you specify the endpoint query variable you can define a custom Microlink API to use.

That's the way you should to do in order to run your own Microlink API endpoint and protect your pro plan credentials

Custom image key not displaying on social share images

Preset: ajames

Example URL

Editor

https://cards.microlink.io/editor?preset=ajames&title=Adding%20state%20to%20Storybook%20in%20React&subtitle=June%2029%2C%202019%20%7C%203%20min%20read&image=https%3A%2F%2Fstaging.ajames.dev%2Fstorybook.jpg

Generated URL (source code)

https://i.microlink.io/https%3A%2F%2Fcards.microlink.io%2F%3Fpreset%3Dajames%26title%3DAdding%20state%20to%20Storybook%20in%20React%26subtitle%3DJune%2029%2C%202019%20%7C%203%20min%20read%26image%3Dhttps%3A%2F%2Fstaging.ajames.dev%2Fstorybook.jpg

Expected behaviour

  • The custom keys should override the preset defaults and display them on the generated micro card image.

Current behaviour

The micro card displays the title, subtitle and the custom image:

Generated by https://cards.microlink.io

The micro card displays the title and subtitle but does not display the custom or default image:

twitter card validator

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.