Skip to content

feat: dark mode & sharing plans between users#184

Merged
qamarq merged 14 commits intomainfrom
feat/minor-ui-changes
Feb 9, 2025
Merged

feat: dark mode & sharing plans between users#184
qamarq merged 14 commits intomainfrom
feat/minor-ui-changes

Conversation

@qamarq
Copy link
Member

@qamarq qamarq commented Feb 7, 2025

This pull request introduces a new feature for handling shared schedules, including both backend and frontend changes. The most important changes are the addition of the Shared model, updates to the SchedulesController, and modifications to the frontend to support the new shared schedule functionality.

Backend Changes:

  • Added sharedId field to the Schedule model and updated SchedulesController to handle this new field. [1] [2] [3] [4]
  • Introduced a new Shared model and corresponding migration to create the shareds table. [1] [2]
  • Created a new SharedController to manage shared schedules, including endpoints for creating and retrieving shared schedules. [1] [2]
  • Added a new validator for creating shared schedules and updated the existing schedule validator to include sharedId. [1] [2]

Frontend Changes:

  • Updated plans.ts actions to include sharedId in the updatePlan function. [1] [2]
  • Modified the navbar.tsx to include new components and improve the user interface. [1] [2] [3]
  • Removed unnecessary code and simplified the layout in layout.tsx. [1] [2]
  • Added uuid and @types/uuid to the frontend dependencies. [1] [2] [3] [4] [5] [6]

@qamarq qamarq changed the title feat: minor ui changes feat: minor ui change Feb 7, 2025
@qamarq qamarq changed the title feat: minor ui change feat: dark mode & sharing plans between users Feb 8, 2025
@qamarq qamarq self-assigned this Feb 8, 2025
@qamarq qamarq added bug Something isn't working enhancement New feature or request labels Feb 8, 2025
@qamarq qamarq marked this pull request as ready for review February 8, 2025 23:23
@Rei-x
Copy link
Member

Rei-x commented Feb 8, 2025

2K ZMIAN, chory jesteś I'm not reading that

@qamarq
Copy link
Member Author

qamarq commented Feb 8, 2025

2K ZMIAN, chory jesteś I'm not reading that

Po prostu koniec sesji i trochę wolnego xd

@Rei-x
Copy link
Member

Rei-x commented Feb 8, 2025

2K ZMIAN, chory jesteś I'm not reading that

Po prostu koniec sesji i trochę wolnego xd

to mogłeś się postarać i zrobić to w kilku pr'kach 😭

@qamarq qamarq merged commit 3fdecf9 into main Feb 9, 2025
2 checks passed
@qamarq qamarq deleted the feat/minor-ui-changes branch February 9, 2025 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants