Commit Graph

1819 Commits

Author SHA1 Message Date
Younes ENNAJI fdfd8e0b50 Remove Notification Studio title and Copy button to save space 2026-01-25 05:39:27 +01:00
Younes ENNAJI 18712ba51e Remove Custom Icon, Reset All, and Animation Toggle from Notification Studio
- Remove Custom Icon section (not yet implemented in PHPFlasher)
- Remove Reset All button
- Remove Animation Toggle button
- Clean up related JavaScript code
- Reduce vertical scroll by simplifying UI
2026-01-25 05:37:01 +01:00
Younes ENNAJI abc8cf2569 Enhance Notification Studio with major improvements
- Add Copy Code button with visual feedback
- Add Reset All button to clear options
- Add Quick Presets for common use cases (User Created, Payment Failed, Login Success, etc.)
- Add Animation Toggle to enable/disable typing animations
- Add Icon Selection with 12 common icons
- Add 3 new adapter tabs: Noty, Toastr, and SweetAlert
- Add Code Comparison modal showing Before vs After PHPFlasher
- Improve mobile responsiveness with better layout for small screens
- Add custom scrollbar styling for code panels
- Update version to 3.0
2026-01-25 05:31:31 +01:00
Younes ENNAJI e1e3f01dce Updates generated CSS and manifest files 2026-01-25 05:28:57 +01:00
Younes ENNAJI 5aa8500683 Add jekyll-paginate gem to Gemfile and config 2026-01-25 05:25:49 +01:00
Younes ENNAJI cea67fe813 Add jekyll-paginate plugin to fix deprecation warning 2026-01-25 05:24:42 +01:00
Younes ENNAJI 3a47e100a0 Fix Liquid syntax errors in blog post by escaping Blade template syntax 2026-01-25 05:23:41 +01:00
Younes ENNAJI 93c5e987fc Remove Browser Support and Need assistance sections from theme layout 2026-01-25 05:22:02 +01:00
Younes ENNAJI 151c4f7778 Remove Footer CTA sections from Livewire and Inertia pages 2026-01-25 05:21:02 +01:00
Younes ENNAJI a5849a615b Remove Footer CTA section from Laravel page 2026-01-25 05:19:45 +01:00
Younes ENNAJI 1801e187ac Remove Footer CTA section from Symfony page 2026-01-25 05:18:40 +01:00
Younes ENNAJI 6eede92db6 Update LinkedIn username from younes--ennaji to yoeunes 2026-01-25 05:16:22 +01:00
Younes ENNAJI 0e04125627 Remove Testimonials and Browser Support sections from homepage 2026-01-25 05:11:25 +01:00
Younes ENNAJI aeca5b5ee7 Remove Community and CTA sections from homepage 2026-01-25 05:10:23 +01:00
Younes ENNAJI 1b2f45f964 Fix code indentation in homepage examples 2026-01-25 05:09:04 +01:00
Younes ENNAJI e70d40ef04 Simplify GitHub CTA message in documentation 2026-01-25 05:06:36 +01:00
Younes ENNAJI 0b9cfe80d5 Remove Blog links and v1.x documentation from navigation
- Hide Blog section from sidebar menu and header navigation
- Remove v1.x version link, keeping only current v2.x docs
2026-01-25 05:04:47 +01:00
Younes ENNAJI 767939a38c Update docs build artifacts after code simplification
Regenerate documentation build files with updated asset hashes following the recent code cleanup and simplification work.
2026-01-25 05:00:25 +01:00
Younes ENNAJI d7234c64a2 Simplify verbose PHPDoc class descriptions across 76 files
Remove descriptive class/interface-level documentation that duplicates
what the class/interface names already convey, while keeping all
type annotations (@param, @return, @var, @throws, @phpstan-, @mixin,
@template, @internal).

Files modified:
- Symfony integration (18 files): Attribute, Translation, Template,
  Component, Storage, Support, Http, Profiler, Command, Twig,
  EventListener, FlasherSymfonyBundle
- Laravel integration (13 files): ServiceProvider, Storage, Middleware,
  Http, Facade, Template, Translation, Command, Component, EventListener
- Prime/EventDispatcher (17 files): Events and EventListeners
- Prime/Storage (11 files): Filter/Criteria and Bag interfaces
- Prime/Stamp (4 files): Interface and stamp classes
- Prime/Factory (5 files): Factory interfaces and implementations
- Prime/Notification (2 files): Envelope and Notification
- Prime/Support/Traits (1 file): ForwardsCalls
2026-01-16 01:46:44 +01:00
Younes ENNAJI 194eab473e Simplify verbose documentation in translation language files
Remove verbose class-level and method-level documentation from:
- 8 translation language files (Arabic, Chinese, English, French, German, Portuguese, Russian, Spanish)
- FilterFactory class

Kept only essential type annotations (@return, @param, @throws, @var).

