Skip to content

Nuxt Application - Architecture #23932

Closed
2 of 2 issues completed
Closed

Description

@arlentees

Adopt Nuxt Folder Structure

  • Create Feature Branch *Keep in sync with main

  • Identify core components and organize them under components/.

  • Move individual view files under pages/, ensuring they maintain routing integrity.

  • Transfer global state management files into Nuxt’s store structure if using Pinia.

  • Considerations: Since routing in Nuxt is file-based, carefully map the routes to Nuxt’s structure to avoid broken paths.

  • Remove Boilerplate Code and Module Import/Exports

  • Gradually remove any import/export statements for components, plugins, and pages that Nuxt can auto-import.

  • Refactor module code to use Nuxt’s global access patterns to reduce redundancies.

  • Considerations: Keep track of all manually imported modules to avoid accidental removal of necessary dependencies.

  • Maintain Single Page Application and Current State Management

  • Configure Nuxt as an SPA to avoid SSR complexities during the initial migration.

  • Refactor only where necessary for compatibility, keeping the state management unchanged.

  • Configure and refactor for Vitest Unit tests in Nuxt Env

  • Minor SBC Common Components KC Update

ISSUES FOUND LIST

  • Address Complete Key is not being initialized - so not looking up.
  • Query params are not being preserved in redirects - ie Amendment -> Amendment Review is redirecting because the ID in the query is being cleared (Will occur in other places where query param is required).
  • Search Results Table on PPR Searches - Not displaying correctly.
  • Selection summary for MHR Searches is not displayed in the review screen.
  • Staff corrections: Interest value is displayed in the next line for the Joint Tenancy Group

Screenshot 2025-02-03 at 8.18.25 AM.png

Sub-issues

Sub-issues

2 of 2 Issues completed
Loading 2 sub-issues

Activity

  1. arlentees commented on Oct 21, 2024

    @arlentees
    Author

    Rough size is two sprints for Dev, a sprint for QA

  2. changed the title [-]Nuxt Application[/-] [+]Nuxt Application - Architecture[/+] on Nov 1, 2024
  3. self-assigned this
    on Nov 20, 2024
  4. cameron-eyds commented on Jan 8, 2025

    @cameron-eyds
    Contributor

    @chdivyareddy @LizGovier Since we have a dedicated unit testing ticket, i'm going to move this ticket into RFQA.
    No rush on moving this through but please catalogue any issues within this ticket and we can find solutions as we go :)
    SIde note: DEV has been our Nuxt build for almost a month, FWIW.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions