Migrate from Vue 2 to Vue 3 with Vite and Pinia#87
Open
emonty wants to merge 2 commits into
Open
Conversation
Add a new linear/list view alongside the circular visualization: - New LinearDiagram, LinearEntry, and LinearArc components - View toggle in Legend options (circular/linear) - URL parameter ?view=linear for shareability - Honors "Order by" sorting selector - Filtered entries disappear (vs just dimming) - Pan/zoom support via svg-pan-zoom Updated yarn.lock because otherwise npm run serve just plain didn't work.
Vue 2 is EOL. Update to the most recent Vue so we're in support. Obviously other shifts fall out of that. - Upgrade Vue 2 → Vue 3 with Composition API support - Replace Vue CLI with Vite for faster builds - Replace Vuex with Pinia for state management - Replace v-tooltip with floating-vue - Replace vue-feather-icons with lucide-vue-next - Replace vue-svg-pan-zoom with panzoom library directly Breaking changes addressed: - Update directive lifecycle hooks (bind→mounted, unbind→unmounted) - Update Vue Router to v4 (createRouter, createWebHashHistory) - Fix reactivity for shared category objects across components - Replace custom Tooltip component with floating-vue v-tooltip directive Other improvements: - Fix SVG focus outlines on click - Fix linear view sizing with preserveAspectRatio="slice" - Update tooltip options for floating-vue compatibility
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Vue 2 is EOL. Update to the most recent Vue so we're in support. Obviously other shifts fall out of that.
Breaking changes addressed: