Matthew Rumery

Results 22 comments of Matthew Rumery

Here is how I am using react toolbox with next.js ```javascript // next.config.js const withCSS = require('@zeit/next-css') const internalReactToolboxDeps = /react-toolbox(?!.*node_modules)/ const externalReactToolboxDeps = /node_modules(?!\/react-toolbox(?!.*node_modules))/ module.exports = withCSS({ cssModules: true,...

I had this exact same issue when upgrading to 10.10.5 for our development setup. I ended up removing the `CACHE_SYSTEM_TTL` env which was previously set to `CACHE_SYSTEM_TTL=100` and restarted the...

@rijkvanzanten wanted to let you know about a valid point @paescuj brought about about extensions. The comments live in the issue #22606. Just do not want to get this merged...

Potential Solution: - ~Create a new field on `directus_files` named `replaced_on` that takes the same timestamp/datetime value as other datetime fields.~ This might not work as the timestamp value would...

@paescuj I didn't even think about the file extension, that is a great point. I think we would also want to update the `filename_download` to make sure it includes the...

@paescuj another option would be to check the data passed in from the new file, and replace the `filename_disk` extension here https://github.com/directus/directus/blob/main/api/src/services/files.ts#L89

@paescuj I have a change within `files.ts` that would solve changing the `filename_disk` extension, along with making sure that the `filename_download` extension is present. I added some tests to make...

Ideally I wanted to have a `replaced_on` field that was a timestamp that was only updated when the existing file was replaced. I wasn't able to figure out how to...

@paescuj what do you think about this implementation change on #22751 ?