Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSSTUDIO-1660 replaced TimeRangeDialog with popover implementation in DataBrowser #2239

Merged
merged 3 commits into from
May 10, 2022

Conversation

cjenkscybercom
Copy link
Contributor

@cjenkscybercom cjenkscybercom commented May 6, 2022

FXML would have been nice, however the TimeRelativeIntervalPane etc are all dynamic Java nodes. It would have been a moderate-to-sizable chunk of work to convert those to FXML.

So, this implementation merely tacks on the Apply and Close buttons to the existing TimeRelativeIntervalPane and provides a means to define the behavior of those buttons in callbacks.

@cjenkscybercom cjenkscybercom requested a review from georgweiss May 6, 2022 13:48
@cjenkscybercom cjenkscybercom changed the title CSSTUDIO-1660 replaced TimeRangeDialog with popover implementation CSSTUDIO-1660 replaced TimeRangeDialog with popover implementation in DataBrowser May 6, 2022
Copy link
Collaborator

@georgweiss georgweiss left a comment

Choose a reason for hiding this comment

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

Functionality seems to be in place.
However, the UI element to which the PopOver is "pointing" differs between the Time Axis tab and the export tab. I prefer the way it works in the export tab, i.e. point to the button launching the PopOver. Currently in the Time Axis tab the PopOver points to the End Time label, which is a bit misleading and confusing.
Also, clicking Apply should dismiss the PopOver to save the user from an extra button click.

@georgweiss georgweiss merged commit ed2833e into master May 10, 2022
@georgweiss georgweiss deleted the CSSTUDIO-1660 branch May 10, 2022 15:51
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