Skip to content
This repository has been archived by the owner on Sep 7, 2024. It is now read-only.

Add time content for 3 webinars #836

Merged
merged 2 commits into from
Dec 19, 2023
Merged

Conversation

Susmita-Dey
Copy link
Contributor

@Susmita-Dey Susmita-Dey commented Dec 19, 2023

Fixes Issue

This PR fixes the following issues:

closes #issue-number

Changes proposed

Here comes all the changes proposed through this PR

Check List (Check all the boxes which are applicable)

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • All new and existing tests passed.
  • This PR does not contain plagiarized content.
  • The title of my pull request is a short description of the requested changes.

Screenshots

Add all the screenshots which support your changes

Summary by CodeRabbit

  • New Features

    • Webinar listings now include the time of the event for better schedule planning.
  • Documentation

    • Updated webinar content structure to display new time information.

Copy link

coderabbitai bot commented Dec 19, 2023

Walkthrough

The recent update involves adding a time property to the webinar objects, likely to provide time-specific details for each webinar, enhancing the user interface's scheduling capabilities.

Changes

File Path Change Summary
src/content/Webinars/index.content.js Added time property to objects in the webinar array.
src/components/Cards/WebinarCard.jsx Modified href variable assignment for WebinarCard.

🐇🎉
To the code that hops and springs,
A new time field in the mix it brings.
Webinars now with moments tied,
In orderly fashion, they'll coincide. 🕒✨

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on X ?


Tips

Chat with CodeRabbit Bot (@coderabbitai)

  • You can reply to a review comment made by CodeRabbit.
  • You can tag CodeRabbit on specific lines of code or files in the PR by tagging @coderabbitai in a comment.
  • You can tag @coderabbitai in a PR comment and ask one-off questions about the PR and the codebase. Use quoted replies to pass the context for follow-up questions.

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 a review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @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.
  • The JSON schema for the configuration file is available here.
  • 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/coderabbit-overrides.v2.json

Copy link

livecycle bot commented Dec 19, 2023

kunal

Your Livecycle playground is ready 🎉.

Playground version up to date (f2d018c)

Invite team members and start collaborating 💪

Check the box and click "invite" to invite collaborators

  • Kunal Kushwaha

invite

Click here to invite the rest of your team.

@github-actions github-actions bot added the team label Dec 19, 2023
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review Status

Actionable comments generated: 1

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between fa8370e and 28006d9.
Files selected for processing (1)
  • src/content/Webinars/index.content.js (1 hunks)
Additional comments: 3
src/content/Webinars/index.content.js (3)
  • 62-67: The addition of the time property to the PulumiWebinar object is consistent with the PR's objective. Ensure that the time property is being used correctly wherever the PulumiWebinar object is utilized.

  • 70-75: The addition of the time property to the StateOfJava object is consistent with the PR's objective. Ensure that the time property is being used correctly wherever the StateOfJava object is utilized.

  • 62-75: Verify that the documentation has been updated to reflect the addition of the time property and consider adding tests to ensure the new property is handled correctly in the application.

Comment on lines 62 to 75
img: PulumiWebinar.poster,
title: PulumiWebinar.name,
description: PulumiWebinar.description,
time: PulumiWebinar.time,
slug: PulumiWebinar.slug,
details: PulumiWebinar,
},
{
img: StateOfJava.poster,
title: StateOfJava.name,
description: StateOfJava.description,
time: StateOfJava.time,
slug: StateOfJava.slug,
details: StateOfJava,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Recommend completing the PR checklist to ensure code style adherence, documentation updates, passing tests, and non-plagiarism. Screenshots or other evidence of the changes working as expected should be provided.

@Susmita-Dey Susmita-Dey merged commit 1a21ad6 into WeMakeDevs:main Dec 19, 2023
3 checks passed
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review Status

Actionable comments generated: 0

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between 28006d9 and 34799ce.
Files selected for processing (1)
  • src/components/Cards/WebinarCard.jsx (1 hunks)
Additional comments: 3
src/components/Cards/WebinarCard.jsx (3)
  • 7-13: The change in the URL path within the href variable is noted. Ensure that the routing configuration supports the new path /events/webinars/.

  • 7-13: The time property is being used to display the date and time information of the webinar, which aligns with the PR's objective to add time content for webinars.

  • 7-13: The use of ArrowLink with a conditional based on the current time versus the webinar time is a good practice for dynamic content display.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant