nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
26.67k stars 4k forks source link

Search results should include more metadata #42572

Open rfool opened 8 months ago

rfool commented 8 months ago

⚠️ This issue respects the following points: ⚠️

Bug description

Advanced Search is a nice feature - on first sight.

But to be actually helpful and being reliable in real-world use-cases, some things are missing:

Results meta-data: at least a timestamp plus some entity-specific meta-data (e.g. a "last modified" timestamp on files, issues, tasks, etc., a "closed" timestamp on merge requests, a "from" and "to" on emails, and so on..).

Steps to reproduce

  1. use advanced search
  2. in actual real-world
  3. use-cases

Expected behavior

Search results augmented with relevant meta-data.

Installation method

None

Nextcloud Server version

27

Operating system

None

PHP engine version

None

Web server

None

Database engine version

None

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

Configuration report

No response

List of activated Apps

No response

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

No response

rfool commented 8 months ago

Oh, my fault. E-Mail results already have timestamps and "From" addresses.

But it would anyway be useful, when files would also show with their last modified date.

And, I think, results from plugins should show with a last modified timestamp too - maybe by default?

Example: when result contains "gitlab merge requests", then these results are mostly unusable (because they have no hint whether they are from last week or from three years ago).

Plugin results should also have a "status" flag: e.g. Issues and merge requests should be marked "open", "closed", etc., eMails could be flagged as read or unread.

joshtrichards commented 1 month ago

The metadata is provided (or not) by each app that participates in Search. As you saw, the Mail app, for example, chooses to include additional metadata. If you have specific requests for specific apps, you'll need to send those into the appropriate repositories (third-party or otherwise).

So the gitlab stuff needs to go, well, I guess you're referring to the integration_gitlab app: https://github.com/nextcloud/integration_gitlab

EDIT: If you have some specific suggestions for the Files app (sounds like you do), I suggest creating a dedicated issue that is narrowly focused solely on that as well.

nextcloud-command commented 1 week ago

This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions.