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

Auto-fill program item technical name (slug) from title

Đang mở
#930 1 bình luận 0 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ó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
45/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
frontend

Hướng nghiên cứu

Bắt đầu bằng cách tìm SchemaForm và các component client hiện có triển khai hành vi động cho một trường. Đọc issue liên quan #564 và so sánh các biểu mẫu dựa trên slug khác được liệt kê trong issue. Được xem là hoàn tất khi một tiêu đề có thể điền tên kỹ thuật chưa bị chỉnh sửa theo định dạng slug mong đợi, trong khi các chỉnh sửa thủ công ngăn không cho ghi đè thêm.

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

Mô tả

llm typescript

When creating a program item, filling in the Technical name (slug) field is repetitive — it is typically derived from the title by lowercasing and replacing spaces/special characters with hyphens.

Requested behaviour

When the user types or pastes into the Title field and the Technical name field is still empty (has not been manually edited), automatically populate the technical name with a correctly formatted slug.

Example: pasting "Visual Novel -pelit vuonna 2026 - Miten ja miksi?" → auto-fills visual-novel-pelit-vuonna-2026-miten-ja-miksi

The auto-fill should stop overwriting once the user has manually edited the technical name field.

Complications

The form currently uses SchemaForm. It supports dynamic behaviour through client components implementing a single field type, but there is no precedent for dynamic behaviour spanning multiple fields.

Here we would need to refer the value of title in a dynamic field for slug. While not technically impossible, it seems rather complex to do while still maintaining a sensible level of abstraction.

Then again, this same need repeats in many other places that have slugs as well:

  • Program items (this one)
    • Schedule items (currently hidden from UI, but they do have slugs based on program item slug)
  • Questions on a form
  • Dimensions and dimension values

Related

See also #564 (auto-suggest technical names for survey fields — same concept, different context).

Background

Reported by Desucon Frostbite 2026 program management.

Ngôn ngữ chính
Python
Star
29
Fork
33
Merge trung bình
1 ngày 3 giờ
Pull request đã merge (30 ngày)
23

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

  • Có Dockerfile hoặc tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

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 con2/kompassi

Tất cả issue của con2/kompassi

Issue tương tự

Thêm issue về Python

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.