-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Allow display name changes in data explorer (1702) #1713
Conversation
… GUI elements to allow user to change display name of a dataset.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good, minor functionality related issues raised.
…p. Unit tests added.
… and cancel buttons.
…and lay groundwork for updating theories.
…allow name changes for child plots to prevent orphaned plots.
…e sure no data is fit
5.0 ready for testing on Win |
# Reset model_item and data to None and close the window | ||
self.model_item = None | ||
self.close() | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice feature! We should have these safeguards in more places.
Changes look good, all issues addressed. Ready to merge |
Here are a few comments I've received from Adrian Rennie on the functionality. I'm going to try to implement his suggestions but I'm not sure I will be able to in the PR.
|
This looks like a bug, the state should know about data filenames at current time.
This is something we have thought about before and even created a ticket (here or locally in Jira, don't recall). |
A new option was added to the data explorer context menu allowing users to change the display name for a data set. The option opens a window offering 4 options: Keep the existing name, change to the data tile, change to the data file name, or change to any name the user would like. Unit tests were added to check base functionality and catch a few odd edge cases.
This fixes #1701 and closes #1702.