Skip to content

Commit

Permalink
Merge pull request #492 from kiloutyg/489-issue-around-hovering-class…
Browse files Browse the repository at this point in the history
…es-clicking-on-button-which-is-damn-annoying

489 issue around hovering classes clicking on button which is damn annoying
  • Loading branch information
kiloutyg authored Nov 26, 2024
2 parents 6b3412f + 2f0f6df commit a16117b
Show file tree
Hide file tree
Showing 33 changed files with 812 additions and 5,737 deletions.
8 changes: 0 additions & 8 deletions .env.test

This file was deleted.

18 changes: 6 additions & 12 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

###> symfony/framework-bundle ###
.env
.env.local
Expand All @@ -16,17 +15,6 @@
/database_data/
dap*
###< symfony/framework-bundle ###

###> phpunit/phpunit ###
/phpunit.xml
.phpunit.result.cache
###< phpunit/phpunit ###

###> symfony/phpunit-bridge ###
.phpunit.result.cache
/phpunit.xml
###< symfony/phpunit-bridge ###

###> symfony/webpack-encore-bundle ###
/node_modules/
/public/build/
Expand All @@ -48,3 +36,9 @@ database.test.tar.gz
doc.test.tar.gz
docker/dockerfileGHAProd/docauposte2.code-workspace
*.code-workspace
composer-unused.phar
.yarnclean

composer copy.json
composer copy.lock
symfony copy.lock
48 changes: 16 additions & 32 deletions assets/app.js
Original file line number Diff line number Diff line change
@@ -1,22 +1,25 @@
import './bootstrap.js';

import '@hotwired/turbo';
// import '@hotwired/turbo';

document.addEventListener('turbo:load', () => {
console.log('Turbo frame loaded');
});
import "bootstrap";

// document.addEventListener('turbo:load', () => {
// console.log('Turbo frame loaded');
// });

document.addEventListener('turbo:before-render', (event) => {
console.log('Before Turbo renders', event);
});
// document.addEventListener('turbo:before-render', (event) => {
// console.log('Before Turbo renders', event);
// });

// document.addEventListener('turbo:render', (event) => {
// console.log('After Turbo renders', event);
// });

document.addEventListener('turbo:render', (event) => {
console.log('After Turbo renders', event);
});
// document.addEventListener('turbo:submit-start', (event) => {
// console.log('Form submit started', event);
// });

document.addEventListener('turbo:submit-start', (event) => {
console.log('Form submit started', event);
});
/*
* Welcome to your app's main JavaScript file!
*
Expand All @@ -27,25 +30,6 @@ document.addEventListener('turbo:submit-start', (event) => {
// any CSS you import will output into a single css file (app.css in this case)
import "./styles/app.scss";

// start the Stimulus application
import "./bootstrap";

// Import jQuery and Popper.js
// import $ from "jquery";
// import { createPopper } from "@popperjs/core";

// // Make jQuery and Popper.js available globally
// global.$ = global.jQuery = $;
// global.createPopper = createPopper;

// Import Bootstrap's JavaScript
import "bootstrap";

// // Import the Select2 library
// import "select2";

// // initialize Select2 on your elements
// $(document).ready(function () {
// $('.select2-enable').select2();
// });

5 changes: 1 addition & 4 deletions assets/styles/app.scss
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
@import "custom";
@import "~bootstrap/scss/bootstrap";
@import '~bootstrap';
@import "~bootstrap/";
@import "~@fontsource/roboto-condensed/index.css";
@import "~@fortawesome/fontawesome-free/scss/fontawesome";
@import "~@fortawesome/fontawesome-free/scss/regular";
@import "~@fortawesome/fontawesome-free/scss/solid";
@import "~@fortawesome/fontawesome-free/scss/brands";
@import "~@fortawesome/fontawesome-free/css/all.css";
@import '~select2/dist/css/select2.min';

body {
background-color: #2c5066;
Expand Down
Empty file removed assets/styles/custom.scss
Empty file.
19 changes: 0 additions & 19 deletions bin/phpunit

This file was deleted.

41 changes: 41 additions & 0 deletions composer-unused.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<?php

declare(strict_types=1);

use ComposerUnused\ComposerUnused\Configuration\Configuration;
use ComposerUnused\ComposerUnused\Configuration\NamedFilter;
use ComposerUnused\ComposerUnused\Configuration\PatternFilter;
use Webmozart\Glob\Glob;

return static function (Configuration $config): Configuration {
$config


// Ignore specific packages that are used indirectly or via configuration
->addNamedFilter(NamedFilter::fromString('symfony/dotenv'))
->addNamedFilter(NamedFilter::fromString('symfony/apache-pack'))
->addNamedFilter(NamedFilter::fromString('symfony/runtime'))
->addNamedFilter(NamedFilter::fromString('symfony/webpack-encore-bundle'))
->addNamedFilter(NamedFilter::fromString('symfony/monolog-bundle'))
->addNamedFilter(NamedFilter::fromString('symfony/yaml'))
->addNamedFilter(NamedFilter::fromString('symfony/flex'))


// Ignore all Symfony UX packages
->addPatternFilter(PatternFilter::fromString('/^symfony\/ux-/'))

// Include additional configuration files that may use dependencies
->setAdditionalFilesFor('symfony/framework-bundle', [
...Glob::glob(__DIR__ . '/config/{packages,packages/dev}/*.yaml'),
])
->setAdditionalFilesFor('twig/twig', [
...Glob::glob(__DIR__ . '/templates/**/*.twig'),
]);

