Skip to content

Improve Display of Google Storage/S3 References (Avoid Long Raw URLs) #5552

@hawkai10

Description

@hawkai10

Currently, when Onyx inserts references from Google Cloud Storage or S3, the UI displays the full raw URL (e.g., https://storage.cloud.google.com/...).
This behavior makes references hard to read, especially when filenames contain spaces or special characters that make the links even longer or break formatting.

In contrast, connectors like Gmail or Slack show clean icons and short labels for references, which makes the UI much more readable.

Why This Matters

  • Long raw links clutter the output and distract from the actual useful information.
  • Usability suffers, especially when multiple references are included in a single answer.
  • Filenames with spaces or special characters make the problem worse.

Current Behavior

  • S3/Google Storage references show as full raw links.
  • Some improvements have been made (sanitization/encoding), but the core display logic remains.

Expected Behavior

  • Display Google Storage/S3 references with an icon and a short label (similar to Gmail/Slack).
  • Provide hover/click functionality to reveal or copy the full URL if needed.

References / Context
Example screenshot:

Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions