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

Allow remember of the selected console

Đang mở
#67 1 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ó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
48/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ệ
react, typescript
Lĩnh vực
frontend

Hướng nghiên cứu

Read the Accessconsole component and trace how its internal selected console type is changed through setType. Add the requested callback behavior so consumers can receive the selected type for persistence in localStorage. Done when the callback is invoked with the user-selected console type and existing console selection still works.

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

Mô tả

enhancement

In cockpit-machines we would like to remember the selected setting in the Accessconsole component, as this is internal state we would like to have a callback for setType which will be called with the then user selected console type.

That would allow us to retrieve the selected type state from outside the component and save it in localStorage in Cockpit-machines.


Jira Issue: PF-2015

Ngôn ngữ chính
TypeScript
Star
5
Fork
16
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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

Mở 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 patternfly/react-console

Tất cả issue của patternfly/react-console

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.