koppor / jabref

Collection of simple for JabRef issues. Please submit PRs to https://github.com/jabRef/jabref/.
https://github.com/jabRef/jabref/
MIT License
8 stars 13 forks source link

Filename to delete should be shown completely #534

Closed koppor closed 1 year ago

koppor commented 2 years ago

When deleting a file, the file path is sometimes too long to fit in the title of the dialog.

grafik

Proposal: Show the filename also in the dialog text

Racheal7 commented 1 year ago

Hi Koppor, I am really interested in this issue and I'd like to contribute. Could you please assign this issue to me? Thank you very much.

Racheal7 commented 1 year ago

Hi Oliver,

I have looked into this issue and come up with several solutions to improve the UI.

  1. Delete the file path in the dialog title and replace it with "Delete File". Add the full file path in the text.

Add file name to text

  1. In the dialog title, replace the full file path with only the file name, and add the full file path in the text.

Add only file name in title

  1. Just like you suggested in the description, we can keep the file path in the title and add it to the text.

Only add file path in text

Personally, I prefer the second solution as it's neater, but I'd love to know what you think.