Skip to content

Commit

Permalink
fix: Rating component and running feedback (#312)
Browse files Browse the repository at this point in the history
* Update footer status text and css in app.vue

- Changed footer status text from Stopped to Connected when notebook is not running.
- Added CSS to make the Connected status text color change for better visibility.

* Implement Vuetify rating component and create Python rating model

- Added Vuetify rating component to the UI.
- Updated various fields to incorporate the v-rating component.
- Created a Python model for rating to handle backend data

* Addrunning cell indication in notebook

- Updated backend to send the ID of the currently running cell in the  method.
- Modified app.vue to retrieve the current running cell ID.
- Passed the running cell ID to relevant components to display a loader.

* updated running indication UI to display beside title of cell, updated backend execute_code to send the running cell details properly when all cells are running, Updating basic css for indicator

* Dbeugged and solved issue after merging the new due to mwthod changes

* fix: Rating component and running feedback

* fix: Small updates

---------

Co-authored-by: priya_kanabar-crest <priya.k@crestinfosystems.com>
  • Loading branch information
Carson-Shaar and priyakanabar-crest authored Aug 27, 2024
1 parent 0967801 commit 97001ae
Show file tree
Hide file tree
Showing 27 changed files with 957 additions and 242 deletions.
418 changes: 418 additions & 0 deletions mintlify-docs/Components/Rating.mdx

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mintlify-docs/mint.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
"Components/Text",
"Components/Textinput",
"Components/Slider",
"Components/Rating",
"Components/Image",
"Components/Card",
"Components/DataFrame",
Expand Down
1 change: 1 addition & 0 deletions zero_true/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from zt_backend.models.components.zt_component import ZTComponent
from zt_backend.models.components.slider import Slider
from zt_backend.models.components.rating import Rating
from zt_backend.models.components.text_input import TextInput
from zt_backend.models.components.text_area_input import TextArea
from zt_backend.models.components.range_slider import RangeSlider
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions zt_backend/dist_app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Pathway+Extreme:opsz,wght@8..144,100;8..144,200;8..144,300;8..144,400;8..144,500;8..144,600;8..144,700;8..144,800;8..144,900&display=swap" rel="stylesheet">
<title>Zero-True</title>
<script type="module" crossorigin src="./assets/index-de12265c.js"></script>
<link rel="stylesheet" href="./assets/index-d94f5589.css">
<script type="module" crossorigin src="./assets/index-fb670233.js"></script>
<link rel="stylesheet" href="./assets/index-267af001.css">
</head>

<body>
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Loading

0 comments on commit 97001ae

Please sign in to comment.