nextcloud/tables

Add view decriptions

Opened this issue · 2 comments

Is your feature request related to a problem? Please describe.

A Table can have a description.
Views to not have a description, nor do they show the table description.
The description field is available in the database already.

Usecase: our room booking in c.n.c has instructions on the table. A view with limited columns and date filter is not showing anything

Describe the solution you'd like

  • Enable the description input and display for views

Describe alternatives you've considered

  • show the table description within a view

Additional context

No response

@juliushaertl do you think this is much effort?
I think it is partly already prepared - just not used
https://github.com/nextcloud/tables/blob/main/lib/Service/ViewService.php#L207

is it enough to add this line

<TableDescription :description="table.description" :read-only="true" />

also to here?
https://github.com/nextcloud/tables/blob/main/src/modules/main/sections/View.vue#L4

it seems the backend is prepared already for the property.
I just did not find the edit screen