Skip to content

Conversation

@Andries-Smit
Copy link

@Andries-Smit Andries-Smit commented Jan 7, 2026

  • Entity Query; add CountRows attribute
  • Added Java Action CountLines, to count lines in a string
  • ACT_ExecuteOQL
    • added validation required OQL query
    • added count lines after executing
  • Snippet OQL
    • added Text to show count
    • styling Class "oql-results" to result container
    • OQL input, make grow automatically
image

@Andries-Smit Andries-Smit requested a review from a team January 7, 2026 15:32
@pijuskri
Copy link
Contributor

pijuskri commented Jan 7, 2026

@Andries-Smit Is the MR now in a reviewable state? If otherwise, please mark it as draft.

@Andries-Smit
Copy link
Author

@pijuskri it is updated, and retested

/nativemobile/builds/
/vendorlib/temp/
.DS_Store
/.svn/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure if this exclusion is necessary. We use git exclusively.

/modeler-merge-marker
/nativemobile/builds/
/vendorlib/temp/
.DS_Store
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is OS specific so would rather propose for this to be included individually under .git/info/exclude

}

@java.lang.Override
public java.lang.Long executeAction() throws Exception
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We aim to test all new additions to the module, so please add some simple tests for this method/action. A few different InputString values with different number of lines, being empty or being null should be sufficient.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In ACT_ExecuteOQL the decision now named "OQL?" should have a more clear name like "Is OQL text empty?"

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similarly the validation message would be better if it was straight forward and say something like "Provided OQL query is empty"

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In OQL snippet the container container2 has styling class oql-results, but that class is not defined in any scss file.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure if making the OQL input Text area be auto-growing is better than the current situation. In the master version the text box starts off with pre-determined size, but a user can still expand by dragging down. With auto grow, large OQL queries could take up quite some space and cause overflow on the parent page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants