closerdao / closer-ui

closer-ui.vercel.app
1 stars 0 forks source link

Feat assign room numbers #444

Closed valieff closed 3 weeks ago

valieff commented 1 month ago

Showing room numbers for each booking in UI.

TODO in a separate PR:

Works with BE: https://github.com/closerdao/closer-api/pull/171

Summary by CodeRabbit

vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Comments Updated (UTC)
foz βœ… Ready (Inspect) Visit Preview πŸ’¬ Add feedback Jun 6, 2024 5:42pm
lios βœ… Ready (Inspect) Visit Preview πŸ’¬ Add feedback Jun 6, 2024 5:42pm
moos βœ… Ready (Inspect) Visit Preview πŸ’¬ Add feedback Jun 6, 2024 5:42pm
traditionaldreamfactory βœ… Ready (Inspect) Visit Preview πŸ’¬ Add feedback Jun 6, 2024 5:42pm
coderabbitai[bot] commented 1 month ago

Walkthrough

The changes involve enhancing various aspects across different modules like lios, closer, and moos. Updates include adding webpack configurations for topLevelAwait, adjusting component imports, conditional renderings, and CSS classes, and introducing new functionalities like Marker in GoogleMaps. These alterations aim to improve functionality, styling, and flexibility within the applications.

Changes

Files Change Summaries
apps/foz/next.config.js
apps/lios/next.config.js
apps/tdf/next.config.js
apps/moos/next.config.js
Added webpack configuration for topLevelAwait experiment.
apps/lios/components/Footer/Footer.tsx Updated Footer component with new imports and conditional rendering for Facebook link.
apps/lios/config.ts Added volunteering to platformAllowedConfigs and modified LOGO_HEADER path.
apps/lios/pages/_app.tsx Made import additions, removals, and minor adjustments for better readability.
apps/lios/pages/index.tsx Added imports, state declaration, and updated component content.
apps/lios/pages/resources/index.tsx Modified structure and imports for the ResourcesPage component.
apps/lios/public/fonts/fonts.ts Introduced export of local fonts with CSS variable names.
apps/lios/styles/index.css Removed specific font CSS imports.
apps/lios/styles/theme.js Updated fontFamily declarations with CSS variable references.
apps/lios/tsconfig.json Added public/fonts/fonts.ts to included files.
packages/closer/components/BookingListPreview/BookingListPreview.tsx Extended functionality with isPrivate property in Props interface.
packages/closer/components/Bookings.tsx Added isPrivate prop based on listing.get('private').
packages/closer/components/CurrentBooking.js Introduced isListingPrivate variable for conditional rendering in booking components.
packages/closer/components/DiscountsEditor.js
packages/closer/components/EventPhoto.js
Modified CSS classes for image styling.
packages/closer/components/Faqs/index.tsx Updated Faqs component with isExpanded prop for expansion control.
packages/closer/components/FieldsEditor.js
packages/closer/components/TicketOptionsEditor.js
Used ObjectId from 'bson' to generate IDs for components.
packages/closer/components/GoogleMaps/index.tsx Added Marker component for custom markers in GoogleMap.
packages/closer/components/Logo.tsx Implemented conditional rendering based on APP_NAME in Logo component.
packages/closer/components/Navigation.js Adjusted styling classes in a <div> element.
packages/closer/components/UpcomingEventsIntro/index.tsx Reorganized rendering and link in UpcomingEventsIntro component.
packages/closer/config.ts Commented out the elements property in configDescription.
packages/closer/constants/shared.constants.ts Increased default availability range check to 120.
packages/closer/locales/base.json Added keys related to room and bed info, updated text entries.
packages/closer/locales/lios.json Modified descriptions and terms related to volunteering at TDF.

Poem

Rabbit hops, changes bloom,
Files dance, whisking away gloom.
topLevelAwait whispers in the code,
Fonts and markers, in harmony mode.
From BookingList to GoogleMaps delight,
Updates galore, in the digital night. πŸ‡πŸ“‚βœ¨


[!NOTE]

Summarized by CodeRabbit Free Your organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting
Tips ### Chat There are 3 ways to chat with [CodeRabbit](https://coderabbit.ai): - Review comments: Directly reply to a review comment made by CodeRabbit. Example: - `I pushed a fix in commit .` - `Generate unit testing code for this file.` - `Open a follow-up GitHub issue for this discussion.` - Files and specific lines of code (under the "Files changed" tab): Tag `@coderabbitai` in a new review comment at the desired location with your query. Examples: - `@coderabbitai generate unit testing code for this file.` - `@coderabbitai modularize this function.` - PR comments: Tag `@coderabbitai` in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples: - `@coderabbitai generate interesting stats about this repository and render them as a table.` - `@coderabbitai show all the console.log statements in this repository.` - `@coderabbitai read src/utils.ts and generate unit testing code.` - `@coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.` - `@coderabbitai help me debug CodeRabbit configuration file.` Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. ### CodeRabbit Commands (invoked as PR comments) - `@coderabbitai pause` to pause the reviews on a PR. - `@coderabbitai resume` to resume the paused reviews. - `@coderabbitai review` to trigger an incremental review. This is useful when automatic reviews are disabled for the repository. - `@coderabbitai full review` to do a full review from scratch and review all the files again. - `@coderabbitai summary` to regenerate the summary of the PR. - `@coderabbitai resolve` resolve all the CodeRabbit review comments. - `@coderabbitai configuration` to show the current CodeRabbit configuration for the repository. - `@coderabbitai help` to get help. Additionally, you can add `@coderabbitai ignore` anywhere in the PR description to prevent this PR from being reviewed. ### CodeRabbit Configration File (`.coderabbit.yaml`) - You can programmatically configure CodeRabbit by adding a `.coderabbit.yaml` file to the root of your repository. - Please see the [configuration documentation](https://docs.coderabbit.ai/guides/configure-coderabbit) for more information. - If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: `# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json` ### Documentation and Community - Visit our [Documentation](https://coderabbit.ai/docs) for detailed information on how to use CodeRabbit. - Join our [Discord Community](https://discord.com/invite/GsXnASn26c) to get help, request features, and share feedback. - Follow us on [X/Twitter](https://twitter.com/coderabbitai) for updates and announcements.