TBv3: no recently-visited (History) menu, unlike TBv2 (evaluating whether to port)

Đang mở
#2,944 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ó
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
35/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
javascript, react
Lĩnh vực
frontend

Hướng nghiên cứu

Read src/common/utils.js and compare TBv2's src/components/app/RecentHistory.jsx and Header.jsx with TBv3 navigation. First, determine whether the team decides to port the feature or close it as won't-do; the issue says that decision is still pending. If ported, verify the listed visit, navigation, sign-out, and OCL design-system requirements, and flag any design-system gap.

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

Mô tả

component/web decision/human-review signal/low-risk signal/needs-human signal/small-scope stage/triaged type/feature

TBv2 has a recently-visited menu (the clock icon in the nav bar) that lists the last 10 pages you opened. TBv3 has no equivalent. This gap from TBv2 came up while triaging implementer feedback on TBv3.

Still being evaluated. We haven't decided whether to bring this into TBv3. This ticket records the gap so the decision gets made.

Where things stand

  • TBv2: setUpRecentHistory (src/common/utils.js) records visits in localStorage under visits, and src/components/app/RecentHistory.jsx shows them from the nav bar (Header.jsx).
  • TBv3: the same helper is in src/common/utils.js (setUpRecentHistory), but nothing calls it, so nothing is recorded and there's no menu.

If we decide to port it

  • Visits are recorded on navigation (last 10, newest first, per browser).
  • A nav-bar control opens the list; each entry links to the page.
  • Signing out clears the list (TBv3's sign-out already removes visits).
  • Uses OCL design system components; any new piece is flagged as a design-system gap.

If we decide not to, close as won't-do and remove the unused helper.

Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
4
Fork
2
Merge trung bình
2 giờ 12 phút
Pull request đã merge (30 ngày)
1

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 OpenConceptLab/ocl_issues

Tất cả issue của OpenConceptLab/ocl_issues

Issue tương tự

Thêm issue về Web Dev

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.