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
docs: added info on bookmark return values for securityScopedBookmarks #17584
Conversation
💖 Thanks for opening this pull request! 💖 We use semantic commit messages to streamline the release process. Before your pull request can be merged, you should update your pull request title to start with a semantic prefix. Examples of commit messages with semantic prefixes:
Things that will help get your PR across the finish line:
We get a lot of pull requests on this repo, so please be patient and we will get back to you as soon as we can. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we de-duplicate this information in a single place in this document and just link to it in these 3 places?
That sounds good to me, but I was trying to match the existing convention where it seems to repeat the complete information for every API call. I'm happy to make the change, but do we need to wait for any other confirmation from others, or do I just do it? |
@rr326 you don't need confirmation, please make the change so we can move this forward! |
@codebytere Ok - I think I did this properly. I rebased off of the current version, made my changes, and then pushed to my branch. Please let me know if I did something incorrectly. (First pr.) |
@rr326 looks like it's struggling a bit on the table linting:
if you've cloned Electron locally you can get a shorter feedback loop on this than waiting for CI by running |
To fix the above error the table can't be inside a method documentation block. It should be moved to it's own ## level block |
Ok - I think I've got it. Note - I noticed an error that one header (showSavedDialog) was incorrect, so I fixed that. It doesn't seem to warrant a whole separate PR process. |
Last thing just looks like: |
docs/api/dialog.md
Outdated
@@ -154,7 +155,7 @@ dialog.showOpenDialog(mainWindow, { | |||
}) | |||
``` | |||
|
|||
### `dialog.showSaveDialog([browserWindow, ]options)` | |||
### `dialog.showSaveDialogSync([browserWindow, ]options)` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah, this just got fixed yesterday actually! You'll see it on rebase
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry about that. Maybe I hadn't properly installed my fork. Now it's linting on its own and this one passes. Thanks for your patience.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank YOU for the contribution 🚀
I have rebase this branch on master. |
Congrats on merging your first pull request! 🎉🎉🎉 |
Release Notes Persisted
|
I have automatically backported this PR to "7-1-x", please check out #21873 |
I have automatically backported this PR to "8-x-y", please check out #21874 |
Description of Change
Dialog.md does not document the expected return values for securityScopedBookmarks. You have to look through the code or old issues to understand how it is supposed to work.
This fixes that.
Checklist
Release Notes
Notes: Dialog.md does not document the expected return values for securityScopedBookmarks. You have to look through the code or old issues to understand how it is supposed to work.