On design vs discovery

When a UI interface is designed, it is very difficult to list all possible states that it needs to handle.

For example: what if the title is a 10000 characters string? what happens if the user’s name is so long it will be displaying on to of the update button? what happens to the white space if x and y are not provided in the data? how does it all look in smaller screens?

In the design phase, the designer tried to provide comps and information for all of these states, but there will definitely be cases that won’t be though of and covered.

Therefore it is expected to go into a “discover” phase, where those elements are flushed out and taken care of. This usually happens as the product is being developed.