nextcloud / nextcloud/spreed

"External link" marker should not be ellipsized in file names

Open
#4,646 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug feature: chat 💬 feature: frontend 🖌️
Dominant language
PHP
Stars
2.2k
Forks
587
Avg merge
18h 27m
Merged PRs (30d)
333

Description

The "external link" marker of file names let the user know whether a file will be directly opened in the viewer in Talk or opened in a different tab/window, so it should be always visible and not ellipsized if the file name is too long.

See the "After" screenshot here for an example: https://github.com/nextcloud/spreed/pull/4600#issuecomment-728184551

https://github.com/nextcloud/spreed/blob/e006c8d9e0f12abe3f28eac7df438e8b5147811b/src/components/MessagesList/MessagesGroup/Message/MessagePart/FilePreview.vue#L655-L659

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open src/components/MessagesList/MessagesGroup/Message/MessagePart/FilePreview.vue around lines 655-659 and inspect how long file names and the external-link marker are rendered. Reproduce the layout with a long file name, using the linked screenshot as the visual reference. Done means the marker remains fully visible while the file name may be ellipsized.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.