The Fields list on a phone hides the API name under its buttons
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ó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 75/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- css, playwright, react, typescript
- Lĩnh vực
- accessibility, frontend, testing-qa
Hướng nghiên cứu
Start with FieldTable and FieldTableRow in plugins/fields/frontend/FieldsScreen.tsx, then read the phone media query in frontend/src/index.css and the pinned action rule in @gopherium/godmin's src/base.css. Add the 390-pixel Playwright check in test/e2e/tests/fields-order.spec.ts and run it alongside the existing ordering check. Done means fields stack without sideways scrolling, the full API name clears the buttons, and wide-screen layout stays unchanged.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What happens
On a phone (under 640 pixels wide), the Fields screen at /fields keeps its wide table. Contacts, Users, API tokens and Import are DataViews lists that switch to a stacked list on a phone. Fields is a plain godmin-table, so it has no phone layout.
The table is wider than the phone, so it scrolls sideways inside its region. GodMin pins the move and archive buttons to the right edge, and the API name column slides under them. In Spanish the header reads "NOMBRE EN LA AP" and the value reads "birthDat". Nothing tells the reader that the table scrolls.
Moving the list to DataViews is not the fix. DataViews cannot reorder rows by hand, and the arrows are what this screen is for.
What should happen
On a phone, each field is one stacked row with no sideways scroll:
- the label on the first line, with the move and archive buttons at its end
- the kind badge and any sub field labels under it
- the API name under that, in full, wrapping when it is long
The header row hides, and each value under the label shows its column name before it. WordPress list tables do the same under 782 pixels. The first column stays, and the other columns stack below it with their names from data-colname. The Archive question that replaces the buttons fits the row too. The table on a wide screen does not change.
A new Playwright check at 390 pixels wide opens /fields with a field labelled "Preferred delivery window". It proves that the region does not scroll sideways and that the API name sits fully inside the region, clear of the buttons. fields-order.spec.ts stays green.
Where
plugins/fields/frontend/FieldsScreen.tsx,FieldTableandFieldTableRow: a class on the table and a column name on each cellfrontend/src/index.css, the@media (max-width: 639px)block@gopherium/godminsrc/base.css, the phone rule that pins.godmin-table__actionsinside.godmin-table-scroll, which the stacked rows must turn offtest/e2e/tests/fields-order.spec.ts, the new phone check
- Ngôn ngữ chính
- Go
- Star
- 287
- Fork
- 64
- Merge trung bình
- 13 giờ 24 phút
- Pull request đã merge (30 ngày)
- 60
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
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của gopherium/AlphOne
-
good first issue help wanted javascript
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của gopherium/AlphOne
Issue tương tự
-
[BUG] deploy.restart_policy without condition drops the restart policyCó thể đã có người làm @akshat-lakhera đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
docker/compose#14383 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
AvengeMedia/dank-greeter#39 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
dokku/dokku-datastore#367 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: ap gateway image build cannot find local policies on WindowsCó thể đã có người làm @Jayzilva đã nhận hôm nay. Đang mởAspect/Configuration Severity/Major
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
wso2/api-platform#3912 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 2 ngày