-
Notifications
You must be signed in to change notification settings - Fork 9
Migrate to Svelte 5: Update runes, state management, and modern syntax #68
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
Open
seb-lewis
wants to merge
151
commits into
MicroPyramid:main
Choose a base branch
from
seb-lewis:svelte5-migration
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lead creation
…ccount, and opportunity creation
- Created pages for viewing account activities, contacts, files, notes, and opportunities. - Implemented account deletion logic with checks for related records. - Added user interface for confirming account deletion, including warnings about related data. - Enhanced error handling for account deletion process.
… permissions and audit logging
…ment forms - Added a new banner image to the assets. - Updated the layout to utilize props for children rendering and state management. - Enhanced the sidebar with dynamic classes for active links and improved item structure. - Modified lead edit and new pages to include organization handling and additional lead fields. - Improved form validation and user feedback with toast notifications on successful lead creation. - Updated open leads page to display lead titles and improved layout for better readability. - Removed dark mode toggle functionality from site layout for a cleaner interface. - Adjusted site landing page to include a banner image and refined call-to-action sections.
…n, filtering, and UI updates - Added form validation for required fields and email/phone formats in lead creation. - Implemented dynamic error messages for form fields. - Improved UI with transitions and better layout for lead creation form. - Added search and status filter functionality in the open leads page. - Introduced sorting options for leads based on various fields. - Updated lead listing to show relative time for creation date. - Enhanced mobile view for lead details with better information display.
- Adjust header styles for better visibility and spacing - Update button styles for consistent hover effects - Revamp lead summary card with new gradient background and layout - Improve contact information display with better spacing and icons - Refine lead details section with enhanced styling for clarity - Update timeline section with visual indicators for events - Enhance comments and tasks sections with improved layouts and empty states - Add new event button and styling for events section
…and user retrieval - Implemented GET endpoint to fetch task details and comments for a specific task. - Added PATCH endpoint to assign or unassign users to tasks. - Created POST endpoint for adding comments to tasks. - Introduced PATCH endpoint for updating task due dates. - Added GET endpoint to retrieve users associated with a board's organization. - Developed server-side logic for a task calendar view, fetching both CRM and Kanban tasks. - Created a Svelte component for displaying tasks in a calendar format. - Established a placeholder for classic task list view and server logic. - Removed outdated product, sidebar, and user data JSON files.
… details and comments
…nd edit functionality
… handling with user authentication, and improve sidebar navigation
…th modal UI and server actions
… with form handling
…tasks and user assignment
refactor: update input elements to include 'for' attributes in edit forms fix: adjust kanban task card styles for better interaction
- Create layout for admin site with navigation - Implement admin dashboard with blog management card - Add server-side logic to load blog posts and handle deletions - Create blog post listing page with delete confirmation modal - Implement edit functionality for existing blog posts - Add new blog post creation page with form validation and slug generation
…tency across task and user components
…ner ID, and update form data handling
…ding channels, and support plans
…entation, including technology stack, development commands, and architecture overview
…set up Swagger documentation
- Implemented `/dashboard` endpoint to retrieve dashboard metrics and recent data. - Added `/dashboard/metrics` endpoint for lightweight metrics retrieval. - Created Swagger documentation for both endpoints. feat: add leads metadata endpoint - Introduced `/leads/metadata` endpoint to provide lead statuses, sources, ratings, and industries. - Updated Swagger documentation for leads metadata. feat: create tasks API with CRUD operations and comments - Added `/tasks` endpoint for retrieving and creating tasks with filtering options. - Implemented task detail retrieval, updating, and deletion endpoints. - Introduced comments functionality for tasks with associated endpoints. - Updated Swagger documentation for tasks API. feat: add JwtToken model to Prisma schema - Created `JwtToken` model to store JWT tokens with relevant fields. - Added necessary migrations for the new model. chore: update server to include new routes - Integrated dashboard and tasks routes into the main server file. - Set trust proxy for rate limiting.
…ion with app details and download links
…ion; improve error handling for organization name submission
…omponents - Added type annotations for `data` and `form` in multiple Svelte components to enhance type safety. - Improved handling of optional chaining and default values for various properties in forms and data structures. - Refactored date formatting functions to ensure consistent handling of date inputs. - Enhanced validation logic for form submissions, ensuring required fields are checked and valid enum values are enforced. - Updated opportunity closing logic to handle potential null values and ensure correct data types are used. - Improved user role management in the users page, simplifying role handling and ensuring only relevant roles are displayed. - General code cleanup and organization for better readability and maintainability.
…ed routes and forms
…dling in leads and profile components
… create functionalities - Added server-side logic for loading and displaying individual invoices. - Enhanced invoice view page with detailed information and improved styling. - Created edit functionality for invoices with form validation and data handling. - Developed new invoice creation page with dynamic line item management and validation. - Integrated account selection and status management in invoice forms.
…enhancing UI elements in contact details
…ndling across various components and routes
e4ef094
to
d70fc32
Compare
@seb-lewis thank you for your efforts to make it better but can't verify and merge changes this large. |
Noted! It's definitely a big one. It also looks artificially large due to a commit history change on my part. I don't think I will be pushing smaller commits unfortunately. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Now uses runes, $app/state rather than $app/stores, snippets instead of slots, etc.