Skip to content

Conversation

@st3iny
Copy link
Member

@st3iny st3iny commented Mar 21, 2025

Preparation work for migrating to Vue 3.

@st3iny st3iny added techdebt 3. to review Waiting for reviews labels Mar 21, 2025
@st3iny st3iny self-assigned this Mar 21, 2025
@github-project-automation github-project-automation bot moved this to 🏗️ In progress in 💌 📅 👥 Groupware team Mar 21, 2025
@st3iny

This comment was marked as resolved.

@st3iny st3iny force-pushed the chore/vue3/migrate-to-pinia branch from a2dc90e to 0747eae Compare April 1, 2025 08:18
@st3iny st3iny requested review from ChristophWurst and Copilot April 1, 2025 08:19
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR migrates state management from Vuex to Pinia as part of the preparation for Vue 3 migration. Key changes include replacing Vuex with Pinia in tests and main application modules, updating store implementations, and modifying component computed properties accordingly.

Reviewed Changes

Copilot reviewed 11 out of 12 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/tests/unit/components/PersonalSettings.spec.js Updated tests to use Pinia instead of Vuex
src/tests/unit/components/Device.spec.js Updated tests to use Pinia and adjust store interaction
src/store.js Migrated store implementation from Vuex to Pinia, including actions
src/main-settings.js Adjusted initialization to use Pinia instead of Vuex
src/main-login-setup.js Updated login setup to use Pinia
src/main-challenge.js Migrated state handling for challenge components to Pinia
src/components/PersonalSettings.vue Replaced Vuex computed property mappings with Pinia mappings
src/components/Device.vue Updated component store access to use Pinia
src/components/Challenge.vue Replaced Vuex getter mapping with Pinia state mapping
src/components/AddDeviceDialog.vue Adjusted component logic to interact with the Pinia-based store
Files not reviewed (1)
  • package.json: Language not supported

@st3iny st3iny requested a review from GVodyanov April 1, 2025 08:46
@st3iny st3iny merged commit faddb18 into main Apr 3, 2025
48 checks passed
@st3iny st3iny deleted the chore/vue3/migrate-to-pinia branch April 3, 2025 12:27
@github-project-automation github-project-automation bot moved this from 🏗️ In progress to ☑️ Done in 💌 📅 👥 Groupware team Apr 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews techdebt

Projects

Status: ☑️ Done

Development

Successfully merging this pull request may close these issues.

2 participants