-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Websockets/codemirror implementation, execution interruption, bug fix…
…es (#113) * initial codemirror * All cells saving on keyup, Finish completions in code cells * added text component import to layout * got view to work * fixed type errors on code component and moved stuff to setup * ctrl enter fixed * websocket runcode * nice * completions with cell_id * code completions working * Model Fix and more * remove ace * Typo * Fixes and built files * Remove * update save cell to not save on ctrl+enter * App mode with stdout bug * LFG * frontend build * Hide add cell in app, run request queue lock state, no extra websocket in execute * Remove user state * test fix * ws connection fix --------- Co-authored-by: Red-Giuliano <red.giuliano@zero-true.com>
- Loading branch information
1 parent
ac7ac1e
commit b9aff77
Showing
59 changed files
with
1,823 additions
and
4,025 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
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...ackend/dist_app/assets/index-9d4f0e04.css → ...ackend/dist_app/assets/index-b4b3b1e9.css
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...dist_dev/assets/webfontloader-bb2b415c.js → ...dist_app/assets/webfontloader-11d01d46.js
Large diffs are not rendered by default.
Oops, something went wrong.
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
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...ackend/dist_dev/assets/index-9d4f0e04.css → ...ackend/dist_dev/assets/index-b4b3b1e9.css
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...dist_app/assets/webfontloader-afe4bc24.js → ...dist_dev/assets/webfontloader-af111efa.js
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
from pydantic import Field | ||
from typing import List | ||
from typing import List, Optional | ||
from zt_backend.models.components.zt_component import ZTComponent | ||
|
||
class Card(ZTComponent): | ||
"""A class for Card components inheriting from ZTComponent.""" | ||
|
||
component: str = Field("v-card", description="Vue component name.") | ||
cardChildren: List[str] = Field([], description="List of child components within the card.") | ||
color: str = Field(None, description="Background color of the card.") | ||
elevation: int = Field(None, ge=0, le=24, description="Elevation level of the card. Must be between 0 and 24.") | ||
density: str = Field(None, enum=['default','comfortable','compact'], description="Density of the component") | ||
width: int = Field(None, description="Width of the card.") | ||
location: str = Field(None, enum=['center']) | ||
color: Optional[str] = Field(None, description="Background color of the card.") | ||
elevation: Optional[int] = Field(None, ge=0, le=24, description="Elevation level of the card. Must be between 0 and 24.") | ||
density: Optional[str] = Field(None, enum=['default','comfortable','compact'], description="Density of the component") | ||
width: Optional[int] = Field(None, description="Width of the card.") | ||
location: Optional[str] = Field(None, enum=['center']) |
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
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
Oops, something went wrong.