Giter VIP home page Giter VIP logo

statamic-splash's Issues

Statamic v4 Support

I'm unable to upgrade to v4 because of the requirement in the composer.json file. A new release is needed.

Download not triggered

The plugin does not seem to properly implement the Unsplash API Guidelines with regard to triggering downloads. When selecting an image, the plugin should send a request to the download endpoint.

Since no downloads are registered with the Unsplash API we are stuck in Demo mode (max 50 requests/h) and are unable to upgrade to Production mode (max 5000 requests/h)

See point 2 in this general guide:
https://help.unsplash.com/en/articles/2511245-unsplash-api-guidelines

And this page specifically discussing the download endpoint:
https://help.unsplash.com/en/articles/2511258-guideline-triggering-a-download

When your application performs something similar to a download (like when a user chooses the image to include in a blog post, set as a header, etc.), you must send a request to the download endpoint returned under the photo.links.download_location property.

Addon not loading when deployed to server

When deploying to my server using the below Forge deploy script, the addon tags or fieldtype are not found. I suspect this might be a case sensitivity issue, as the addon works perfectly fine locally.

Here's my deploy script and error below:

cd /home/forge/thedepressionproject.mike-martin.ca
git pull origin master
composer install --no-interaction --prefer-dist --optimize-autoloader

https://flareapp.io/share/x7K3107R

The Image preview stopped working

This is what i see when i try to select an image to use
Screen Shot 2022-02-03 at 2 50 21 PM

I see the images request does come back successfully from unsplash API but the preview loading images stay as this forever

My environment:
PHP: 8.0
Laravel: 8.82.0
statamic : 3.2.32
statamic-splash: 1.0.6

Suggestion: Streamline data saved to entry

I just noticed the addon is saving approx 130 lines of data to the entry for a single image... do you think we could trim this down? a lot of that information isn't needed.

Perhaps a config file that stores an array of values to save, and the default can be the bare minimum to load an image.

UI Issues

The UI for the search / image picker is a little broken (tested in both Chrome and Firefox):

image

I can't seem to be able to select an image either, the cursor is a zoom icon?

Doesn't seem to be any console errors, so I can't help much more.

Using Statamic v3 Beta 28

Problem selecting IMG

Not sure if I am doing something wrong, but when I am trying to select an image it opens up larger in the background and the previously greyed out select button is hidden. Clicking again gets rid of the image in the background and the buttons return, but the image is unselected, so I cannot click select... with resizing the image the select button comes into view sometimes and I can actually select. Any tips about this, is it a bug? No JS error is triggered. See screenshot below.
Screenshot 2020-12-07 at 15 03 59

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.