Also regenerated CSS build artifacts after previous SCSS changes.
2026-01-16 01:31:15 +01:00
Younes ENNAJI 521746f813 Simplify remaining comments in global.d.ts and SCSS theme files
- Remove file headers and verbose documentation from 2 global.d.ts files
- Simplify 12 SCSS theme files by removing multi-line documentation blocks
- Remove verbose inline comments that just repeat what the code does
- Keep helpful inline comments for non-obvious code

Files modified:
- src/Prime/Resources/assets/global.d.ts
- src/Toastr/Prime/Resources/assets/global.d.ts
- src/Prime/Resources/assets/themes/aurora/aurora.scss
- src/Prime/Resources/assets/themes/facebook/facebook.scss
- src/Prime/Resources/assets/themes/google/google.scss
- src/Prime/Resources/assets/themes/ios/ios.scss
- src/Prime/Resources/assets/themes/jade/jade.scss
- src/Prime/Resources/assets/themes/material/material.scss
- src/Prime/Resources/assets/themes/minimal/minimal.scss
- src/Prime/Resources/assets/themes/neon/neon.scss
- src/Prime/Resources/assets/themes/onyx/onyx.scss
- src/Prime/Resources/assets/themes/ruby/ruby.scss
- src/Prime/Resources/assets/themes/sapphire/sapphire.scss
- src/Prime/Resources/assets/themes/slack/slack.scss
2026-01-16 01:28:29 +01:00
Younes ENNAJI 34d780b0b7 Fix SCSS syntax errors and TypeScript build error
- Fix 15 theme SCSS files with orphaned comment closing markers
- Add type assertion to notyf.ts for private property access
- Regenerate build artifacts after fixes

The SCSS files had broken syntax from previous comment removal where
orphaned '*/' markers were left behind, causing SCSS parsing errors.
2026-01-16 00:52:20 +01:00
Younes ENNAJI 61f991f379 Simplify JSDoc and SCSS comments in theme files and entry points
Remove verbose JSDoc and SCSS comments from:
- Theme TypeScript files (17 amazon, amber, aurora, crystal, emerald, facebook, flasher, google, ios, jade, material, minimal, neon, onyx, ruby, sapphire, slack)
- Theme SCSS files (21 theme stylesheets including icons, progress, wrapper, and all theme variants)
- Theme index.ts registration files (17 files)
- Entry point and export files (index.ts, exports.ts)
- Adapter index.ts files (Noty, Notyf, SweetAlert, Toastr)
- Remaining plugin files (toastr.ts, notyf.ts)

Kept type annotations and removed only descriptive comments, examples,
and file headers following Symfony's concise documentation style.
2026-01-16 00:40:14 +01:00
Younes ENNAJI cc9fa57c4a Simplify JSDoc comments in plugin TypeScript files
Removes verbose documentation from:
- plugin.ts (AbstractPlugin base class)
- noty.ts (Noty plugin implementation)
- sweetalert.ts (SweetAlert plugin implementation)

Keeps essential type annotations.
2026-01-16 00:28:35 +01:00
Younes ENNAJI 613c73d7b6 Simplify JSDoc and comments in TypeScript and SCSS files
Removes verbose documentation and examples from:
- flasher.ts (main orchestration class)
- flasher-plugin.ts (default plugin implementation)
- types.ts (type definitions)
- flasher.scss (default theme styles)
- mixins.scss (reusable SASS mixins)

Keeps essential type annotations and parameter documentation.
2026-01-16 00:27:42 +01:00
Younes ENNAJI 9239063159 Simplify PHPDoc comments in Stamp classes and PhpStorm meta files
Removes verbose documentation and comments from:
- Stamp classes (PriorityStamp, HopsStamp, DelayStamp, etc.)
- .phpstorm.meta.php files (Prime, Noty, Notyf, SweetAlert, Toastr)
- Factory and EventDispatcher classes
2026-01-16 00:23:16 +01:00
Younes ENNAJI 2e61a0539f Simplify PHPDoc comments in core Prime classes
Removes verbose documentation while preserving type annotations
for array parameters and PHPStan type definitions.
2026-01-16 00:20:39 +01:00
Younes ENNAJI 548044bd7f Simplify PHPDoc comments in Notification builder classes
Removes verbose documentation while preserving type annotations
for array parameters.
2026-01-16 00:17:52 +01:00
Younes ENNAJI 3f920f2c01 Simplify PHPDoc comments in Plugin, HTTP, Stamp, and Test constraint classes
Removes verbose documentation while preserving type annotations.
2026-01-16 00:07:42 +01:00
Younes ENNAJI 65e9125539 Simplify PHPDoc comments in helper functions and translation files
This commit simplifies PHPDoc comments in helper functions and Laravel
translation files by removing verbose documentation and keeping only
essential type annotations.

Changes include:
- Removed "Design pattern" mentions and example usage blocks
- Kept all @param and @phpstan-return type annotations
- Added missing @return annotations for PHPStan

Files modified:
- src/Prime/functions.php - Namespaced helper function
- src/Prime/helpers.php - Global helper function
- src/Laravel/Translation/lang/*/messages.php - 8 translation files (ar, de, en, es, fr, pt, ru, zh)
- src/Prime/Http/RequestInterface.php - Added @return annotation
- src/Prime/Http/ResponseInterface.php - Added @param annotation
- src/Prime/Notification/NotificationBuilderInterface.php - Added @param annotation

All changes pass PHPStan analysis and tests.
2026-01-15 23:48:33 +01:00
Younes ENNAJI a0873c0082 Simplify PHPDoc comments in Prime interfaces and traits
This commit simplifies PHPDoc comments across 26 files in the src/Prime/
directory by removing verbose documentation and keeping only essential type
annotations.

Changes include:
- Removed "Design pattern" mentions and redundant explanations
- Kept all @param and @return type annotations for PHPStan
- Maintained @phpstan-* annotations for type safety

Files modified:
- Exception classes (4 files)
- Http interfaces (5 files)
- Notification builders and interfaces (3 files)
- Plugin, Response, Storage, Template, Translation, and Test interfaces (14 files)

All changes pass PHPStan analysis and tests.
2026-01-15 23:40:19 +01:00
Younes ENNAJI 1c5b533126 Refactors Toastr implementation as a plugin 2026-01-15 23:26:32 +01:00
Younes ENNAJI f78824b8d9 Downgrades dependencies for broader compatibility 2026-01-15 23:15:58 +01:00
Younes ENNAJI e212c0157e Simplify PHPDoc comments in SweetAlert integration
Remove verbose documentation pattern references and redundant
explanations, keeping only essential type annotations.
2026-01-15 23:12:29 +01:00
Younes ENNAJI fcf5c63f58 Improves documentation with parameter types 2026-01-15 22:56:11 +01:00
Younes ENNAJI ea164fde17 Simplify PHPDoc comments in Notyf integration
Remove verbose documentation pattern references and redundant
explanations, keeping only essential type annotations.
2026-01-15 22:51:25 +01:00
Younes ENNAJI 611fda9c61 Simplify PHPDoc comments in Noty integration
Remove verbose documentation pattern references and redundant
explanations, keeping only essential type annotations.
2026-01-15 22:35:01 +01:00
Younes ENNAJI 21348f384d Simplify PHPDoc comments in Laravel and Symfony integrations
Remove verbose documentation pattern references and redundant
explanations, keeping only essential type annotations.
2026-01-15 22:22:20 +01:00
Younes ENNAJI 8f594698c7 Simplify PHPDoc comments in Prime classes
Remove verbose documentation pattern references and redundant
explanations, keeping only essential type annotations.
2026-01-15 21:21:11 +01:00
Younes ENNAJI d65300a0e9 Fix PHPStan errors and test failures, improve PHPDoc documentation ordering 2026-01-10 04:36:16 +01:00
Younes ENNAJI a002590d56 Fix incorrect examples in src/Prime/README.md
- Replace non-existent static Flasher:: calls with flash() helper function
2026-01-10 04:21:03 +01:00
Younes ENNAJI 5a4d46b46b Fix incorrect code examples in Prime adapter READMEs
- Replace non-existent static method calls with correct helper functions
- Update examples to use sweetalert(), notyf(), noty(), toastr() helpers
- Pass options as arrays instead of invalid fluent chaining
2026-01-10 04:19:17 +01:00
Younes ENNAJI 0232edc9bd Adds documentation files and improves package READMEs 2026-01-10 03:54:56 +01:00
Younes ENNAJI 1c5fbbba9a Refactors and improves documentation clarity 2026-01-10 02:16:28 +01:00
Younes ENNAJI 15da40c582 Updates flasher dependencies to version 2.4.0 2025-12-31 11:43:34 +01:00
Younes ENNAJI 8c77e96eb6 Upgrade yoeunes/regex-parser to v1.0 2025-12-31 11:38:59 +01:00
Younes ENNAJI 91ab4fa0f4 Updates Flasher dependencies to version 2.3.0
Updates all flasher dependencies in composer.json files and the main Flasher version constant to the new version 2.3.0.

This ensures that all packages are using the latest compatible version of Flasher.
v2.3.0
2025-12-09 11:23:28 +01:00
Younes ENNAJI b08117853a Merge pull request #295 from php-flasher/regex-parser
Adds regex-parser library
2025-12-09 11:22:15 +01:00
Younes ENNAJI 2417333107 Adds regex-parser library
Adds the `yoeunes/regex-parser` library as a dependency.

This library will be used for advanced regular expression
validation and analysis within the application.

Also updates the .gitignore to ignore vendor directories
within the `src` directory, and adds `composer.lock` to it.
2025-12-09 11:20:01 +01:00
Younes ENNAJI 358ad11c4d Updates flasher dependencies to v2.2.2
Bumps all flasher dependencies to the latest version 2.2.2.

This ensures all packages are aligned with the latest features and bug fixes.
2025-12-08 12:53:33 +01:00