hub-client: allow user display names longer than 50 characters
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ó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 72/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- rust
- Lĩnh vực
- developer-experience, frontend
Hướng nghiên cứu
Start with hub-client/src/services/storage/utils.ts and hub-client/src/services/userSettings.ts to trace username validation and updateUserName, then inspect hub-client/src/services/presenceService.ts for the presence display. Allow names of at least 100 characters and ensure presence and attribution layouts handle them without breaking; the issue suggests ellipsis as one option.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Goal
updateUserName accepts display names longer than 50 characters, so an embedding app can label a collaborator with their full name without cutting it.
Done when:
isValidUserNameallows a larger maximum (or one an embedder can rely on for full names, e.g. 100+ characters).- The presence and attribution UI handles long names without breaking layout (e.g. ellipsis).
Why
- Embedders pass real full names. The Posit Connect Quarto Hub editor (connect-satellites
quartohub) labels each collaborator with their Connect first and last name. Names longer than 50 characters exist, andupdateUserNamethrows on them (Invalid user name: must be 1-50 characters), which would stop the editor from opening. - The current workaround drops information. The embedder cuts the name to 50 characters before calling
updateUserName, so long names show cut off in attribution and on cursors.
References
hub-client/src/services/storage/utils.ts(isValidUserName)hub-client/src/services/userSettings.ts(updateUserName)hub-client/src/services/presenceService.ts(where the name is shown)- Issue: quartohub: attribute edits to the Connect user instead of a per-browser id posit-dev/connect-satellites#88
- Ngôn ngữ chính
- Rust
- Star
- 293
- Fork
- 20
- Merge trung bình
- 12 giờ 21 phút
- Pull request đã merge (30 ngày)
- 178
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của quarto-dev/q2
-
Navbar dropdown menus on the right side are missing `dropdown-menu-end`Có thể đã có người làm @cscheid đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
quarto-dev/q2#1059 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
quarto-dev/q2#1031 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
quarto-dev/q2#957 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Website headings have no anchor links (the Quarto 1 hover link icon)Có thể đã có người làm @cscheid đã nhận hôm nay. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 56/100
quarto-dev/q2#1058 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
hub-client: "Expand markup" and "Expand preview" should hide the other pane instead of shrinking itĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 72/100
quarto-dev/q2#1037 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của quarto-dev/q2
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
nervosnetwork/fiber#1723 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 69/100
Maintainer thường phản hồi trong vòng 1 ngày
-
needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 71/100
pbakaus/impeccable#1314 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
marmite skill: `curl ... | sh` is the first install method, bypassing review and integrity checksĐang mở
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 78/100
rochacbruno/marmite#565 ·