-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Automatic switching of the edit database cell mode according to data type #1537
Comments
Yeah, if we implement this well it would probably improve usability. 😄 We'd still need the drop down thing so people can manually override the selection too (eg change to binary view). At a guess this shouldn't be too hard to get working at least initially. |
A new checkable button and associated setting is added for automatically switching the editor mode in the Edit Database Cell dock in accordance to the loaded data. The switch is done after loading data from cell, after importing new data to the cell and when checking the button. If the button is unchecked the behaviour is as formerly. Since XML is not currently detected, the mode only changes to XML when SVG is supplied. Default value is true, since the new behaviour is considered more useful for the general case.
Awesome @mgrojo, looks good. Well placed & appropriate icon (etc). 😄 I'll probably have time to get the nightlies server working again in a few days, which should help get this out to people too. 😄 |
@tlhackque and @wmertens, you might like to try this new feature that both of you proposed in the referred issues. It is now available in the latest nightly build. |
@tlhackque and @wmertens ... cough |
Have not forgotten, but have been away. Expect to catch up later this week. I appreciate the effort - sorry about the bad timing. |
No problem - whenever is convenient. 😸 |
Argh I forgot to respond sorry! It works great :)
|
Closing this, as it seems to be complete. 😄 |
Checking for "<?xml" at the beginning of a text is a quick and simple test that will detect most of the XML cases. This fills an obvious gap in #1537.
Describe the new feature
This was already mentioned in other issues, but it deserves its own entry.
The editor mode of the Edit Database Cell should take advantage of the data type detection and switch automatically each time a cell is selected or a new data is imported. The user must still be able to switch the mode manually.
Subjects to discussion:
(representing the automagical switch) or a lock (representing that the mode is locked to the last user selection, or not)?
Additional info
Is your feature request related to an issue? Please include the issue number.
This was already mentioned in #1438
And in #1173
Does this feature exist in another product or project? Please provide a link.
Probably. It isn't something revolutionary.
Do you have a screenshot? Please add screenshots to help explain your idea.
No screenshot. Use your imagination 😄
The text was updated successfully, but these errors were encountered: