Skip to content

new age: adaptivity and working prototype with usability#3

Open
gr1shan1a wants to merge 15 commits intomainfrom
miniapp
Open

new age: adaptivity and working prototype with usability#3
gr1shan1a wants to merge 15 commits intomainfrom
miniapp

Conversation

@gr1shan1a
Copy link
Copy Markdown
Contributor

This pull request adds support for assigning and editing a custom color for meetings throughout the backend, database, and frontend. It introduces validation for hex color codes, updates the data model and API, and enhances the user interface to allow users to select and visualize meeting colors.

Backend and Data Model Enhancements:

  • Added a new color field to the Meeting entity, database schema (meetings table), and related DTOs to store a hex color code for each meeting.
  • Updated meeting creation logic in TelegramBotService to assign the default color when a meeting is created via the bot.

Frontend and UI Improvements:

  • Added a color picker input to the meeting edit form, allowing users to select a meeting color.
  • Updated the frontend logic to validate, normalize, and submit the color field with meeting updates, including user feedback for invalid color input.
  • Implemented utility functions to apply meeting colors to UI elements, ensuring consistent display and fallback to the default color.
  • Improved styles for color input and meeting pills for better usability and display, especially on smaller screens.

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.

1 participant