-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Display "Show in Folder" notification after exporting entries #8195
Comments
Hi, I'm Ling and I am a student majoring in computer science. I am new to open source and am interested in this issue. I have some basic knowledge of Java and Web development. Could you give me some suggestions on where to start? Thanks a lot! |
Hello @LingZhang22 ! |
Hi @k3KAW8Pnf7mkmdSMPHz27, thank you so much for your guide! I will look into those code and info! |
Hi @k3KAW8Pnf7mkmdSMPHz27 ! Firstly, the layout of the dialog is not well designed. The dialog pops up in the center of the main window as follows. It might be better if show a notification bar like Typora on the top of the window. But I didn't find an API for that. Could you give me some hints on where I can find such an API or how should I write such a function? Secondly, when the users click "YES", the saved file folder rather than the file will pop up. However, I also didn't find that API. Could you please give me some hints for that too? Many thanks! |
Maybe a popover would be suitable for this? https://github.com/controlsfx/controlsfx/wiki/ControlsFX-Features#popover |
@ThiloteE Thanks! I will look into this material! |
For the change detection dialog we use a NotificationPane from Controlsfx, that looks like one in Typora https://controlsfx.github.io/features/notificationspane/ |
Hi @Siedlerchr, thank you for your instruction. And I got stuck, is it possible to get some help to go forward? What I did so far: My question: Thanks a lot! |
If I am understanding you correctly, you are creating the notificationpane inside of JabRefFrame, in which case you probably want to pass it as an additional argument to the |
Hi @k3KAW8Pnf7mkmdSMPHz27 Thank you so much for your guide! I have implemented the NotificationPane for the light theme and dark theme. When I clicked the save button, the notification bar will show on the top. I have pushed my commits to GitHub. I am not sure whether there is something wrong or missing. If there is, could you please let me know? I will modify it. Thanks! |
I think the wording could be phrased slightly different: Instead of "Do you want to open the file in folder?" |
@ThiloteE Thank you for your suggestions. I have changed the text. Thanks :) |
Is your suggestion for improvement related to a problem? Please describe.
Users will likely wanna open the file they exported as soon as possible, it's common among other applications to have this feature so implementing it will improve user experience because users expect it
Describe the solution you'd like
solution 1: show a notification bar with a button to open the directory where the file was exported (Like Typora)
solution 2: open the exported file immediately (Like MS Word)
Additional context
Screenshot from Typora
The text was updated successfully, but these errors were encountered: