diff --git a/.commit b/.commit deleted file mode 100644 index 08e4f981fb6..00000000000 --- a/.commit +++ /dev/null @@ -1,23 +0,0 @@ -bug #2154 [Dropzone] Enable file replacement via "drag-and-drop" (rrr63) - -This PR was merged into the 2.x branch. - -Discussion ----------- - -[Dropzone] Enable file replacement via "drag-and-drop" - -| Q | A -| ------------- | --- -| Bug fix? | yes -| New feature? | no -| Issues | Fix #1480 -| License | MIT - -Adding `dragenter` event to allow file replacement - -Commits -------- - - - diff --git a/.notes b/.notes deleted file mode 100644 index 0ab36e49f19..00000000000 --- a/.notes +++ /dev/null @@ -1,47 +0,0 @@ ---------------------------------------------------------------------------- - -by smnandre at 2024-09-11T21:39:36Z - -Hi @rrr63 ! Thank you for this PR - -Could you add just a screenshot or two, for other to understand what you're adding ? - -I'm wondering, you add on dragEnter, but you don't revert if the drag is canceled ? - -Also, it would be great to add a test or two :) - - - ---------------------------------------------------------------------------- - -by rrr63 at 2024-09-12T06:34:12Z - -Hi @smnandre , - -You're right, i canceled when the drag leaves, and added a test for both, enter and leave. -Both, enter and leave are in the same test to get the right drag area from enter event. - -Demo : -![dropzone](https://github.com/user-attachments/assets/76143fdd-1dbc-4129-92f2-43e9780eed4b) - - - - ---------------------------------------------------------------------------- - -by smnandre at 2024-09-12T17:27:47Z - -Wow, thank you very much! I'll try tonight but this will probably more be this week-end :) - ---------------------------------------------------------------------------- - -by smnandre at 2024-09-12T17:31:45Z - -Could you add a entry in the CHANGELOG (inside the Dropzone folder) ? Next version will be 2.20 - ---------------------------------------------------------------------------- - -by rrr63 at 2024-09-12T18:36:43Z - -Sure i can, just copied the title :) - diff --git a/src/Autocomplete/doc/index.rst b/src/Autocomplete/doc/index.rst index 2ba45d7691d..69ade32aaf8 100644 --- a/src/Autocomplete/doc/index.rst +++ b/src/Autocomplete/doc/index.rst @@ -30,10 +30,6 @@ needed if you're using AssetMapper): $ npm install --force $ npm run watch - # or use yarn - $ yarn install --force - $ yarn watch - Usage in a Form (without Ajax) ------------------------------ diff --git a/src/Chartjs/doc/index.rst b/src/Chartjs/doc/index.rst index e54ef1bd35e..8c9c1424943 100644 --- a/src/Chartjs/doc/index.rst +++ b/src/Chartjs/doc/index.rst @@ -26,10 +26,6 @@ needed if you're using AssetMapper): $ npm install --force $ npm run watch - # or use yarn - $ yarn install --force - $ yarn watch - Usage ----- @@ -99,9 +95,6 @@ First, install the plugin: $ npm install chartjs-plugin-zoom -D - # or use yarn - $ yarn add chartjs-plugin-zoom --dev - Then register the plugin globally. This can be done in your ``app.js`` file: .. code-block:: javascript diff --git a/src/Cropperjs/doc/index.rst b/src/Cropperjs/doc/index.rst index df4ef6eef35..663948d8a01 100644 --- a/src/Cropperjs/doc/index.rst +++ b/src/Cropperjs/doc/index.rst @@ -26,10 +26,6 @@ needed if you're using AssetMapper): $ npm install --force $ npm run watch - # or use yarn - $ yarn install --force - $ yarn watch - Usage ----- diff --git a/src/Dropzone/doc/index.rst b/src/Dropzone/doc/index.rst index cff26ffbda6..c5af43dce0f 100644 --- a/src/Dropzone/doc/index.rst +++ b/src/Dropzone/doc/index.rst @@ -28,10 +28,6 @@ needed if you're using AssetMapper): $ npm install --force $ npm run watch - # or use yarn - $ yarn install --force - $ yarn watch - Usage ----- diff --git a/src/LazyImage/doc/index.rst b/src/LazyImage/doc/index.rst index 272384a0cc1..b8369e0ff5e 100644 --- a/src/LazyImage/doc/index.rst +++ b/src/LazyImage/doc/index.rst @@ -30,10 +30,6 @@ needed if you're using AssetMapper): $ npm install --force $ npm run watch - # or use yarn - $ yarn install --force - $ yarn watch - Usage ----- diff --git a/src/LiveComponent/doc/index.rst b/src/LiveComponent/doc/index.rst index e24b87a6bed..7b7e7ca1c41 100644 --- a/src/LiveComponent/doc/index.rst +++ b/src/LiveComponent/doc/index.rst @@ -87,10 +87,6 @@ needed if you're using AssetMapper): $ npm install --force $ npm run watch - # or use yarn - $ yarn install --force - $ yarn watch - If your project is localized in different languages (either via the `locale route parameter`_ or by `setting the locale in the request`_) add the ``{_locale}`` attribute to the UX Live Components route definition to keep the locale between re-renders: diff --git a/src/Notify/doc/index.rst b/src/Notify/doc/index.rst index 32611d7a6c4..f6c75eaf40c 100644 --- a/src/Notify/doc/index.rst +++ b/src/Notify/doc/index.rst @@ -25,10 +25,6 @@ needed if you're using AssetMapper): $ npm install --force $ npm run watch - # or use yarn - $ yarn install --force - $ yarn watch - Usage ----- diff --git a/src/React/doc/index.rst b/src/React/doc/index.rst index 954061c8308..08a99031444 100644 --- a/src/React/doc/index.rst +++ b/src/React/doc/index.rst @@ -39,10 +39,6 @@ Next, install a package to help React: $ npm install -D @babel/preset-react --force $ npm run watch - # or use yarn - $ yarn add @babel/preset-react --dev --force - $ yarn watch - That's it! Any files inside ``assets/react/controllers/`` can now be rendered as React components. diff --git a/src/Svelte/doc/index.rst b/src/Svelte/doc/index.rst index 3dc0a92f405..b37ee8fa3d1 100644 --- a/src/Svelte/doc/index.rst +++ b/src/Svelte/doc/index.rst @@ -31,10 +31,6 @@ Install the bundle using Composer and Symfony Flex: $ npm install --force $ npm run watch - # or use yarn - $ yarn install --force - $ yarn watch - The Flex recipe will automatically set things up for you, like adding ``.enableSvelte()`` to your ``webpack.config.js`` file and adding code to load your Svelte components inside ``assets/app.js``. @@ -45,9 +41,6 @@ Next, install a package to help Svelte: $ npm install svelte-loader --save-dev - # or use yarn - $ yarn add svelte-loader --dev - That's it! Any files inside ``assets/svelte/controllers/`` can now be rendered as Svelte components. diff --git a/src/Swup/doc/index.rst b/src/Swup/doc/index.rst index 1b2ed8cc438..d97ffa8bf86 100644 --- a/src/Swup/doc/index.rst +++ b/src/Swup/doc/index.rst @@ -30,10 +30,6 @@ needed if you're using AssetMapper): $ npm install --force $ npm run watch - # or use yarn - $ yarn install --force - $ yarn watch - Usage ----- diff --git a/src/TogglePassword/doc/index.rst b/src/TogglePassword/doc/index.rst index c9ea6cf0b4f..ee4e4ed1065 100644 --- a/src/TogglePassword/doc/index.rst +++ b/src/TogglePassword/doc/index.rst @@ -32,10 +32,6 @@ needed if you're using AssetMapper): $ npm install --force $ npm run watch - # or use yarn - $ yarn install --force - $ yarn watch - Usage with Symfony Forms ------------------------ diff --git a/src/Translator/doc/index.rst b/src/Translator/doc/index.rst index 6d194ce4a53..bb965b002a9 100644 --- a/src/Translator/doc/index.rst +++ b/src/Translator/doc/index.rst @@ -35,10 +35,6 @@ needed if you're using AssetMapper): $ npm install --force $ npm run watch - # or use yarn - $ yarn install --force - $ yarn watch - After installing the bundle, the following file should be created, thanks to the Symfony Flex recipe: .. code-block:: javascript diff --git a/src/Turbo/CONTRIBUTING.md b/src/Turbo/CONTRIBUTING.md index 3eb5e018b6d..bc4c29ac10c 100644 --- a/src/Turbo/CONTRIBUTING.md +++ b/src/Turbo/CONTRIBUTING.md @@ -13,8 +13,6 @@ Install the test app: $ composer install $ cd tests/app - $ yarn install - $ yarn build $ php public/index.php doctrine:schema:create Start the test app: diff --git a/src/Turbo/README.md b/src/Turbo/README.md index aa855d717d7..538794fc22b 100644 --- a/src/Turbo/README.md +++ b/src/Turbo/README.md @@ -37,8 +37,6 @@ Configure test environment (working directory: `src/Turbo`): composer update docker compose up -d cd tests/app -yarn install -yarn build php public/index.php doctrine:schema:create ``` diff --git a/src/Turbo/doc/index.rst b/src/Turbo/doc/index.rst index 336145ca68c..53ac4c6a73b 100644 --- a/src/Turbo/doc/index.rst +++ b/src/Turbo/doc/index.rst @@ -37,10 +37,6 @@ needed if you're using AssetMapper): $ npm install --force $ npm run watch - # or use yarn - $ yarn install --force - $ yarn watch - Usage ----- diff --git a/src/Typed/doc/index.rst b/src/Typed/doc/index.rst index 1a84eacaf95..f6423bbd699 100644 --- a/src/Typed/doc/index.rst +++ b/src/Typed/doc/index.rst @@ -31,10 +31,6 @@ needed if you're using AssetMapper): $ npm install --force $ npm run watch - # or use yarn - $ yarn install --force - $ yarn watch - Usage ----- diff --git a/src/Vue/doc/index.rst b/src/Vue/doc/index.rst index 3f19e3afa9b..0f4f8d0ccc2 100644 --- a/src/Vue/doc/index.rst +++ b/src/Vue/doc/index.rst @@ -39,10 +39,6 @@ Next, install a package to help Vue: $ npm install -D vue-loader --force $ npm run watch - # or with yarn - $ yarn add vue-loader --dev --force - $ yarn watch - That's it! Any files inside ``assets/vue/controllers/`` can now be rendered as Vue components.