Monocle icon indicating copy to clipboard operation
Monocle copied to clipboard

No 'create' button when destination provided

Open metbril opened this issue 6 years ago • 2 comments

I am building my Grav micropub endpoint. One of the features is support for 'destination'. I have added the destinations in the config query, and logged in again. The destinations are discovered by monocle, at least they are visible in the monocle.p3k.io/debug page:

{
    "destination": [
        {
            "uid": "blog",
            "name": "Blog"
        },
        {
            "uid": "microblog",
            "name": "Microblog"
        }
    ]
}

As soon as I provide these, the create 'pencil' button in the bottom left disappears, and also the per post favorite, reply and repost buttons.

I have tested this in Firefox and Chrome for Mac and Safari for iPad.

Is this a bug? Or am I doing something wrong?

metbril avatar Jan 19 '19 16:01 metbril

https://github.com/aaronpk/Monocle/blob/0fbe57a51d08cae56cb270a72a9aa54f0967b7d6/app/Controller.php#L251

metbril avatar Jan 29 '19 22:01 metbril

I still haven't been able to figure out what's causing this. Should the destination be a valid url? Is my array malformed? Looking at the specs, I still think my setup is correct, @aaronpk.

Example with urls: https://gist.github.com/manton/52e0015f87fcf50c687a0c64e392fc37

metbril avatar Feb 01 '19 15:02 metbril