Skip to content

[BREAKING] make eventTarget and fetch optional + DataFrame generic#254

Merged
severo merged 7 commits intomasterfrom
update-dataframe-interface
Aug 20, 2025
Merged

[BREAKING] make eventTarget and fetch optional + DataFrame generic#254
severo merged 7 commits intomasterfrom
update-dataframe-interface

Conversation

@severo
Copy link
Copy Markdown
Contributor

@severo severo commented Aug 19, 2025

  • there is no reason why eventTarget should be defined in sortable dataframe. If no async operation (fetch) is needed to get the sorted values and row numbers, no need for an event target.
  • for the same reason, there is no reason why fetch should always be included. A static dataframe has nothing to fetch.
  • make the dataframe generic, to be able to pass the type of the metadata to consumers.
  • fix a comment

- there is no reason why eventTarget should be defined in sortable
  dataframe. If not async operation (fetch) is needed to get the sorted
  values and row numbers, no need for an event target.
- make the dataframe generic, to be able to have pass the type of the
  metadata to consumers.
- fix a comment

It should be a "major" version of hightable anyway, since eventTarget
@severo severo requested a review from platypii August 19, 2025 19:30
@severo severo changed the title [BREAKING] make eventTarget optional + make DataFrame generic [BREAKING] make eventTarget and fetch optional + DataFrame generic Aug 19, 2025
@severo severo requested review from platypii and removed request for platypii August 19, 2025 19:37
severo added 3 commits August 19, 2025 16:15
Note that it was not exported, so it's not a breaking change.
@severo
Copy link
Copy Markdown
Contributor Author

severo commented Aug 19, 2025

It ended up not so trivial! But I think it's better to have a simpler way to create dataframes.

@severo severo requested a review from platypii August 19, 2025 21:41
Copy link
Copy Markdown
Contributor

@platypii platypii left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice

@severo severo merged commit 50c07af into master Aug 20, 2025
10 checks passed
@severo severo deleted the update-dataframe-interface branch August 20, 2025 01:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants