atomic-algolia icon indicating copy to clipboard operation
atomic-algolia copied to clipboard

[BUG] Changes in sub item not considered

Open nhoizey opened this issue 4 years ago • 2 comments

Description

I have a structure with sub items, like this:

[
    {
        "objectID": "1",
        "title": "An example record",
        "illustration": {
          "src": "https://example.com/image1.png",
          "alt": "my beautiful image"
        }
    }
]

If I change only the illustration's src or alt, atomic-algolia considers there is no change.

Steps to reproduce

Scenario: I have a structure with sub items
Given I have a structure with sub items,
When I update deep content but not first level content,
Then atomic-algolia considers there's no change,

System information

atomic-algolia version: 0.3.19

node version: 13.14.0

npm version: 6.14.8

system OS: macOS

system OS version: 10.15.6

Notes

N/A

nhoizey avatar Oct 24 '20 18:10 nhoizey

I this helps, my data is here: https://nicolas-hoizey.com/tools/algolia.json

nhoizey avatar Oct 24 '20 18:10 nhoizey

Confirming this, just stumbled on this bug.

bojanvidanovic avatar Jul 19 '21 16:07 bojanvidanovic