-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Delano/28 client dashboard #81
Conversation
- Add dashboard screen showing list of past requests - Add RequestList and RequestDetails components to view requests - Update dashboard sidebar links and layout
* Add DeliveryInfoForm component for client address and delivery branch * Add PetsForm component to display pet info * Update RequestList to use Tailwind CSS classes * Remove unused dashboard data table code * Disable profile edit features to simplify UI * Update profile and pets pages to use new form components * Make UI changes for mobile/desktop
- Adds Hero section with image, title, description and call to action buttons - Updates navbar with sign in button color change - Adds footer links - Shows dialog modal on mobile
- Add links from current animalfoodbank.org - Add newsletter subscription
- Adjust text and background colors in forms and tables to be visible in dark mode - Improve pet details form description
Uses Nuxt's Dynamic Routes feature: https://nuxt.com/docs/guide/directory-structure/pages#example
Using useSeoMeta composable in app.vue, about.vue, clients.vue, index.vue, login/index.vue, login/magic.vue, and profile.vue
- Fetch request data from mock API on route change - Populate request details component with route request data - Add helper text for users creating first request - Remove unused imports
The footer email subscription input icon was changed from an envelope to a paw print to better match the theme of the newsletter. Additionally, the Phosphor icon pack was added to the Nuxt config icons array to enable use of the paw print icon across the app UI.
- Add branch location dropdown with predefined options - Validate branch selection on submit - Support custom icon props in section component - Update relevant layouts and forms Additional context: - Improving request workflows - Standardizing components
- Upgrade @nuxt/fonts to 0.0.2 - Add @vitejs/plugin-vue dependency - Upgrade nuxt-og-image for optimizing images - Update other dependencies including pinia, vue-tsc and typescript
Includes the optional drf-spectacular[sidecar] so we can avoid loading Swagger UI via 3rd party CDN.
- Rename `first_name` to `preferred_name` in Profile model - Remove `last_name` field from Profile model - Make `address` and `address_verbatim` fields nullable by adding `null=True` - Add separate `first_name` and `last_name` fields to User model for compatibility - Update `__str__` method on Profile model to use `preferred_name` - Add OpenAPI schema definition
PR Description updated to latest commit (d098eb9) |
PR Review(Review updated until commit d098eb9)
Code feedback:
✨ Review tool usage guide:Overview:
With a configuration file, use the following template:
See the review usage page for a comprehensive guide on using this tool. |
Persistent review updated to latest commit d098eb9 |
Persistent review updated to latest commit d098eb9 |
PR Review
Code feedback:
✨ Review tool usage guide:Overview:
With a configuration file, use the following template:
See the review usage page for a comprehensive guide on using this tool. |
Preparing PR description... |
Signed-off-by: Delano <1206+delano@users.noreply.github.com>
Type
Enhancement, Documentation
Description
Changes walkthrough
settings.py
Configure DRF Spectacular and CORS settings
apps/api/afb/settings.py
["Added 'staging.afb.pet' to the ALLOWED_HOSTS and CORS_ALLOWED_ORIGINS settings", "Added 'drf_spectacular' and 'drf_spectacular_sidecar' to the INSTALLED_APPS", 'Configured the DEFAULT_SCHEMA_CLASS setting for the DRF Spectacular package']