Skip to content

Commit

Permalink
Merge pull request #699 from madeindjs/fix-progress-bar
Browse files Browse the repository at this point in the history
fix(ui): fix `CoreProgressBar` description
  • Loading branch information
ramedina86 authored Dec 18, 2024
2 parents d877ba2 + 0cb1365 commit a601681
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions src/ui/public/components/progressbar.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions src/ui/src/components/core/content/CoreProgressBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ import {
} from "@/renderer/sharedStyleFields";
const clickHandlerStub = `
def handle_avatar_click():
print("The avatar was clicked")`;
def handle_progress_bar_click():
print("The progress bar was clicked")`;
const description = "A component to display a progression.";
const definition: WriterComponentDefinition = {
name: "ProgressBar",
name: "Progress Bar",
description,
category: "Content",
allowedChildrenTypes: ["*"],
Expand All @@ -67,7 +67,7 @@ const definition: WriterComponentDefinition = {
default: "0.25",
},
min: {
name: "Mininimum value",
name: "Minimum value",
type: FieldType.Number,
default: "0",
},
Expand All @@ -93,7 +93,7 @@ const definition: WriterComponentDefinition = {
},
events: {
"wf-click": {
desc: "Triggered when the avatar is clicked.",
desc: "Triggered when the progress bar is clicked.",
stub: clickHandlerStub.trim(),
},
},
Expand Down

0 comments on commit a601681

Please sign in to comment.