Kotlin / Kotlin/kandy

Possible improvements with "context parameters" feature

Open
#391 0 comments 0 reactions 0 assignees View on GitHub
api dataframe enhancement
Dominant language
Kotlin
Stars
744
Forks
27
Avg merge
4d 1h
Merged PRs (30d)
1

Description

KEEP: https://github.com/Kotlin/KEEP/issues/367
1) `LayerCreatorScope` should be reworked and named `DataScope` and provide only data-related logic.
* `plotBuilder` should not be member, temporary workaround until context parameters are ready
* `createLayer` should create and return Layer (not add it) and be used with `MultiLayerPlotBuilder.addLayer`
2) `DataFramePlotBuilder` can be improved as well (since in fact it's a combination of `DataFrame` and `PlotBuilder` contexts)

Contributor guide

Open the contributing guide

Research direction

Start by reading KEEP issue 367 and tracing LayerCreatorScope, DataFramePlotBuilder, and MultiLayerPlotBuilder. Define the DataScope responsibilities, the createLayer and addLayer relationship, and how context parameters should simplify DataFramePlotBuilder. Done means the proposed API redesign is implemented consistently across these builders.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
data-visualization
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.