Skip to content

Add viewport typeahead to DefaultRpcHandler and use as default setting - #1625

Merged
heswell merged 8 commits into
finos:mainfrom
tanjjj:use-viewport-typeahead-in-SimulMain
Jul 25, 2025
Merged

Add viewport typeahead to DefaultRpcHandler and use as default setting#1625
heswell merged 8 commits into
finos:mainfrom
tanjjj:use-viewport-typeahead-in-SimulMain

Conversation

@tanjjj

@tanjjj tanjjj commented Jul 22, 2025

Copy link
Copy Markdown
Contributor

since typeahead is already enabled for all tables in demo code, switch to use viewport version and set it as default
Closes #1434

@netlify

netlify Bot commented Jul 22, 2025

Copy link
Copy Markdown

Deploy Preview for papaya-valkyrie-395400 canceled.

Name Link
🔨 Latest commit 7ebe71f
🔍 Latest deploy log https://app.netlify.com/projects/papaya-valkyrie-395400/deploys/688209886709490008c61f1e

@tanjjj
tanjjj marked this pull request as ready for review July 23, 2025 11:28
@tanjjj
tanjjj force-pushed the use-viewport-typeahead-in-SimulMain branch from 56d6991 to e25220c Compare July 23, 2025 13:32

@heswell heswell left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

testing from UI. ALmost working but results not being returned to UI

Comment thread vuu/src/main/scala/org/finos/vuu/net/rpc/DefaultRpcHandler.scala
Comment thread vuu/src/test/scala/org/finos/vuu/net/rpc/DefaultRpcHandlerTest.scala Outdated
@heswell

heswell commented Jul 24, 2025

Copy link
Copy Markdown
Contributor

The current typeahead solution as implemented in the DistinctValuesGetter returns the first 10 distinct values matching our pattern.
It's fast but the values are the first 10 in no particular order.
It would be much nicer, from a UI perpective, if the values were in sorted order - i.e as if the entire set of distinct values were first sorted, then the top 10 returned.
It was considered that this could not be done with fast enough response time for larger data sets.
If that is still the case then so be it - fast response is more important that sorting. It would be better, though, if we could find a way to return ordered results

@heswell
heswell merged commit 2d9b02d into finos:main Jul 25, 2025
12 checks passed
@tanjjj
tanjjj deleted the use-viewport-typeahead-in-SimulMain branch July 29, 2025 08:32
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.

Use view port columns in type ahead rather than table columns

3 participants