A fresh install of Traq does not show ticket list #82
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.
When selecting the 'tickets' view, the main body of the screen remains empty, see the issue mentioned here: #81
Possibly this has to do with installing Traq into a subfolder? I had Claude look into it as I am unfamiliar in this code base, and that gave me these reasons:
Vue Router missing base URL (src/assets/traq.ts)
The Vue Router was created without a base path, so it couldn't match routes when Traq is installed in a subdirectory.
Auth/project data not loaded on initial page load (src/assets/App.vue)
The watch on route params didn't have { immediate: true }, so auth.getUser() and currentProject.getProject() were never called on initial page load - only when navigating between routes.
Tickets never fetched on component mount (src/assets/ticket-listing/TicketListing.vue)
The onMounted hook fetched custom fields but never called getTickets(). There was a broken watch that was supposed to trigger this but never worked:
These changes fix the issue for me, though I'm pretty sure the changes to package-lock.json are unnecessary.
Thanks for making Traq, hope this helps in any way!