GithubHelp home page GithubHelp logo

Detail Popup small issues: about farmview HOT 7 CLOSED

calo1 avatar calo1 commented on July 30, 2024
Detail Popup small issues:

from farmview.

Comments (7)

stlim0730 avatar stlim0730 commented on July 30, 2024

Is this duplicate? (#67)

from farmview.

calo1 avatar calo1 commented on July 30, 2024

I'm not sure . I didnt know what the "error" is in #67 so I was documenting my findings in my own words

from farmview.

stlim0730 avatar stlim0730 commented on July 30, 2024

So, the problem seems that the new dataset we synced has lost attachment (optional image) or changed the structure of it. I think the latter has higher chance.

Simplest measure: I can disable image attachment in the code.
More complete measure: investigate how the structure has changed and let the code work with it.

@calo1, what do you think?

from farmview.

calo1 avatar calo1 commented on July 30, 2024

@stlim0730

Let's try to investigate for a little while. Fall back is to disable images before the workshop

@karingoh what is the column name for images supposed to be after your processing script?

from farmview.

stlim0730 avatar stlim0730 commented on July 30, 2024

I'm on it.

from farmview.

calo1 avatar calo1 commented on July 30, 2024

the two photo column names are

photo_filename and
photolink

I tested the link in photolink and chrome rendered the image correctly

from farmview.

stlim0730 avatar stlim0730 commented on July 30, 2024

Fixed.

The app hasn't used photolink data, but _attachments because it both has links to the thumbnail and original size image.

The data structure hasn't changed. What's changed was that Carto used to give it to us in serialized JSON string, but I found it is in JSON object containing serialized JSON string today. Simple fix worked.

... but why now, Carto?

from farmview.

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.