[Feature Request]: Improve Condition editor

Đang mở
#8,992 0 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 1 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
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
java
Lĩnh vực
desktop

Hướng nghiên cứu

Start by inspecting the condition editor used by the Filter Rows and Join Rows transforms, then trace how conditions are represented in XML. Determine how an expression tab could preserve condition order and sub-condition precedence when switching back to the graphical editor. Done means both views represent the same condition, including expressions such as ( age = 57 AND country = 'Belgium' ).

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

Mô tả

awaiting triage Hop Gui P2
What would you like to happen?

The condition editor (control/widget) is visible in the Filter Rows and Join Rows transforms for example.
The Conditions can be expressed in XML but otherwise need to be entered through the GUI.
There are too many clicks needed. I want to be able to edit things inline and in a more compact way for as far as the GUI is concerned.

It should also be possible to enter the exact same condition as a string expression as a limited SQL clause.
Care should be given to the fact that there is precedence in Conditions. They're simply executed in order unless you define sub-conditions.

For example, it should be possible to enter expressions like ( age = 57 AND country = 'Belgium' ) in a new "Expression" tab of the condition editor widget and when you switch back to the "Condition" tab you see the exact same thing in graphical form.

Issue Priority

Priority: 2

Issue Component

Component: Hop Gui

Ngôn ngữ chính
Java
Star
1.6k
Fork
499
Merge trung bình
1 ngày 5 giờ
Pull request đã merge (30 ngày)
316

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 apache/hop

Tất cả issue của apache/hop

Issue tương tự

Thêm issue về Java

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.