Skip to content

Commit

Permalink
feat(ui): add link to flow examples pages
Browse files Browse the repository at this point in the history
  • Loading branch information
tchiotludo committed Mar 1, 2023
1 parent a05c03b commit c66e2ca
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
10 changes: 10 additions & 0 deletions ui/src/override/components/LeftMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
import Github from "vue-material-design-icons/Github.vue";
import CogOutline from "vue-material-design-icons/CogOutline.vue";
import ViewDashboardVariantOutline from "vue-material-design-icons/ViewDashboardVariantOutline.vue";
import FileDocumentArrowRightOutline from "vue-material-design-icons/FileDocumentArrowRightOutline.vue";
import {mapState} from "vuex";
export default {
Expand Down Expand Up @@ -165,6 +166,15 @@
class: "menu-icon"
},
},
{
href: "https://kestra.io/docs/flow-examples/",
title: this.$t("documentation.examples"),
icon: {
element: shallowRef(FileDocumentArrowRightOutline),
class: "menu-icon"
},
external: true
},
{
href: "https://api.kestra.io/v1/communities/slack/redirect",
title: "Slack",
Expand Down
2 changes: 2 additions & 0 deletions ui/src/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@
"download": "Download",
"documentation": {
"documentation": "Documentation",
"examples": "Flow examples",
"developer": "Developer Guide",
"github": "GitHub Issues"
},
Expand Down Expand Up @@ -554,6 +555,7 @@
"download": "Télécharger",
"documentation": {
"documentation": "Documentation",
"examples": "Examples de Flow",
"developer": "Guide développeur",
"github": "Bugs GitHub"
},
Expand Down

0 comments on commit c66e2ca

Please sign in to comment.