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

feat(api): Change views API in the backend #409

Closed
wants to merge 5 commits into from
Closed

Conversation

augustebaum
Copy link
Contributor

@augustebaum augustebaum commented Sep 30, 2024

  • Serialize views in API layer
  • Change "set report layout" (now "put view") endpoint to take a key argument
  • Add "delete view" endpoint
  • Change "share report" endpoint to take a view key
  • Remove LayoutItemSize

Addresses #336

Change project serialization step to include `views` dictionary rather than a single `layout`.
@thomass-dev thomass-dev self-requested a review September 30, 2024 09:43
@augustebaum augustebaum marked this pull request as ready for review September 30, 2024 11:06
@augustebaum
Copy link
Contributor Author

There are a lot of changes, so I really made an effort to make each commit self-contained. Please review commit-by-commit, and don't hesitate to say if a commit should be delayed/put in a separate PR.

src/skore/ui/report.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@thomass-dev thomass-dev left a comment

Choose a reason for hiding this comment

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

Waiting for your feedbacks 🙏🏻 .

This PR is an API breaking-change, and will break the frontend in state.
Do you think @rouk1 you can work inside this PR as a full-feature PR? If not, could you branch from it and merge on it?

What do you think?

src/skore/view/view.py Show resolved Hide resolved
@augustebaum augustebaum marked this pull request as draft September 30, 2024 14:58
@augustebaum augustebaum changed the title feat(api): Change API for views feat(api): Change views API in the backend Sep 30, 2024
@rouk1
Copy link
Contributor

rouk1 commented Oct 1, 2024

This PR should be trashed. We chose with @augustebaum to work in a full feature PR that will come from the 336-ui-manage-views branch.

@rouk1
Copy link
Contributor

rouk1 commented Oct 1, 2024

Closed in profit of #414

@rouk1 rouk1 closed this Oct 1, 2024
@thomass-dev thomass-dev deleted the views-api branch October 3, 2024 10:05
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.

3 participants