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

Add support for adding an rdf-type to data that is submitted in an ui:form

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

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
25/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
typescript
Lĩnh vực
frontend

Hướng nghiên cứu

Xem xét ví dụ src/editDataPage/helloWorldForm.ttl được liên kết và các khái niệm ui:form, ui:property và ui:Choice hiện có được mô tả trong issue. Xác định cách một trường hằng số phải thêm rdf:type được yêu cầu mà không cần người dùng lựa chọn, cách trường đó hoạt động khi tên bị xóa và biểu mẫu phải biểu diễn dữ liệu review đã hoàn tất như thế nào.

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

Mô tả

enhancement Form Language

Use case

I would like to present my users a "review" form to produce data like:

<#Example1> a <https://schema.org/Review>;
       <https://schema.org/abstract> "The service was fantastic".

In the form they just should be able to fill in the abstract and not be asked to select from a Choice of rdf-types they want to create.

Missing

In the current UI forms I only am permitted to set ui:property-s , which can't be used to set an rdf-type.

@timea-solid suggested to use a ui:Choice, but that adds an extra menu item in the display which the user is forced to set to a particular value, and creates the possibility to add many resources of that type.

Suggestion

A suggestion by @timbl : "add a new type of field which is a constant field, along with the name field say “also add ?x a ExampleObject whenever you set this name”.. have to make sure it gets removed if the name goes too"

Ngôn ngữ chính
TypeScript
Star
153
Fork
46
Merge trung bình
1 ngày 8 giờ
Pull request đã merge (30 ngày)
7

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

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 SolidOS/solid-ui

Tất cả issue của SolidOS/solid-ui

Issue tương tự

Thêm issue về TypeScript

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.