start with upgdrade (broken right now)

This commit is contained in:
Robin Olsen
2026-03-18 11:23:10 +01:00
parent 0c01583ba3
commit 40d25cc716
45 changed files with 218 additions and 218 deletions

View File

@@ -3,11 +3,11 @@ package main
import (
"strings"
"charm.land/bubbles/v2/key"
"charm.land/bubbletea/v2"
"charm.land/lipgloss/v2"
"github.com/LazyBachelor/LazyPM/internal/models"
"github.com/LazyBachelor/LazyPM/internal/style"
"github.com/charmbracelet/bubbles/key"
tea "github.com/charmbracelet/bubbletea"
"github.com/charmbracelet/lipgloss"
)
const stages = 2

View File

@@ -1,9 +1,9 @@
package main
import (
"charm.land/bubbletea/v2"
"charm.land/huh/v2"
"github.com/LazyBachelor/LazyPM/pkg/task"
tea "github.com/charmbracelet/bubbletea"
"github.com/charmbracelet/huh"
)
type IntroQuestionnaire struct{}

View File

@@ -3,9 +3,9 @@ package main
import (
"context"
"charm.land/fang/v2"
"github.com/LazyBachelor/LazyPM/internal/app"
issues "github.com/LazyBachelor/LazyPM/internal/commands/issues"
"github.com/charmbracelet/fang"
"github.com/LazyBachelor/LazyPM/internal/commands/issues"
)
var App *app.App

View File

@@ -7,11 +7,11 @@ import (
"math/rand"
"time"
"charm.land/huh/v2"
"github.com/LazyBachelor/LazyPM/cmd/pm/tasks"
"github.com/LazyBachelor/LazyPM/internal/commands/survey"
"github.com/LazyBachelor/LazyPM/internal/storage"
"github.com/LazyBachelor/LazyPM/pkg/task"
"github.com/charmbracelet/huh"
"github.com/spf13/cobra"
)
@@ -54,7 +54,7 @@ func runStartCmd(cmd *cobra.Command, args []string) error {
Title("Do you want to continue without submitting your responses?").
Description("You can fix your database connection and submit your responses later with the submit command.").
Value(&continueWithoutSubmitting).
WithTheme(huh.ThemeBase16()).
WithTheme(huh.ThemeBase16(true)).
RunAccessible(cmd.OutOrStdout(), cmd.InOrStdin()); err != nil {
return fmt.Errorf("failed to read user input: %w", err)
}

View File

@@ -4,9 +4,9 @@ import (
"context"
"strings"
"charm.land/huh/v2"
"github.com/LazyBachelor/LazyPM/internal/models"
"github.com/LazyBachelor/LazyPM/internal/utils/check"
"github.com/charmbracelet/huh"
)
const backlogRefinementDescription = `You are tasked with backlog refinement.

View File

@@ -3,13 +3,13 @@ package tasks
import (
"context"
"charm.land/huh/v2"
"github.com/LazyBachelor/LazyPM/internal/app"
"github.com/LazyBachelor/LazyPM/internal/models"
"github.com/LazyBachelor/LazyPM/pkg/repl"
"github.com/LazyBachelor/LazyPM/pkg/task"
"github.com/LazyBachelor/LazyPM/pkg/tui"
"github.com/LazyBachelor/LazyPM/pkg/web"
"github.com/charmbracelet/huh"
)
type App = app.App

View File

@@ -5,9 +5,9 @@ import (
"os"
"strings"
"charm.land/huh/v2"
"github.com/LazyBachelor/LazyPM/internal/models"
"github.com/LazyBachelor/LazyPM/internal/utils/check"
"github.com/charmbracelet/huh"
)
const codingDescription = `You are tasked with doing a chore in the codebase.

View File

@@ -4,9 +4,9 @@ import (
"context"
"fmt"
"charm.land/huh/v2"
"github.com/LazyBachelor/LazyPM/internal/models"
"github.com/LazyBachelor/LazyPM/internal/utils/check"
"github.com/charmbracelet/huh"
)
const description = `You are tasked with creating a new issue in the project management system.

View File

@@ -4,9 +4,9 @@ import (
"context"
"fmt"
"charm.land/huh/v2"
"github.com/LazyBachelor/LazyPM/internal/models"
"github.com/LazyBachelor/LazyPM/internal/utils/check"
"github.com/charmbracelet/huh"
)
const dependencyManagementDescription = `You are tasked with managing issue dependencies.

View File

@@ -6,9 +6,9 @@ import (
"os"
"strings"
"charm.land/huh/v2"
"github.com/LazyBachelor/LazyPM/internal/models"
"github.com/LazyBachelor/LazyPM/internal/utils/check"
"github.com/charmbracelet/huh"
"github.com/go-git/go-git/v6"
)

View File

@@ -4,9 +4,9 @@ import (
"context"
"fmt"
"charm.land/huh/v2"
"github.com/LazyBachelor/LazyPM/internal/models"
"github.com/LazyBachelor/LazyPM/internal/utils/check"
"github.com/charmbracelet/huh"
)
const priorityManagementDescription = `You are tasked with managing issue priorities.

View File

@@ -3,9 +3,9 @@ package tasks
import (
"context"
"charm.land/huh/v2"
"github.com/LazyBachelor/LazyPM/internal/models"
"github.com/LazyBachelor/LazyPM/internal/utils/check"
"github.com/charmbracelet/huh"
)
const sprintPlanningDescription = `You are tasked with sprint planning.