Feature: Add invalid name and path warnings to modals
See original GitHub issueWhat feature or improvement do you think would benefit Files?
At the moment, when you try to create a shortcut, if you enter a non existing path, Create
button will be disabled but no reason is shown.
Thre’s a similar issue when creating archives: you can enter whatever name you want (even using forbidden chars), and the Create
button will always be enabled. If the name contains forbidden chars, the creation of the archive will fail and no reason will be given (only Couldn't create the archive
)
Finally, there’s a warning tip when we you try to create a file with an invalid name. This is a simple text block and looks different from the one used in tag creation. I think we should always use the same style to be consistent
Requirements
- Add a warning tip when the shortcut path doesn’t exist
- Add a warning tip when the archive name isn’t valid
- Change the style of the warning tip of the
Rename
dynamic dialog
Files Version
2.4.61.0
Windows Version
Windows 11 Pro 22H2 10.0.22621.1485
Comments
No response
Issue Analytics
- State:
- Created 5 months ago
- Comments:13 (13 by maintainers)
Top Results From Across the Web
Package name does not correspond to the file path - IntelliJ
Before updating to 14.0.2 I had a perfectly working project with CORRECTLY named packages and file hierarchies.
Read more >How to Fix FutureWarning Messages in scikit-learn
Warning messages can be confusing to beginners as it looks like there is a problem with the code or that they have done...
Read more >OSError: Unable to open file (unable to open file: name = ' ...
Windows 10 Python version 3.7 Miniconda h5py version: latest I was trying to load a model with Keras and train it again. Here...
Read more >EF Core 6 - InvalidIncludePathError' to the ' ...
Hi, I am getting this error; 'microsoft.entityframeworkcore.query.invalidincludepatherror': unable to find navigation 'vendors' specified in ...
Read more >Modal | Components
Modals are streamlined, but flexible dialog prompts powered by JavaScript and CSS. They support a number of use cases from user notification to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That seems like a limitation in the implementation, let’s move forward regardless and if I notice a fix when reviewing the PR, I’ll let you know.
The first one looks better.