Skip to content

[Draft] Merge to production#459

Merged
claudfuen merged 23 commits intoreleasefrom
main
Apr 28, 2025
Merged

[Draft] Merge to production#459
claudfuen merged 23 commits intoreleasefrom
main

Conversation

@carhartlewis
Copy link
Copy Markdown
Contributor

No description provided.

carhartlewis and others added 4 commits April 25, 2025 18:05
- Integrated session cookie retrieval using `getSessionCookie` from `better-auth/cookies`.
- Implemented redirection logic to enforce authentication: users without a session are redirected to `/auth`, while authenticated users are redirected from `/auth` to the home page.
feat: enhance middleware for session management
- Changed ThemeProvider to use `defaultTheme="dark"` instead of `enableSystem` for improved theme management.
fix: update ThemeProvider default theme setting
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 28, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
app (staging) ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 28, 2025 9:40pm
comp-portal ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 28, 2025 9:40pm

@vercel vercel bot temporarily deployed to Production – comp-portal April 28, 2025 17:57 Inactive
@vercel vercel bot temporarily deployed to staging – app April 28, 2025 17:57 Inactive
claudfuen and others added 18 commits April 28, 2025 16:40
- Removed unnecessary line breaks in SingleTask component.
- Updated TaskBody input to have a transparent background.
- Enhanced TaskCommentForm with keyboard shortcut for comment submission and adjusted padding for better spacing.
- Modified TaskFilterHeader to remove redundant border.
- Added rounded corners to TaskList component for a more polished appearance.
- Eliminated the SecondaryMenu component and related session management logic from employee layout files for a cleaner structure.
- Adjusted layout to focus on rendering children directly, enhancing performance and readability.
…r consistency

- Replaced LoaderCircle with Loader2 in TaskFilterHeader for improved visual clarity.
- Updated CheckCircle2 to Check in TaskFilterHeader for a more modern icon.
- Added Circle and Loader2 icons in TaskStatusIndicator for better status representation.
- Adjusted icon sizes and colors for uniformity across components.
- Removed the layout component for tasks and integrated breadcrumb navigation directly into the TasksPage and TaskLayout components.
- Enhanced breadcrumb rendering for better navigation context within the tasks section.
- Updated the TasksPage to include breadcrumbs based on organization ID, improving user experience and clarity.
- Replaced the static loading text with a centered Spinner component in TasksLoading for improved user experience.
- Updated TasksPage to ensure consistent JSX structure and formatting.
- Fixed minor syntax issues in TaskList component for better readability.
…proved accessibility

- Updated the secondary and muted color variables to enhance contrast and readability across the UI.
- Added a 5MB file size limit check in uploadFile action to prevent oversized files from being processed.
- Integrated file size validation in TaskBody, TaskCommentForm, and TaskCommentItem components to provide user feedback when files exceed the limit.
- Updated FileUploader component documentation to reflect the new default maximum file size.
- Simplified the assigneeId assignment logic in SingleTask component for better readability.
- Adjusted assigneeId handling in TaskPropertiesSidebar to ensure null values are correctly managed.
- Enhanced OrganizationsCard and PoliciesCard components with consistent styling and color variables for improved UI coherence.
- Updated UsersCard to reflect similar styling changes and added conditional rendering for growth indicators.
- Ensured all components utilize rounded corners for a unified design approach.
…ard components

- Updated OrganizationsCard and UsersCard components to include rounded corners for a unified design.
- Ensured styling consistency across both components by applying similar background and padding adjustments.
…onents

- Introduced a new `website` field in the `Organization` model within the Prisma schema.
- Updated forms and actions to handle organization website input, including validation and submission.
- Enhanced UI components to include website input fields in organization creation and settings.
- Added localization for website-related labels and messages.
- Implemented server action to update the organization website with Zapier integration for notifications.
- Introduced TaskCard component to display task-related metrics on the dashboard.
- Implemented a new API route for fetching task analytics, including total counts and percentage changes over the last 30 days.
- Updated existing components to utilize new task data structure, replacing published and draft terminology with done and todo for clarity.
- Enhanced styling for consistency across the dashboard components.
- Reformatted the `turbo.json` file to enhance readability by organizing arrays and objects with consistent indentation and line breaks.
- Added a new environment variable `ZAPIER_HUBSPOT_WEBHOOK_URL` to the global dependencies.
Add website to organization schema
@claudfuen claudfuen marked this pull request as ready for review April 28, 2025 21:43
@claudfuen claudfuen merged commit 9b938bf into release Apr 28, 2025
10 checks passed
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