question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature: Add invalid name and path warnings to modals

See original GitHub issue

What 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:closed
  • Created 5 months ago
  • Comments:13 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
yaira2commented, Apr 14, 2023

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.

1reaction
yaira2commented, Apr 14, 2023

The first one looks better.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found