Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

"Files" ressource in Smart Picker might mislead users

Đang mở
#8,315 0 bình luận 1 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
javascript
Lĩnh vực
design, frontend

Hướng nghiên cứu

Bắt đầu từ tài nguyên "Files" của Smart Picker và so sánh điểm vào picker/modal của tài nguyên này với các luồng hành động đính kèm và liên kết đã mô tả. Để hoàn thành, cần chọn và triển khai một tương tác đã được làm rõ, nhưng issue không nêu tên tệp, bài kiểm thử hay giải pháp dứt khoát nào; các nhãn và hành động tạo ra phải phân biệt rõ ràng giữa liên kết và đính kèm.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Currently if I want to attach a file to a Text file, i can use the "attach" action button that will open a file picker with a clear title:

Image Image

If I only want to link to a file or folder from Files, i can use the Link action button that will open a File picker modal:

Image Image

The problem:
  • The Smart Picker offers a "Files" ressource which does not say anything about the picked item being attached or linked:
    Image
  • If you do not pay attention to the title of the modal (like me), you might think that you actually upload a file
    Image
Solutions
  1. Add a "Attach from Files" picker, rename the current Picker "Files -> Link from/to Files".
  2. Another option, possible more complicated: Keep the generic name for "Files" picker but explicitly allow to choose in the modal:

Instead one action button:

[Choose {filename}]

Something like this

[Insert link to {filename}] [Insert {filename} as attachment]

I have no strong opinion but I believe that this should be somehow fixed. Either of the proposed solutions should not be too hard to implement, can def try to prepare a PR for this.

(I know this is not strictly a bug/issue in the text app but in the smart picker ressources themselves, but my understanding is that this is the repo where the correct design should be discussed?)

Ngôn ngữ chính
JavaScript
Star
665
Fork
133
Merge trung bình
1 ngày 17 giờ
Pull request đã merge (30 ngày)
172

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của nextcloud/text

Tất cả issue của nextcloud/text

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.