Skip to content

Release/2.0.0#1485

Merged
LinkinStars merged 101 commits intomainfrom
release/2.0.0
Jan 28, 2026
Merged

Release/2.0.0#1485
LinkinStars merged 101 commits intomainfrom
release/2.0.0

Conversation

@LinkinStars
Copy link
Member

No description provided.

Dinesht04 and others added 30 commits November 20, 2025 10:51
Regex and Replacer can be reused.
No need to recreate for each invocation.

Signed-off-by: ferhat elmas <elmas.ferhat@gmail.com>
Signed-off-by: ferhat elmas <elmas.ferhat@gmail.com>
Signed-off-by: ferhat elmas <elmas.ferhat@gmail.com>
Signed-off-by: ferhat elmas <elmas.ferhat@gmail.com>
* replace empty interface with any
* run fmt via golangci-lint

related to #1432

Signed-off-by: ferhat elmas <elmas.ferhat@gmail.com>
* gocritic
* misspell
* modernize (aside, bumping go would be nice)
* testifylint
* unconvert
* unparam
* whitespace

related to #1432

Signed-off-by: ferhat elmas <elmas.ferhat@gmail.com>
Translations of items that had not yet been translated. Adjustments to translations already made.
turkish translations improved

Co-authored-by: dashuai <lishuailing@sifou.com>
# Conflicts:
#	i18n/pl_PL.yaml
#	i18n/tr_TR.yaml
…nd enhance editor functionalities

- Added TipTap extensions for image, placeholder, table, and markdown support.
- Implemented WYSIWYG and Markdown editor components.
- Refactored editor context and tool items to utilize the new editor interface.
- Updated styles for the WYSIWYG editor.
- Removed deprecated utility functions and integrated new command methods for better editor interaction.
)

## Summary
- Show success toast notification after user is added
- Refresh user list and navigate to 'normal' filter on page 1 to display
the newly added user

## Problem
When adding a user in Admin -> Users, the page had no feedback after
submission (as reported in #1457).

**Root cause:** The code only refreshed the user list if the current
filter was "all" or "staff", but the default filter is "normal".
Additionally, there was no success toast notification.

## Solution
1. Added toast notification to confirm successful user creation
2. After adding user, navigate to "normal" filter page 1 and refresh the
list so the new user is visible

## Test plan
1. Go to Admin -> Users
2. Click "Add User"
3. Submit user information
4. ✅ Success toast should appear
5. ✅ Page should navigate to "normal" filter
6. ✅ Newly added user should be visible in the list

Fixes #1457

---------

Co-authored-by: LinkinStars <linkinstar@foxmail.com>
…ommand methods

- Removed unnecessary conditional rendering in the MDEditor component for the PluginRender.
- Simplified the MarkdownEditor component's useEffect hooks for better clarity.
- Refactored command methods to utilize self-referencing for improved maintainability.
…RichEditor component

- Updated the editor mode from WYSIWYG to Rich in the MDEditor component.
- Introduced a new RichEditor component utilizing TipTap for enhanced editing capabilities.
- Adjusted styles and references in the editor components to reflect the new naming convention.
…alization logic

- Introduced BaseEditorProps interface to standardize props across MarkdownEditor and RichEditor components.
- Improved initialization logic in RichEditor and MarkdownEditor to handle editor state more effectively.
- Updated useEditor hook to support initial values and prevent unnecessary updates during prop changes.
- Refactored command methods to utilize dispatch for state changes in CodeMirror editor.
kumfo and others added 27 commits January 22, 2026 12:25
…ent, regardless of functional split or reorganization
1. Add AI assistant-related business. 
2. Add Mcp related configuration in the management background
related to #1432

Signed-off-by: ferhat elmas <elmas.ferhat@gmail.com>
# Conflicts:
#	go.mod
#	internal/base/translator/provider.go
# Conflicts:
#	docs/docs.go
#	docs/swagger.json
#	docs/swagger.yaml
#	internal/base/constant/site_type.go
#	internal/controller/ai_controller.go
#	internal/controller/siteinfo_controller.go
#	internal/migrations/migrations.go
#	internal/schema/siteinfo_schema.go
#	internal/service/mock/siteinfo_repo_mock.go
@LinkinStars LinkinStars merged commit 34c1e8a into main Jan 28, 2026
3 checks passed
@LinkinStars LinkinStars deleted the release/2.0.0 branch January 28, 2026 07:58
@LinkinStars LinkinStars restored the release/2.0.0 branch January 28, 2026 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.