Skip to content

Commit

Permalink
🚀 Enhance progress notifications with output window links for better …
Browse files Browse the repository at this point in the history
…user guidance, Closes #286 (#384)

## 🎯 Aim

Includes check output window for CLI Actions

## 📷 Result

![image](https://github.com/user-attachments/assets/fa9b81a4-fc55-4436-86ee-3fdd559ba510)

## ✅ What was done

- [X] Added check output window for CLI Actions

## 🔗 Related issue

Closes #286
  • Loading branch information
nicodecleyre authored Jan 2, 2025
1 parent 8a6183e commit 3dfc574
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/services/actions/CliActions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ export class CliActions {

await window.withProgress({
location: ProgressLocation.Notification,
title: 'Creating app registration...',
title: `Creating app registration... Check [output window](command:${Commands.showOutputChannel}) to follow the progress.`,
cancellable: true
}, async (progress: Progress<{ message?: string; increment?: number }>) => {
try {
Expand Down Expand Up @@ -481,7 +481,7 @@ export class CliActions {

await window.withProgress({
location: ProgressLocation.Notification,
title: `Generating ${input.workflowType === WorkflowType.gitHub ? 'GitHub Workflow' : 'Azure DevOps Pipeline'}...`,
title: `Generating ${input.workflowType === WorkflowType.gitHub ? 'GitHub Workflow' : 'Azure DevOps Pipeline'}... Check [output window](command:${Commands.showOutputChannel}) to follow the progress.`,
cancellable: true
}, async (progress: Progress<{ message?: string; increment?: number }>) => {
try {
Expand Down Expand Up @@ -575,7 +575,7 @@ export class CliActions {

await window.withProgress({
location: ProgressLocation.Notification,
title: 'Generating the upgrade steps...',
title: `Generating the upgrade steps... Check [output window](command:${Commands.showOutputChannel}) to follow the progress.`,
cancellable: true
}, async (progress: Progress<{ message?: string; increment?: number }>) => {
try {
Expand Down Expand Up @@ -641,7 +641,7 @@ export class CliActions {

await window.withProgress({
location: ProgressLocation.Notification,
title: 'Renaming the current project...',
title: `Renaming the current project... Check [output window](command:${Commands.showOutputChannel}) to follow the progress.`,
cancellable: true
}, async (progress: Progress<{ message?: string; increment?: number }>) => {
try {
Expand Down Expand Up @@ -693,7 +693,7 @@ export class CliActions {

await window.withProgress({
location: ProgressLocation.Notification,
title: 'Granting API permissions for the current project...',
title: `Granting API permissions for the current project... Check [output window](command:${Commands.showOutputChannel}) to follow the progress.`,
cancellable: true
}, async (progress: Progress<{ message?: string; increment?: number }>) => {
try {
Expand Down Expand Up @@ -749,7 +749,7 @@ export class CliActions {

await window.withProgress({
location: ProgressLocation.Notification,
title: 'Validating the current project...',
title: `Validating the current project... Check [output window](command:${Commands.showOutputChannel}) to follow the progress.`,
cancellable: true
}, async (progress: Progress<{ message?: string; increment?: number }>) => {
try {
Expand Down Expand Up @@ -1014,7 +1014,7 @@ export class CliActions {

await window.withProgress({
location: ProgressLocation.Notification,
title: 'Setting form customizer...',
title: `Setting form customizer... Check [output window](command:${Commands.showOutputChannel}) to follow the progress.`,
cancellable: true
}, async (progress: Progress<{ message?: string; increment?: number }>) => {
try {
Expand Down

0 comments on commit 3dfc574

Please # to comment.