// Handle dependencies based on PHP version
if (PHP_VERSION_ID >= 80100) {
$config->addNamedFilter(NamedFilter::fromString('symfony/property-access'));
}

return $config;
};
99 changes: 42 additions & 57 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,65 +1,44 @@
{
"name": "kiloutyg/docauposte2",
"type": "project",
"license": "proprietary",
"minimum-stability": "dev",
"minimum-stability": "stable",
"prefer-stable": true,
"require": {
"php": ">=8.2",
"ext-ctype": "*",
"ext-iconv": "*",
"doctrine/annotations": "^1.0",
"doctrine/doctrine-bundle": "^2.8",
"doctrine/doctrine-migrations-bundle": "^3.2",
"doctrine/orm": "^2.14",
"phpdocumentor/reflection-docblock": "^5.3",
"phpstan/phpdoc-parser": "^1.16",
"phpunit/phpunit": "^9.5",
"picqer/php-barcode-generator": "^2.4",
"symfony/apache-pack": "^1.0",
"symfony/asset": "^7",
"symfony/browser-kit": "^7",
"symfony/cache": "^7",
"symfony/console": "^7",
"symfony/css-selector": "^7",
"symfony/debug-bundle": "^7",
"symfony/dotenv": "^7",
"symfony/error-handler": "^7",
"symfony/expression-language": "^7",
"symfony/flex": "^2",
"symfony/form": "^7",
"symfony/framework-bundle": "^7",
"symfony/http-client": "^7",
"symfony/http-foundation": "^7",
"symfony/intl": "^7",
"symfony/mailer": "^7",
"symfony/maker-bundle": "^1.50",
"symfony/mime": "^7",
"symfony/monolog-bundle": "^3.8",
"symfony/notifier": "^7",
"symfony/phpunit-bridge": "^6.2",
"symfony/process": "^7",
"symfony/property-access": "^7",
"symfony/property-info": "^7",
"symfony/runtime": "^7",
"symfony/security-bundle": "^7",
"symfony/serializer": "^7",
"symfony/stimulus-bundle": "^2.14",
"symfony/stopwatch": "^7",
"symfony/string": "^7",
"symfony/templating": "^7",
"symfony/translation": "^7",
"symfony/twig-bundle": "^7",
"symfony/ux-turbo": "^2.14",
"symfony/validator": "^7",
"symfony/var-dumper": "^7",
"symfony/web-link": "^7",
"symfony/web-profiler-bundle": "^7",
"symfony/webpack-encore-bundle": "^2.0",
"symfony/yaml": "^7",
"tecnickcom/tcpdf": "^6.7",
"tomasvotruba/barcode-bundle": "^1.5",
"twig/extra-bundle": "^3.0",
"twig/twig": "^3.0"
"doctrine/doctrine-bundle": ">=2.13",
"doctrine/doctrine-migrations-bundle": ">=3.3",
"symfony/monolog-bundle": ">=3.10",
"doctrine/orm": ">=2.14",
"picqer/php-barcode-generator": ">=2.4",
"symfony/apache-pack": ">=1.0",
"symfony/cache": ">=6.3",
"symfony/console": ">=6.3",
"symfony/dotenv": ">=6.3",
"symfony/error-handler": ">=6.3",
"symfony/flex": ">=2.4",
"symfony/form": ">=6.3",
"symfony/framework-bundle": ">=6.3",
"symfony/http-foundation": ">=6.3",
"symfony/mailer": ">=6.3",
"symfony/mime": ">=6.3",
"symfony/property-access": ">=6.3",
"symfony/property-info": ">=6.3",
"symfony/runtime": ">=6.3",
"symfony/security-bundle": ">=6.3",
"symfony/serializer": ">=6.3",
"symfony/stimulus-bundle": ">=2.14",
"symfony/string": ">=6.3",
"symfony/ux-turbo": ">=2.14",
"symfony/validator": ">=6.3",
"symfony/var-dumper": ">=6.3",
"symfony/web-profiler-bundle": ">=6.3",
"symfony/webpack-encore-bundle": ">=2.0",
"symfony/yaml": ">=6.3",
"tecnickcom/tcpdf": ">=6.7",
"tomasvotruba/barcode-bundle": ">=1.5",
"twig/twig": ">=2.12|>=3.0"
},
"config": {
"allow-plugins": {
Expand All @@ -75,7 +54,7 @@
},
"autoload-dev": {
"psr-4": {
"App\\": "src/"
"App\\Tests\\": "tests/"
}
},
"replace": {
Expand Down Expand Up @@ -105,7 +84,13 @@
"extra": {
"symfony": {
"allow-contrib": true,
"require": "^7"
"require": ">=6.3",
"docker": false
}
},
"require-dev": {
"symfony/maker-bundle": ">=1.50",
"symfony/process": ">=6.3",
"symfony/stopwatch": ">=6.3"
}
}
Loading

0 comments on commit a16117b

Please sign in to comment.