-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Feature Request: Plugin(Extension) Supports, Data Visualization #1198
Comments
Thanks @imwithye. It's a good idea. Not likely to happen in the short or medium term though, unless you happen to have skill in C++ programming (or are willing to learn). 😄 |
I was thinking about this enhancement. I believe the best approach for the user is to create an SQLite extension instead of one for ours. That would provide a function that converts the binary chunk to a textual decoding. Ideally the user should be able to choose this new function as a custom display format (see issue #573). But even with our current situation, the user would be able to create a view, which calls the function. Then the binary chunk can be visualized in the Text Cell Editor. This approach would also work for image visualisations, if that is the kind of data that the display format function returns. The trickier part of this approach is that if the user edits the textual representation and saves it back to the database, the binary chunk is overwritten with the new text data. This is already happening with multiple display formats, by the way, like the "Hex blob" one. This brings me to think, that what we need is being able to set a counterpart for the display format, that encodes the data back to its original form. But if we only think in data visualisation, providing an SQLite extension as display format seems better to me, than developing our own visualisation extension framework. |
Oh, that sounds like a bug. If someone edits a binary call in the hex mode and saves it back, it shouldn't be getting converted to a different data type. Well, not unless the new contents from the user really are a different data type. 😄 |
Quoting @justinclift from #1716 (comment)
What I'm thinking could be solved simply by using an XML file. The only compiled part (in a platform specific shared library) would be an optional SQLite extension (like the math extension or the new PR #1716 one).The remaining options in the extension file are possible as data that we can load and use. For example, our extension file for the math extension would do:
|
Sounds like a good approach, and a good use case for trying things out with. 😄 |
Details for the issue
Useful extra information
I'm opening this issue because:
I'm using DB4S on:
I'm using DB4S version:
I have also:
Hi there,
I am writing the issue for requesting a feature in SQLite Browser. I would like to request plugin/extension support in SQLite Browser. I am using SQLite database to store some binary chunk and inside SQLite Browser I notice there are 3 built-in data visualizers(Text, Binary, Image).
Maybe it would be a good idea that we can allow the user to create their own extension so that they are able to get the binary chunk of the cell and display their own result.
This will be good for someone use SQLite database to store a JSON object or even some self-defined binary chunk.
Allow the user to define their own mode.
Thanks!
The text was updated successfully, but these errors were encountered: