-
Notifications
You must be signed in to change notification settings - Fork 19
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
Export: choosing the file path and file name #332
Comments
Setting the download path is not supported by the web platform. |
Reports will have a key (#334). I suggest we derive a sane name from the key, and append a nicely formatted timestamp. |
@rouk1 when I export something from Notion, the web browser gives me the opportunity to name the file to my taste and choose the location where to save it. |
This a settings from your browser. On my machine firefox/chrome saves directly to ~/Downloads. As far as I know there is no cross browser way to open a save as dialog. There is a proposal from W3C but it's still a draft. FOr now we can only rely on the download attribute which is use in the |
Note that a experimental API is here : https://developer.mozilla.org/en-US/docs/Web/API/Window/showSaveFilePicker |
Thanks, it looks promising, though I see it is only implemented in Chrome. Let's start work on #334 first, and give the exported file a sensible name as suggested here. |
## 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>
## 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>
Issue
When exporting a dashboard, it is not possible to choose the file path neither choose the file name.
Expectation
I would like to be able to choose the file path and file name.
The text was updated successfully, but these errors were encountered: