Commit Graph

17 Commits

Author SHA1 Message Date
pooria b7830a3e32 feat: add ToolbarScope parameter to editors for scoped toolbar contributions
- Introduce a new ToolbarScope parameter in SbMarkdownEditor, SbMarkEditor, and SbRichTextEditor to filter toolbar contributors based on context.
- Update related services and interfaces to support scoped contributions, enhancing the flexibility of toolbar item management.
- Add disposal handling in SbSelectOption to unregister options properly.
- Implement CSS coverage fixes for various components to ensure consistent styling across the application.
2026-06-30 01:44:24 +03:30
pooria 6b9eb5c8fe fix(SbMarkdownEditor): improve disposal handling and error management during editor destruction
- Introduce a _disposed flag to prevent operations on disposed instances.
- Enhance error handling in DisposeAsync and editor destruction methods to log exceptions without crashing.
- Ensure proper checks before invoking interop methods to maintain stability during component lifecycle events.
2026-06-29 14:29:17 +03:30
pooria 239b1780fc feat(sufi-blazor): introduce sb mark editor unified editing surface 2026-06-27 16:36:22 +03:30
pooria 6406d77732 chore: update project files to use version variables for package references and adjust import order
- Replace hardcoded package versions with version variables in SufiChain.SufiBlazor and SufiChain.SufiBlazor.Demo.Localization project files.
- Change import order in Directory.Build.props to prioritize versions.props before common.props.
2026-06-22 20:42:04 +03:30
pooria c4403527ad feat: enhance SbMarkdownEditor with source language support and toolbar item loading
- Add SourceLanguage and IncludeDefaultToolbarItems parameters to SbMarkdownEditor
- Refactor toolbar item loading logic into a separate method for better readability
- Update JavaScript interop to handle source language in editor initialization
- Improve error handling in destroyEditor method to prevent crashes on disconnection
2026-06-22 18:58:16 +03:30
pooria f9ba4f2980 feat: add markdown editor component with extensible toolbar system
Release NuGet Packages / pack-and-push (release) Successful in 3m28s
- Add SbMarkdownEditor component with EasyMDE and CodeMirror integration
  - Implement IMdToolbarContributor interface for extensible toolbar customization
  - Add MdToolbarService and MdToolbarOptions for toolbar management
  - Include vendor libraries (CodeMirror, EasyMDE, Mermaid, Highlight.js)
  - Add markdown editor interop and JavaScript integration
  - Refactor SbMarkdownViewer to support both embedded and standalone modes
  - Add demo page and localization keys for markdown editor
  - Normalize whitespace and line endings across all component files
2026-06-22 12:36:34 +03:30
pooria 87a3894d92 Enhance SbConfirmDialog component with improved icon handling and styling. Update project file to enable package generation on build and adjust CSS for better dialog responsiveness and overflow management.
Release NuGet Packages / pack-and-push (release) Successful in 3m21s
2026-06-21 10:49:04 +03:30
pooria 7f648dfb65 fix
Release NuGet Packages / pack-and-push (release) Has been cancelled
2026-06-17 18:40:31 +03:30
pooria baa5746882 Update release-nuget.yml
Release NuGet Packages / pack-and-push (release) Failing after 10m19s
2026-06-12 02:36:14 +03:30
pooria 04bfd837ed Update release-nuget.yml 2026-06-12 02:29:09 +03:30
pooria a6755ed21f update demo and bumped versions 2026-06-12 02:23:33 +03:30
pooria b0015a5b60 Refactor SbDialog component to enhance OnCloseButtonClick behavior, ensuring it runs before the standard close flow while still invoking OpenChanged. Update JavaScript functions to prevent closing when already closed. Improve tests to validate new close behavior and synchronization.
Release NuGet Packages / pack-and-push (release) Successful in 5m1s
2026-06-07 14:10:29 +03:30
pooria cf13f4faae Enhance NuGet configuration by adding auditSources section and updating release workflow to improve package versioning and restore processes. Adjust parallelism for package pushing and refine build commands for better efficiency. 2026-05-30 16:27:16 +03:30
pooria 6a0e724eb0 Update documentation and references from Wish Theme to KomTheme across various files, including README, installation guides, and component documentation. Add NuGet.Config to solution structure.
Release NuGet Packages / pack-and-push (release) Successful in 8m35s
2026-05-25 19:27:29 +03:30
pooria e1474c232b Update NuGet.Config
Release NuGet Packages / pack-and-push (release) Successful in 10m7s
2026-05-21 12:25:12 +03:30
pooria 159ef808a1 Update NuGet.Config
Release NuGet Packages / pack-and-push (release) Failing after 2m15s
2026-05-21 12:07:18 +03:30
pooria 3ff35dedb5 first commit
Release NuGet Packages / pack-and-push (release) Failing after 10m17s
2026-05-21 11:20:43 +03:30