OpenRefine icon indicating copy to clipboard operation
OpenRefine copied to clipboard

feat: add history scroll on expression editor

Open ntcho opened this issue 9 months ago • 6 comments

Resolves #7255

Changes proposed in this pull request:

  • Add keyboard up/down arrow shortcut for expression history

https://github.com/user-attachments/assets/66c3633c-8bd7-4e5f-bcab-72e9ebced941

This is an example for facet expressions, but it can be added to Text filter, Transform, etc.

ntcho avatar Apr 18 '25 01:04 ntcho

Hey @ntcho, apologies for the delay in reviewing this. I've read through this and #7268 but I just want to spend more time using the new functionality locally. I'll have a review up in the next day or two for both PRs!

SoryRawyer avatar Apr 23 '25 23:04 SoryRawyer

Hey @ntcho, just checking in to see if there's anything I can help out with here. Do you have any questions about my comments?

SoryRawyer avatar May 02 '25 15:05 SoryRawyer

Thanks for the follow-up! Got super busy this week, but will try to make the changes this weekend.

Also on a different note, where else do you think this scroll functionality would be useful? I know there are few more expression editors across OR, it would be helpful to know where else to consider.

ntcho avatar May 02 '25 15:05 ntcho

No worries! I just wanted to make sure you had all that you needed.

I'm sure there are other opportunities to apply this change, but I think for now it would make sense to stick with this one dialog and refactor/expand its usage in a later PR. What do you think?

SoryRawyer avatar May 02 '25 15:05 SoryRawyer

That works too! Thought it might be a bit confusing/disappointing if the feature exists in some dialog and doesn't in others. But adding here first and refactoring later sounds like a better approach :)

ntcho avatar May 02 '25 15:05 ntcho

Hey @ntcho, I was looking to close out some pull requests ahead of a 3.10 beta release, and I was wondering how much work you think it would take to close this out. Or, if you don't think you'll be able to find time to complete this, would you mind if I added the changes we talked about and finished this PR on your behalf?

SoryRawyer avatar Jun 12 '25 14:06 SoryRawyer

Since this pull request has been open for a while without many changes, I'm going to go ahead and close it. We can always reopen it later if and when there's more time to dedicate to this feature.

SoryRawyer avatar Aug 20 '25 14:08 SoryRawyer