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

Provide consistent configuration for Font Awesome icons (some are configurable, others only editable in HTML/TS)

Đang mở
#6,116 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 3 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
42/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
angular, typescript
Lĩnh vực
frontend

Hướng nghiên cứu

Read the icon configuration examples in config/config.example.yml and compare them with the hardcoded icons referenced in pending-changes.guard.ts, new.menu.ts, and section-upload-file-edit.model.ts. Trace how configuration is loaded and how those icons are selected; the issue does not specify a complete inventory or a particular configuration design. Done means the icons can be consistently changed through configuration without editing source files or rebuilding the frontend.

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

Mô tả

configuration improvement needs discussion new feature

Is your feature request related to a problem? Please describe.

Currently, Font Awesome icon customization is inconsistent. Some icons can be easily customized via config.yml, while others are hardcoded directly into HTML/TS files (requiring a full UI rebuild to change)

Describe the solution you'd like

Make all Font Awesome icons configurable in the same way. Ideally in a way that does not require modifying suorce code or recompiling the frontend.

Describe alternatives or workarounds you've considered

The current workaround is to override or edit templates to change icons (and checking if an icon is already exposed in the configuration).

Additional information

Few examples:

https://github.com/DSpace/dspace-angular/blob/a52ba244fa454cf20b65ab23a274d98080d9f1ee/config/config.example.yml#L199-L207

https://github.com/DSpace/dspace-angular/blob/a52ba244fa454cf20b65ab23a274d98080d9f1ee/config/config.example.yml#L215-L230

https://github.com/DSpace/dspace-angular/blob/a52ba244fa454cf20b65ab23a274d98080d9f1ee/src/app/submission/edit/pending-changes/pending-changes.guard.ts#L62

https://github.com/DSpace/dspace-angular/blob/a52ba244fa454cf20b65ab23a274d98080d9f1ee/src/app/shared/menu/providers/new.menu.ts#L49

https://github.com/DSpace/dspace-angular/blob/a52ba244fa454cf20b65ab23a274d98080d9f1ee/src/app/submission/sections/upload/file/edit/section-upload-file-edit.model.ts#L81

Ngôn ngữ chính
TypeScript
Star
180
Fork
577
Merge trung bình
3 ngày 6 giờ
Pull request đã merge (30 ngày)
134

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 DSpace/dspace-angular

Tất cả issue của DSpace/dspace-angular

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.