Skip to content

ui refactor#260

Merged
kilip merged 30 commits intomainfrom
wip
Apr 15, 2026
Merged

ui refactor#260
kilip merged 30 commits intomainfrom
wip

Conversation

@kilip
Copy link
Copy Markdown
Contributor

@kilip kilip commented Apr 15, 2026

No description provided.

kilip added 30 commits April 13, 2026 12:56
Refactored PrivacyView component to use DomusCard and DomusCardContent
for a more premium and standardized UI across the dashboard.

Ref #202
Refactored TermsView to use the standardized DomusCard component for a
premium glassmorphism look and consistent UI across the application.
Adjusted padding and spacing to match high-fidelity design standards.

Ref #202
Refactor the LoginPage component to use the standardized DomusCard with
the glass variant. This ensures visual consistency across the application
and adheres to the premium design system.

Ref #202
Refactor OrgDetailPage to use DomusCard and DomusCardContent for a
standardized premium look. Applied glassmorphism variant to the main
content and default variant for the sidebar.

Ref #202
Completed UI refactor for CT-06 (OrgPublicPage) and CT-07 (JoinPage) to use DomusCard system.
Also hardened organization routes with Zod UUID validation to prevent database crash (Error 22P02).

Ref #202
- setup robust e2e mocking via cookies and form data flag
- fix global teardown database reset using bulk truncate with raw sql
- optimize premium animations for e2e performance
- add defensive checks for upload state transitions

Ref #202
- Refactor OrgForm to use useDomusForm and premium fields.
- Enhance TextField and SelectField to support dataTestId for E2E.
- Synchronize OrgCreatePage POM locators with new standardized test IDs.
- Ensure type safety with proper schema and cast.
- Standardize TextAreaField to support dataTestId and premium styles.
- Restore missing description field in OrgForm.
- Cleanup redundant headers in OrgNewPage and OrgUpdatePage.
- Refine OrgParentSelect for better Region type handling.
- Synchronize OrgUpdatePage POM with standardized test IDs.

Ref #202
- Add c.app.production boolean flag for cleaner environment checks.
- Remove redundant NEXT_PUBLIC_APP_ENV and derivation logic.
- Replace chained Zod string methods with top-level functions (Zod 4 style).
- Update mocking and safety checks in JoinForm, actions, and DB utilities.
- Clean up workspace configs (turbo.json, playwright.config.ts).
- Add missing translations for OrgForm description in id.json and en.json.
- Silent fallback to original file if image compression fails in non-production.
- Improve compression error logging in OrgHeader.
- Improve robustness of iHaveUser, iHaveDiocese, iHaveVicariate, and iHaveParish helpers with find-or-create logic.
- Use fixed ID for Super Admin in auth helper to prevent parallel session conflicts.
- Add .first() to Diocese dropdown locator to handle potential duplicate entries in parallel tests.
- Refactor signUpEmail error handling to be more tolerant of various APIError formats.
- Remove explicit 'any' in user helper and parish detail spec to address lint warnings.

Closes #202
- Refactored OrgForm.tsx to use standardized form patterns from RegistrationForm.tsx
- Added staggered entrance animations for form fields
- Polished logo and cover upload UI with zoom-in effects and transitions
- Integrated OrgParentSelect more cleanly with form state
- Standardized PremiumFooter and PremiumAction usage

Ref #202
Refactored `UnitForm.tsx` to follow the project's premium design system.
- Replaced `@tanstack/react-form` with standardized `useDomusForm`.
- Migrated manual input fields to `TextField` and `TextAreaField`.
- Implemented `PremiumFooter` and `PremiumAction` for form controls.
- Added entrance animations and standardized layouts.
- Preserved existing Zod validation and submission logic.

Ref #202
- Use useDomusForm and DomusCardContent
- Refactor form fields to use premium field components
- Standardize birthDate field with Popover and Calendar patterns
- Use PremiumAction and PremiumFooter for form actions

Ref #202
- Refactor manual form state to use `useDomusForm` hook
- Implement Zod schema validation for email and password
- Standardize fields using `AppField` and `TextField`
- Maintain E2E test compatibility with `login-email` and `login-password` IDs
- Use `PremiumFooter` and `PremiumAction` for standardized buttons

Ref #202
Refactor JoinSuccessPage to use DomusCard with glass variant for a
premium look and consistency. Replaced generic Card with DomusCard
components and improved button semantics.

Part of #202.
- Move DomusCard layout from OrgForm to OrgNewPage and OrgUpdatePage
- Refactor OrgForm to be layout-agnostic and logic-focused
- Add missing translations for OrgUpdatePage in id.json and en.json
- Ensure premium glassmorphism layout across org management pages
- Apply premium layout and animations to OrgNewPage (CT-10)

Ref #202
- Refactor organization title to h1 for SEO and E2E stability
- Map Core error codes to next-intl translation keys in JoinPage
- Standardize JoinForm error handling and button labels
- Add missing translations for org not found and already joined

Closes #202
- migrate OrgForm to DomusCard with premium glass design
- restore section titles and data-testid for E2E POM coverage
- fix missing next-intl translations for organization fields
- cleanup redundant wrappers in OrgNewPage and OrgUpdatePage

Ref #202
- Refactor empty and error states to use DomusCard
- Ensure consistent premium styling and glassmorphism
- Update list.spec.ts for local data creation in E2E tests

Ref #202
- replace shadcn/Card with DomusCard
- update empty state with glassmorphism variant
- enable interactive hover micro-motions for card items

Ref #202
- Implement glassmorphism and interactive effects
- Align with premium project design standards
- Fulfill CT-15 subtask

Ref #202
- replace shadcn Card with DomusCard (glass variant)
- match OrganizationCard layout for visual consistency
- ensure premium glassmorphism during loading state

Ref: #202
Task: CT-16
- replaced shadcn Card with DomusCard (glass variant) in ParishionerNewPage
- updated ParishionerSearch to use DomusCardContent
- fixed E2E POM for ParishionerNewPage to handle RadioGroup gender field
- verified with create.spec.ts E2E tests

Ref #202
- Adopt premium DomusCard design system with glassmorphism
- Replace hardcoded hex colors with Tailwind tokens
- Polish search results and empty state UI
- Ensure consistent spacing and layout with other forms

Ref #202
Refactored ParishionerManualForm and ParishionerSearch to use the premium
DomusCard system and useDomusForm hook. Standardized form structure to match
RegistrationForm.tsx pattern. Removed redundant card wrappers from
ParishionerNewPage and fixed linting warnings.

- Integrated glassmorphism variant to manual form and search
- Added DomusCardHeader and DomusCardDescription
- Fixed explicit any lint warning in field validation errors
- Verified functional parity via E2E suite

Issue: #202
Task: CT-19
- replace shadcn Card with DomusCard in error state
- refactor empty state to use DomusCard glass variant
- preserve e2e testids for functional stability
- improve layout aesthetics for premium feel

Ref #202
Refactored `DioceseList.tsx` to use the premium `DomusCard` component
for error and empty states. This alignment ensures consistent
glassmorphism aesthetics and standardized layout across the application.

- Replaced shadcn Card in error state with DomusCard variant outline
- Replaced custom motion.div in empty state with DomusCard variant glass
- Preserved data-testid for E2E test stability
- Integrated DomusCardContent for refined spacing

Ref #202
- Replace shadcn/ui Card components with standardized DomusCard
- Remove manual motion.div wrapper in favor of DomusCard's internal motion
- Apply variant="glass" and interactive={true} for premium aesthetic
- Preserve all data-testid attributes for E2E test stability
- Part of #202 subtask CT-22

Refs: #202, CT-22
- Enhanced OrgJoinPage POM with robust waiting strategies
- Improved waitForParentToLoad in OrgCreatePage to handle race conditions
- Cleaned up redundant waits in join.spec.ts
- Increased navigation timeout for join page to handle peak load

Closes #202
@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
domus-cron a2d7bd6 Commit Preview URL

Branch Preview URL
Apr 14 2026, 05:05 PM

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 15, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
domus Ready Ready Preview Apr 15, 2026 0:04am

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 15, 2026

Codecov Report

❌ Patch coverage is 0% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 52.94%. Comparing base (2d60800) to head (a2d7bd6).
⚠️ Report is 31 commits behind head on main.

Files with missing lines Patch % Lines
apps/dash/src/shared/utils/image-compression.ts 0.00% 5 Missing ⚠️
apps/dash/src/pages/org/actions/join.ts 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #260      +/-   ##
==========================================
- Coverage   53.02%   52.94%   -0.08%     
==========================================
  Files         111      111              
  Lines        3389     3394       +5     
  Branches      731      732       +1     
==========================================
  Hits         1797     1797              
- Misses       1590     1595       +5     
  Partials        2        2              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@kilip kilip merged commit 95f9d78 into main Apr 15, 2026
6 of 8 checks passed
@kilip kilip deleted the wip branch April 15, 2026 00:17
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.

1 participant