-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #220 from 6174/update-new-error-notification
Update Comflowy Console styles and add LinearErrorParsingStrategy
- Loading branch information
Showing
7 changed files
with
75 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
...ectron-frontend/src/components/comflowy-console/log-types/log-type-linear-shape-error.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { MessageViewer } from "../message-viewer"; | ||
import { ComflowyConsoleLog } from "@comflowy/common/types/comflowy-console.types"; | ||
import { Log } from './log'; | ||
|
||
/** | ||
* Log type for linear shape errors | ||
*/ | ||
export function LogTypeLinearShapeError({log}: {log: ComflowyConsoleLog}) { | ||
return ( | ||
<Log log={log} level="error" title="Using multiple different base models" className={`log-type-linear-shape-error`}> | ||
<div> | ||
Please switch all model files to the files from the same base model. | ||
For details on the solution, please check: <a href="https://www.comflowy.com/blog/comflowy-faq#multiple-different-base-models" target="_blank">Comflowy FAQ</a> | ||
</div> | ||
</Log> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters