Commit Graph

5 Commits (v3.2-refact)

Author SHA1 Message Date
panyy b23569e0b8 fix(mindmap): surface backend validation messages in the workbench
find_err_detail relied on ReturnDict.serializer, so plain string and list
errors lost their message and nested ones could raise. Walk dicts and
lists directly instead, and keep the internal non_field_errors key out of
user-facing text.

The axios interceptor toasted every failure before the page could handle
it, so saving over the mindmap limit showed two messages and the workbench
fell back to a generic one. Add an opt-in silentError flag and let the
workbench render the server message itself.
2026-11-12 17:54:06 +08:00
shaohuzhang1 ca3815e6fe
fix: Create a blank document name with more than 128 characters, prompt message needs to be translated (#3825) 2025-08-06 10:48:24 +08:00
shaohuzhang1 2de1d817d7
fix: Error response optimization (#3789) 2025-07-31 16:17:23 +08:00
CaptainB a73e0b10f9 refactor: replace logging with maxkb_logger for consistent logging across modules 2025-06-25 17:00:18 +08:00
shaohuzhang1 e58a5507a9 init project 2025-04-14 20:11:23 +08:00