-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(UI & API): Manage views in the frontend (#414)
## This PR allows user to create/duplicate/edit & delete views. ### Backend All project endpoints are now below the same prefix. - `GET /api/project/items` lists all items of a project. - `POST /api/project/views/share/{key}` returns a static shareable HTML file named `{view name}-{yyyy-MM-dd-HH-mm}.html`. - `PUT /api/project/views/{key}` save a view in the project. - `DELETE /api/project/views/{key}` delete a view from the project. ### Frontend - A new `EditableList` component as been implemented to manage views. - A lot of renaming to get rid of the concept of "report". - Plug everything to the new layout. - Rework view card layout and add an action dropdown to it. - Rework dropdowns using floating UI to make them fixed. https://github.com/user-attachments/assets/3f94e483-ecea-4d5a-8433-50f9150fc6e6 Co-authored with @augustebaum. Fixes #336, #407, #377, #332 --------- Co-authored-by: Auguste Baum <auguste@probabl.ai> Co-authored-by: Auguste Baum <52001167+augustebaum@users.noreply.github.com>
- Loading branch information
1 parent
9880d1e
commit 274b6f0
Showing
37 changed files
with
1,066 additions
and
576 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.