`@@inputlist` and `@@noinputlist` are ignored by the value completion of a filter

オープン
#1,985 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
55/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
java
領域
frontend

調査の方向性

Start from the value completion of the filter, which is controlled by the @@inputlist and @@noinputlist annotations on the property and by the working parameter useGroupFiltersInAsyncFilterCompletion. Compare the path used when that parameter is 2 (the default) with the path used when it is 0, where @@inputlist already works. Done means the filter value field honours both annotations under either setting, matching the editor of the cell, for the four properties in the example.

索引モデルが issue の本文から書いたものです。

説明

bug
Description

The @@inputlist and @@noinputlist annotations of a property turn on and off the list of its values that is offered while the user types. In the editor of the property they work. In the value field of a filter by the same property they do not: the list is offered, or not offered, as if the property had no annotation.

CLASS Item;
name 'Name' = DATA STRING[50] (Item);
nameNo 'Name, no list' = DATA STRING[50] (Item) @@noinputlist;
note 'Note' = DATA TEXT (Item);
noteYes 'Note, list' = DATA TEXT (Item) @@inputlist;

FORM items
    OBJECTS i = Item
    PROPERTIES(i) name, nameNo, note, noteYes
;

With several dozen items that have different values in all four properties, and the default working parameters, typing into a cell of a column, and into the value field of a filter by that column, gives:

Property Editor of the cell Filter value field Expected in the filter
name values offered values offered values offered
nameNo (@@noinputlist) no list values offered no list
note no list no list no list
noteYes (@@inputlist) values offered no list values offered

With the working parameter useGroupFiltersInAsyncFilterCompletion set to 0 (the default is 2) @@inputlist is honoured in the filter, and @@noinputlist still is not.

Reason

A property gets @@noinputlist because its values must not be suggested, or @@inputlist because a text property should suggest them. The annotation works in the editor, so nothing tells the developer that the filter of the same column behaves differently, and what the filter does depends on a working parameter that is about something else.

Fix

The annotations of the property a filter is built on govern the value completion of that filter, whatever the value of useGroupFiltersInAsyncFilterCompletion.

主要言語
Java
スター
214
フォーク
46
PR マージ指標
30日以内にマージされた PR はありません

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

lsfusion/platform のほかの issue

lsfusion/platform の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。