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

Fix for #573: Change serialization format for rendering in IntelliJ IDEA #574

Merged
merged 12 commits into from
Mar 8, 2024

Commits on Mar 7, 2024

  1. Update serialization for rendering of dataframe in Kotlin notebooks p…

    …lugin
    
    * Added the necessary metadata to the serialization format of the dataframe for it to be rendered in the Kotlin notebooks plugin.
    * Introduced the method `toJsonWithMetadata` which includes the metadata during the serialization process of the dataframe.
    ermolenkodev committed Mar 7, 2024
    Configuration menu
    Copy the full SHA
    15a55e5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d3f64aa View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    74e0e56 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    16d4d46 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c565e80 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d1e2ee7 View commit details
    Browse the repository at this point in the history
  7. Add documentation for Kotlin notebooks serialization format

    This commit includes a new document that explains the JSON serialization format used for rendering dataframes in the Kotlin notebooks plugin for IntelliJ IDEA. The format does not adhere to any formal schema such as Json Schema, but is intended for illustrative purposes.
    ermolenkodev committed Mar 7, 2024
    Configuration menu
    Copy the full SHA
    240181d View commit details
    Browse the repository at this point in the history
  8. Add support for different IDE versions in DataFrame rendering

    This update introduces specific rendering flows based on the version of the IDE. A new method has been added to retrieve the IDE build number. This information is then used to conditionally generate a JSON-encoded DataFrame, adapting to the specific capabilities of the IDE version in use. Additionally, relevant tests have been updated to accommodate these changes.
    ermolenkodev committed Mar 7, 2024
    Configuration menu
    Copy the full SHA
    5a19da6 View commit details
    Browse the repository at this point in the history
  9. Update build number condition check in KotlinNotebookPluginUtils

    Changed the condition check in the fromString function. Now, it accepts build numbers with three or more parts.
    ermolenkodev committed Mar 7, 2024
    Configuration menu
    Copy the full SHA
    2265c8e View commit details
    Browse the repository at this point in the history
  10. Refactor json serialization code

    * Renamed encodePrimitiveData to encodeValue
    * Changed return type of toJsonWithMetadata to not expose JsonObject in publec API
    * Moved internal and private functions from json.kt to new writeJson.kt / readJson.kt files under impl.io package
    ermolenkodev committed Mar 7, 2024
    Configuration menu
    Copy the full SHA
    fabf3dc View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    e6becba View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2024

  1. Refactor DataFrame row limiting code

    Replaced the usage of 'rows().take().toDataFrame()' with the more concise 'take()' method in multiple files.
    ermolenkodev committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    7a4ad5c View commit details
    Browse the repository at this point in the history