You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I connected the repository generated with Lumen to my blog site, effectively turning it into an online CMS. However, there is an issue: the file names appear to be generated based on timestamps. Since I use the file name as the slug, this causes some problems on my end.
I believe it would be better if the file name could be set manually or customized. What do you think?
thinking....
I haven’t reviewed the code yet, but I’ll take a look at how this could be implemented. A few potential concerns came to mind, although I’m not certain about them.
For example, would renaming the generated file later cause any issues?
We could require the user to enter a file name at the beginning, but that might not be ideal from a UX perspective.
Another option would be to add a setting that allows users to choose between manual and automatic file name generation. However, this could create confusion for new users.
Alternatively, after creating the file and writing its content, we could prompt the user to choose a file name right before saving. That might be more efficient than asking at the beginning, since the context would be clearer.
The title entered in the properties (if made mandatory) could automatically be converted into the file name. This seems more efficient, but resolving issue Property editor #449 would likely be necessary for this approach.
edit: Ah, I just realized this issue was already opened #346 by @colebemis. I hadn’t noticed it before. Sorry about that.
I connected the repository generated with Lumen to my blog site, effectively turning it into an online CMS. However, there is an issue: the file names appear to be generated based on timestamps. Since I use the file name as the slug, this causes some problems on my end.
I believe it would be better if the file name could be set manually or customized. What do you think?
thinking....
I haven’t reviewed the code yet, but I’ll take a look at how this could be implemented. A few potential concerns came to mind, although I’m not certain about them.
For example, would renaming the generated file later cause any issues?
We could require the user to enter a file name at the beginning, but that might not be ideal from a UX perspective.
Another option would be to add a setting that allows users to choose between manual and automatic file name generation. However, this could create confusion for new users.
Alternatively, after creating the file and writing its content, we could prompt the user to choose a file name right before saving. That might be more efficient than asking at the beginning, since the context would be clearer.
The title entered in the properties (if made mandatory) could automatically be converted into the file name. This seems more efficient, but resolving issue Property editor #449 would likely be necessary for this approach.
edit: Ah, I just realized this issue was already opened #346 by @colebemis. I hadn’t noticed it before. Sorry about that.