tables icon indicating copy to clipboard operation
tables copied to clipboard

Extract selection option labels for Analytics

Open Rello opened this issue 1 year ago • 1 comments

when column type selection is used, the API needs to deliver the labels, and not the internal ids

fixes https://github.com/Rello/analytics/issues/385

Rello avatar Feb 27 '24 12:02 Rello

@Rello Hi! Are you still working on this?

enjeck avatar Apr 16 '24 11:04 enjeck

Hi @juliushaertl you think we can merge this? tests look ok to me if I can judge them correctly?

Rello avatar Jun 25 '24 10:06 Rello

I am afraid this has potential to be breaking potential existing API use cases. I suppose the IDs of the selection can be fetched already (did not double check). Not that the output is much documented.

There is a conflict btw. If we merge, it's better to have the commits squashed.

blizzz avatar Jun 27 '24 14:06 blizzz

@blizzz what do you suggest? The idea is nice dynamic and the same for tables & forms (potentially for others). An app can register itself to Analytics. but all the requirements like tests & co are far more that can be achieved by a hobby project.

I think of skipping this and simply ship the datasources for everything with Analytics itself. Kind of double work because local duplication of the API logic might be required in many places. but not impacting other apps

suggestion? also applies to https://github.com/nextcloud/forms/pull/2195

Rello avatar Jun 27 '24 15:06 Rello

as discussed with @blizzz the Analytics data source was decoupled from the API endpoint to not create breaking changes. Analytics is taking care of any specific logic on its own

Rello avatar Jul 03 '24 09:07 Rello

/backport to stable0.7

blizzz avatar Jul 03 '24 15:07 blizzz