Skip to content

125 create reusable regulationlist component#162

Open
DankaMarci wants to merge 13 commits into
mainfrom
125-create-reusable-regulationlist-component
Open

125 create reusable regulationlist component#162
DankaMarci wants to merge 13 commits into
mainfrom
125-create-reusable-regulationlist-component

Conversation

@DankaMarci

Copy link
Copy Markdown
Collaborator

No description provided.

- Updated RepresentativeCard component to enhance accessibility and visual design.
- Refactored RepresentativeModal to streamline layout and improve user experience.
- Modified RepresentativesGrid to accept title and description props for better context.
- Enhanced RepresentativesGridClient with a back button and improved loading states.
- Created a new helpers file for common representative functions and styles.
- Improved loading skeletons for representative cards and grid.
- Updated page structure in RepresentativesPage for better layout and responsiveness.
… table

- Created a new migration to add `representative_id` and `contact_email` columns to the `news` table.
- Added foreign key constraint for `representative_id` referencing the `representatives` table.
- Created an index on `representative_id` for improved query performance.
- Updated the payload types to include optional `representative` and `contactEmail` fields in the News interface.
…rnal link

- Created a new migration to add columns for submission process in Hungarian and English, and an external link to the permissions table.
- Updated the migrations index to include the new migration.
- Extended the Permission interface in payload-types.ts to include types for the new submission process fields and external link.
- Created migration for academic scholarship FAQ with accordion items.
- Updated migrations index to include the new academic scholarship FAQ migration.
- Defined AcademicScholarshipFaq and AcademicScholarshipFaqSelect interfaces in payload-types.
- Configured global settings to include AcademicScholarshipFAQ in payload configuration.
- Implemented migration for social scholarships FAQ with types and sidebar links.
- Added migration for EHK scholarships with detailed scholarship entries.
- Updated index to include new migrations.
- Extended payload types to support new scholarship structures.
- Modified payload configuration to include new globals for social scholarships FAQ.
@DankaMarci DankaMarci requested a review from peterlipt June 20, 2026 14:58
@DankaMarci DankaMarci self-assigned this Jun 20, 2026
@DankaMarci DankaMarci linked an issue Jun 20, 2026 that may be closed by this pull request
4 tasks
@vercel

vercel Bot commented Jun 20, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ehk Ready Ready Preview, Comment Jun 20, 2026 2:59pm

Request Review

@coderabbitai

coderabbitai Bot commented Jun 20, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@DankaMarci, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 32 minutes and 13 seconds. Learn how PR review limits work.

Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file).

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits.

🚦 How do rate limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan refill rate.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, the refill rate gradually slows as usage increases. The highest same-day bursts are limited more strictly.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 228ff036-f1ef-4332-b718-0672afc23b1f

📥 Commits

Reviewing files that changed from the base of the PR and between 6844674 and 6963399.

📒 Files selected for processing (66)
  • src/app/(app)/[lang]/ehk-osztondij/page.tsx
  • src/app/(app)/[lang]/emlekeztetok/components/YearSection.tsx
  • src/app/(app)/[lang]/engedelyek/components/PermissionsListClient.tsx
  • src/app/(app)/[lang]/engedelyek/page.tsx
  • src/app/(app)/[lang]/hatarozatok-tara/components/DecisionsArchiveClient.tsx
  • src/app/(app)/[lang]/hirek/[slug]/components/BackNav.tsx
  • src/app/(app)/[lang]/hirek/[slug]/components/FileIcon.tsx
  • src/app/(app)/[lang]/hirek/[slug]/components/NewsDetail.tsx
  • src/app/(app)/[lang]/hirek/[slug]/components/NewsDetailClient.ts
  • src/app/(app)/[lang]/hirek/[slug]/components/NewsDetailMain.tsx
  • src/app/(app)/[lang]/hirek/[slug]/components/NewsDetailSidebar.tsx
  • src/app/(app)/[lang]/hirek/[slug]/components/RelatedNewsClient.tsx
  • src/app/(app)/[lang]/hirek/[slug]/components/ShareButton.tsx
  • src/app/(app)/[lang]/hirek/[slug]/lib/news-utils.ts
  • src/app/(app)/[lang]/kepviselok/components/RepresentativeCard.tsx
  • src/app/(app)/[lang]/kepviselok/components/RepresentativeModal.tsx
  • src/app/(app)/[lang]/kepviselok/components/RepresentativesGrid.tsx
  • src/app/(app)/[lang]/kepviselok/components/RepresentativesGridClient.tsx
  • src/app/(app)/[lang]/kepviselok/components/representatives.helpers.ts
  • src/app/(app)/[lang]/kepviselok/components/skeletons/LoadingRepresentativeCard.tsx
  • src/app/(app)/[lang]/kepviselok/components/skeletons/LoadingRepresentativesGrid.tsx
  • src/app/(app)/[lang]/kepviselok/page.tsx
  • src/app/(app)/[lang]/kisokosok/components/HelpPageList.tsx
  • src/app/(app)/[lang]/kisokosok/components/skeletons/LoadingHelpPageGrid.tsx
  • src/app/(app)/[lang]/kisokosok/page.tsx
  • src/app/(app)/[lang]/nyelvoktatas/components/LanguageEducationContent.tsx
  • src/app/(app)/[lang]/nyelvoktatas/page.tsx
  • src/app/(app)/[lang]/oktatasi-szabalyzatok/loading.tsx
  • src/app/(app)/[lang]/oktatasi-szabalyzatok/page.tsx
  • src/app/(app)/[lang]/szocialis-osztondijak/page.tsx
  • src/app/(app)/[lang]/tanulmanyi-osztondij/components/StudyScholarshipContent.tsx
  • src/app/(app)/[lang]/tanulmanyi-osztondij/page.tsx
  • src/app/(app)/globals.css
  • src/collections/EhkScholarships.ts
  • src/collections/News.ts
  • src/collections/Permissions.ts
  • src/components/common/Accordion.tsx
  • src/components/common/FileCard.tsx
  • src/components/regulations/RegulationCard.tsx
  • src/components/regulations/RegulationsListClient.tsx
  • src/components/regulations/skeletons/LoadingRegulationsGrid.tsx
  • src/dictionaries/en/language_education.json
  • src/dictionaries/en/news.json
  • src/dictionaries/en/permissions.json
  • src/dictionaries/en/regulations.json
  • src/dictionaries/en/scholarships.json
  • src/dictionaries/hu/language_education.json
  • src/dictionaries/hu/news.json
  • src/dictionaries/hu/permissions.json
  • src/dictionaries/hu/regulations.json
  • src/dictionaries/hu/scholarships.json
  • src/globals/AcademicScholarshipFAQ.ts
  • src/globals/SocialScholarshipsFAQ.ts
  • src/lib/payload-cms.ts
  • src/migrations/20260619_105937_add_news_representative_and_contact_email.json
  • src/migrations/20260619_105937_add_news_representative_and_contact_email.ts
  • src/migrations/20260619_141957_add_permissions_submission_and_external_link.json
  • src/migrations/20260619_141957_add_permissions_submission_and_external_link.ts
  • src/migrations/20260619_173736_academic_scholarship_faq.json
  • src/migrations/20260619_173736_academic_scholarship_faq.ts
  • src/migrations/20260620_123301.json
  • src/migrations/20260620_123301.ts
  • src/migrations/20260620_151905_ehk_scholarships.ts
  • src/migrations/index.ts
  • src/payload-types.ts
  • src/payload.config.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch 125-create-reusable-regulationlist-component

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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.

Create Reusable RegulationList Component

1 participant