Skip to content

Afsan workshop#76

Closed
afsan123 wants to merge 6 commits into
mainfrom
afsan-workshop
Closed

Afsan workshop#76
afsan123 wants to merge 6 commits into
mainfrom
afsan-workshop

Conversation

@afsan123
Copy link
Copy Markdown
Collaborator

gg

syed-reza98 and others added 6 commits May 8, 2026 02:06
Add CLAUDE configuration and helper skills, reorganize and expand documentation, and update repository ignores.

- .claude: update settings.json (add PostToolUse test command for lib/controllers|models and add github plugin) and add two new skills: flutter-supabase-migration and riverpod-inspector.
- Docs: large CLAUDE.md expansions (Quick Start, CI/CD, Riverpod patterns, DevTools, etc.), add PLAN.md and plan-progress-track.md, and move many top-level docs into docs/ (bulk renames).
- Workflows: remove legacy .github workflow markdown stubs for Claude integration.
- Repo config: update .gitignore with generated files, Android/iOS artifacts and codegen patterns; small changes to analysis_options.yaml and pubspec.yaml.

These changes add developer tooling/config for automated checks and documentation, and tidy repository ignores and docs organization.
Large refactor that reorganizes the codebase into a feature-based and core module structure. Many files were moved/renamed under lib/features and lib/core (controllers, models, repositories, utils, widgets, theme, and presentation layers). Removed legacy/duplicate files and added new core utilities (image/video compressors, logger, responsive widgets, typography, spacing).

Also added database documentation and artifacts: DATABASE_SCHEMA.md, DATABASE_ANALYSIS_SUMMARY.md, ERD_DIAGRAM.md and multiple supabase migrations (including RLS fixes and indexing), plus an apply_migrations script. Tests and test helpers were added/updated, pubspec.yaml/pubspec.lock updated, and .gitignore/.gemini/.cursorignore updated to ignore generated files. This commit is intended to standardize project structure and include DB schema/migration assets for deployment and reviews.
Change .claude/settings.json hooks from an array schema to a keyed object (PostToolUse) with matcher entries and nested hooks, converting 'tool' -> 'matcher' and flattening 'commands' into individual command hook objects. This makes the hook format more extensible and allows multiple matcher entries per trigger. Also add Ollama.ipynb (notebook with installation/log output).
Add "outputStyle": "default" to .claude/settings.local.json. Change test_driver/app.dart import from package:petfolio/main.dart to package:petsphere/main.dart to reflect the package rename/correct package path used by the test driver.
Large refactor across the codebase: rebrand docs (.claude) references from PetSphere to PetFolio and update local Claude settings; add a comprehensive AUDIT_REPORT.md and many UX audit log files under docs/logs. Remove the god-file lib/core/repositories/feature_repositories.dart and apply wide-ranging refactors/updates across features (controllers, repositories, screens, utils, widgets, theme and router/bootstrap files). Add new widgets/utilities (async_value_widget), many tests and test helpers, and update CI/local commands. Prepares the project for Phase 2 architecture work, testing improvements and UX audits.
Add a new UI_UX_MAP.md mapping app screens, components, DB tables and a redesign checklist. Add extensive QA logs/screenshots/xml/summaries under docs/logs (fresh-start QA and UX audit). Update plan and apply multiple UI/feature changes across Dart code: safe_route_params.dart and numerous screens/controllers (pet health, product detail, liked pets, pet profile, visitor profiles, adoption center, breed identifier, event discovery, pet places, knowledge base, sitter dashboard) plus feed_repository and feed_controller updates. These changes add documentation for QA/UX, implement/adjust several screens and controllers, and address placeholders noted in the UX map.
@supabase
Copy link
Copy Markdown

supabase Bot commented May 15, 2026

Updates to Preview Branch (afsan-workshop) ↗︎

Deployments Status Updated
Database Fri, 15 May 2026 17:41:34 UTC
Services Fri, 15 May 2026 17:41:34 UTC
APIs Fri, 15 May 2026 17:41:34 UTC

Tasks are run on every commit but only new migration files are pushed.
Close and reopen this PR if you want to apply changes from existing seed or migration files.

Tasks Status Updated
Configurations Fri, 15 May 2026 17:41:41 UTC
Migrations Fri, 15 May 2026 17:41:47 UTC
Seeding ⏸️ Fri, 15 May 2026 17:41:29 UTC
Edge Functions ⏸️ Fri, 15 May 2026 17:41:29 UTC

❌ Branch Error • Fri, 15 May 2026 17:41:48 UTC

ERROR: relation "public.pet_care_gamification" does not exist (SQLSTATE 42P01)
At statement: 0
-- Pet care idempotent daily scoring + tighter pets SELECT (see docs/pet-care-research.md Implementation notes)
-- Safe to re-run: IF NOT EXISTS / DROP POLICY IF EXISTS

ALTER TABLE public.pet_care_gamification
  ADD COLUMN IF NOT EXISTS daily_point_award_date date,
  ADD COLUMN IF NOT EXISTS daily_point_award_accrued int NOT NULL DEFAULT 0

View logs for this Workflow Run ↗︎.
Learn more about Supabase for Git ↗︎.

@afsan123 afsan123 marked this pull request as ready for review May 15, 2026 17:43
@afsan123 afsan123 closed this May 15, 2026
@github-project-automation github-project-automation Bot moved this from Backlog to Done in PetFolio Development May 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants