Skip to content

Conversation

@JasonWarrenUK
Copy link
Collaborator

@JasonWarrenUK JasonWarrenUK commented Jun 8, 2025

Overview

The app can now be navigated from Dashboard through List to Detail (and back again). It uses the setContext() and getContext() methods to synchronise the state of the app throughout components


Gallery

CleanShot.2025-06-08.Sunday.at.3.42.12.Arc.mp4

Changes

Styles

app.css

Some temporary stylings applied so we can see components

Layout

routes/+layout.svelte

Sets the values of most states using setContext(). Calls Header & Footer directly.

Header

components/Header.svelte

Shows an H1 app title and a button that toggles Dev Mode

Footer

components/Footer.svelte

Shows the current profile ID and dev mode status

Page

routes/+page.svelte

Queries the view value from using getContext() and renders the correct view component

View 1: Dashboard

components/view/Dash.svelte

Queries the Question DB to populate category tiles. If logged in, queries the Actions DB. Clicking a tile loads List view

View 2: List

components/view/List.svelte

Currently a placeholder that renders one list item. Clicking it directs to detail view. A back button reverts to Dashboard view

View 3: Details

components/view/Detail.svelte

Currently a placeholder containing a back button that reverts to List view

Dev Utils

components/logic/dev.svelte.ts

Dev utilities to mock up List populations etc

types/ui.ts

Typing for UI data transfers

utils/random.ts

Random number generator


Summary

This PR is a bit smug

@JasonWarrenUK JasonWarrenUK requested a review from a team June 8, 2025 14:59
AlexVOiceover
AlexVOiceover previously approved these changes Jun 8, 2025
@JasonWarrenUK JasonWarrenUK dismissed AlexVOiceover’s stale review June 8, 2025 17:27

The merge-base changed after approval.

@AlexVOiceover AlexVOiceover self-requested a review June 8, 2025 17:27
Copy link
Collaborator

@AlexVOiceover AlexVOiceover left a comment

Choose a reason for hiding this comment

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

all scaffolding in place. Thanks!!

@AlexVOiceover AlexVOiceover merged commit b87ab34 into main Jun 8, 2025
1 check passed
@AlexVOiceover AlexVOiceover deleted the feat/category-query-tiles branch June 8, 2025 17:31
AlexVOiceover added a commit that referenced this pull request Nov 1, 2025
- Hide "Saved" message in SaveStatus component while keeping error messages visible
- Remove hover effects from action items in email preview (not editable)
- Add scoped CSS rule for #email-content .action-item with cursor: default
- Update TESTING_ISSUES.md to mark Issue #13 as fixed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants