Remaining form extension, aggregation, customization (from #68, #69, #77, #234, #235, #300)

Open
#1,632 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Start with the cited EXTEND rules in LsfLogics.g, then inspect dataExtendCode(Form), dataExtendCode(Form, User), customizeForm, and UserPreferencesDialog. Compare the current grammar and persistence paths with the listed missing system-scope extensions, FILTERS mappings, and structured customization capabilities. Done means the remaining requirements from issues #68, #69, #77, #234, #235, and #300 are implemented or explicitly documented.

Written by the indexing model from the issue text.

Description

Consolidates the parts of #68, #69, #77, #234, #235, #300 that are still not done. Grouped by area; references against the current source tree.

1. System-scope EXTEND for non-form elements (#77)

The grammar supports only EXTEND CLASS, EXTEND FORM, and EXTEND clauses inside a FORM block (OBJECTS, TREE, PROPERTIES, FILTERGROUP, FORMS). The top-level statement rule does not include:

  • EXTEND PROPERTY <name> — change options (BACKGROUND, MATERIALIZED, IN group, IMAGE, CHARWIDTH, …) of an already-declared property. The only available path is OVERRIDE / += polymorphism on ABSTRACTs (LsfLogics.g:4917), which #77 explicitly calls out as inconvenient.
  • EXTEND ACTION <name> — analogous (LsfLogics.g:4945).
  • EXTEND GROUP <name> — reparent/modify a group (declaration site LsfLogics.g:413).
  • EXTEND NAVIGATOR, EXTEND DESIGN, EXTEND WINDOW at the top level (or explicit doc that it's intentionally EXTEND FORM-only).
  • Top-level tree extension parallel to in-form EXTEND TREE.
2. Form aggregation completeness (#68)

Engine support exists, but:

  • The FILTERS option for linking data between aggregated forms — explicitly described in #68 — is not in the FORMS-mapping grammar. Only OBJECTS, PROPERTIES, FILTERGROUPS, DESIGN mappings are supported. No way to declare "include form X, map its object `customer` to my `c` via this filter expression".
  • No "favorites" / predefined-customization feature built on this aggregation, as the issue mentions.
3. Structured user form customization (#234, #69)

Today the only path is editing raw lsf into `dataExtendCode(Form)` / `dataExtendCode(Form, User)` through the web `customizeForm` editor. #234 explicitly asks for a "simple constructor".

Structured per-user persistence exists for column properties (show/hide, order, width, sort, caption, pattern), editable from desktop via `UserPreferencesDialog`. Missing structured persistence + UI for:

  • per-property value expression override (#234)
  • per-property `BACKGROUND` / `FOREGROUND` expression override (#234)
  • adding/removing property draws as a user-level action without writing EXTEND FORM script (#234, #69)
  • adding new objects to a form (#69)
  • adding new properties/actions to a form (#69)

Refs: #68 #69 #77 #234 #235 #300

Dominant language
Java
Stars
214
Forks
46
PR merge metrics
No merged PRs in 30d

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from lsfusion/platform

All issues in lsfusion/platform

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.