apache / apache/hop

[Feature Request]: Create GUI annotation for data grids

Open
#2,286 0 comments 0 reactions 0 assignees View on GitHub
awaiting triage Hop Gui P3
Dominant language
Java
Stars
1.5k
Forks
476
Avg merge
18h 32m
Merged PRs (30d)
216

Description

### What would you like to happen?

Import: https://issues.apache.org/jira/browse/HOP-4560

In a lot of dialog code in the Hop GUI we find usage of class TableView.
That class presents a data grid to the user to enter all sorts of tabular information.
Typical use cases are:

- Enter a list of fields with their name, data type, length and so on.
- Enter a list of parameters and their values
- ...

Since this is not a simple annotation over a single piece of information we need to be able to add this annotation to a java.util.List.  For the various fields in the class used in the List we need to be able to add information about the fields, like the header.

There are often also helper buttons involved like "Get Fields" which populates a data grid. Some way to make this happen automatically is also desirable.

### Issue Priority

Priority: 3

### Issue Component

Component: Hop Gui

Contributor guide

Open the contributing guide

Research direction

Start by reading the imported HOP-4560 request and locating the Hop GUI uses of TableView. Investigate how java.util.List fields and their element fields are represented, including existing helper-button behavior. Done means an agreed annotation design supports grid headers and the requested automatic population behavior, with validation or tests showing the annotation can drive those GUI features.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.