cap-js / change-tracking

CDS plugin providing out-of-the box support for automatic capturing, storing, and viewing of the change records of modeled entities.
https://cap.cloud.sap/docs
Apache License 2.0
16 stars 6 forks source link

Change tracking not showing #83

Closed nandinigautam closed 4 months ago

nandinigautam commented 4 months ago

Hi Team, We have managebusinesspartners/webapp/index.html application which when edited, the change tracking disappears and we can see no data in the change history , on commenting out the specified annotation for to show the 'show more' in change history. The annotation in the change tracking file:

annotate sap.changelog.aspect @(UI.Facets: [{ $Type : 'UI.ReferenceFacet', ID : 'ChangeHistoryFacet', Label : '{i18n>ChangeHistory}', Target: 'changes/@UI.PresentationVariant', ![@UI.PartOfPreview], }]); Could you please look into the above.

Regards, Nandini

nkaputnik commented 4 months ago

Hello @nandinigautam can you please create a reproducible example for me to look at? We need more information to help you.

Best, Nick

nandinigautam commented 4 months ago

Hi @nkaputnik

Sure, Here I am taking example of [/manageconsignment/webapp] which when edited shows change history . Screenshot 2024-04-18 082149 But Since I need the 'show more' button available in the change tracking, upon commenting this part of annotation from change-tracking file :

annotate sap.changelog.aspect @(UI.Facets: [{ $Type : 'UI.ReferenceFacet', ID : 'ChangeHistoryFacet', Label : '{i18n>ChangeHistory}', Target: 'changes/@UI.PresentationVariant', ![@UI.PartOfPreview], }]); we can see the show more button but no data in change-history. Screenshot 2024-04-18 082238 Screenshot 2024-04-18 082247

Regards, Nandini

mkagarwal123 commented 4 months ago

@nkaputnik: Can you please help us on this issue as it is critical for the performance of our application

nandinigautam commented 4 months ago

@nkaputnik: Can you please help us on this issue as it is critical for the performance of our application

nkaputnik commented 4 months ago

Hello @mkagarwal123 and @nandinigautam This is a known quirk of how Fiori Elements works since a couple of weeks ago. You need to hit the Mangifying glass icon in the search bar for the entries to be shown. We plan to address this with the Fiori Elements people ourselves, too, but for the time being, you will need to set somethin in manifest.json manually to achieve your desired behavior.

nandinigautam commented 4 months ago

Hi @nkaputnik Thank you the workaround works for now. But Please do let us know if any fixes regarding this issue becomes available as this feature is critical for our application, and we look forward to incorporating the fix as soon as possible. Regards, Nandini

nkaputnik commented 4 months ago

Hello @nandinigautam I would strongly suggest taking this directly to the Fiori Elements team, since each additional voice will help prioritising this issue further up.

Best, Nick