Skip to content

Add event format field (in-person, online, hybrid) with sample data#115

Open
niteash wants to merge 13 commits into
data-umbrella:mainfrom
niteash:feature/event-format
Open

Add event format field (in-person, online, hybrid) with sample data#115
niteash wants to merge 13 commits into
data-umbrella:mainfrom
niteash:feature/event-format

Conversation

@niteash
Copy link
Copy Markdown

@niteash niteash commented Mar 29, 2026

This PR adds support for the new format field in event data to enable filtering and display of event types (In-Person, Online, Hybrid).

I updated the sample events in data/events.yaml by adding the format field with valid values (in-person, online, hybrid). The changes align with the validation logic in generate_events_json.py and support the frontend filtering feature.

Solves issue #114

Run:

python scripts/generate_events_json.py

Ensure no validation errors occur
Verify that src/data/events.json is generated successfully

Run the frontend:

npm run dev

Check that:
• Events display correctly
• Format badges (In-Person / Online / Hybrid) appear
• Format filtering works as expected

Pull Request checklists

This PR is a:
• bug-fix
• new feature
• maintenance

About this PR:
• it includes tests.
• the tests are executed on CI.
• pre-commit hooks were executed locally.
• this PR requires a project documentation update.

Author’s checklist:
• I have reviewed the changes and it contains no misspelling.
• The code is well commented, especially in the parts that contain more complexity.
• New and old tests passed locally.

Additional information
• Added format field only to sample events (not all events modified)
• Ensured compatibility with validation logic
• No breaking changes introduced

Reviewer’s Checklist
• I managed to reproduce the problem locally from the main branch
• I managed to test the new changes locally
• I confirm that the issues mentioned were fixed/resolved.

@netlify
Copy link
Copy Markdown

netlify Bot commented Mar 29, 2026

Deploy Preview for dueventboard ready!

Name Link
🔨 Latest commit 7afb33e
🔍 Latest deploy log https://app.netlify.com/projects/dueventboard/deploys/69ca2b96ca70af000836979c
😎 Deploy Preview https://deploy-preview-115--dueventboard.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@niteash
Copy link
Copy Markdown
Author

niteash commented Mar 29, 2026

All pre-commit issues resolved. All checks are now passing ✅

@niteash
Copy link
Copy Markdown
Author

niteash commented Mar 30, 2026

All issues have been resolved.
Pre-commit hooks, linting, and tests are passing successfully in CI.

The format field has been validated and integrated with both backend processing and frontend filtering.

Ready for review and merge 🚀

@yuvimittal
Copy link
Copy Markdown
Contributor

@niteash , can you add screen recording of the added feature

@niteash
Copy link
Copy Markdown
Author

niteash commented Apr 9, 2026 via email

@sanvishukla
Copy link
Copy Markdown
Contributor

@yuvi, please close this, I will add this and other features from the spreadsheet later as needed

@niteash
Copy link
Copy Markdown
Author

niteash commented May 17, 2026 via email

@niteash
Copy link
Copy Markdown
Author

niteash commented May 19, 2026

@yuvimittal - this is the recorded video of the feature I have implemented

drive link - https://drive.google.com/file/d/1naSY8xrMnrLU_5W1DP4djEN1gZ8zdqzg/view?usp=share_link

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