Skip to content

Feature/admin blogs page#1820

Open
TharinduLiyanage wants to merge 244 commits into
Chameleon-company:masterfrom
TharinduLiyanage:feature/admin-blogs-page
Open

Feature/admin blogs page#1820
TharinduLiyanage wants to merge 244 commits into
Chameleon-company:masterfrom
TharinduLiyanage:feature/admin-blogs-page

Conversation

@TharinduLiyanage
Copy link
Copy Markdown

completed the Admin Blogs page. includes the blogs listing table, add/edit pages, delete option, search, date filter, image upload, and form validation.

AbhiWiz-gif and others added 30 commits July 22, 2025 19:42
…rrows, pagination dots, and optimized image sizing
…ackend_IshikaMandal_#dbConnection

Database connection achieved  in PostgreSql
…Zhao#DatabaseMigrationPlan

Add MongoDB to PostgreSQL Migration Plan to the next_webapp folder
…ocations. Added function to display message when search is not found.
s223973381 and others added 27 commits April 16, 2026 06:21
- Fix typo (s//) that broke post-login redirect
- Redirect admin (roleId 1) to /admin/dashboard, users to /profile
- Remove blocking alert() on successful login
- Add 'Don't have an account? Sign up' link below the form
The issue is two things:

The signup form is posting to /api/signup but the actual route is /api/auth/signup
The middleware isn't matching the signup page route
- Admin (roleId 1) → 201 Created
- Regular user (roleId 2) → 403 Forbidden
- Unauthenticated (no token) → 401 Unauthorized
Create individual blog page showing full blog content including title, three images, full description, and responsive layout.
…dmin

Added use case management section for the admin dashboard
…Yuyang_Yang_Website_Use_Case_Page_Redesign

Redesign use case page
…-dashboard-landing

Implemented responsive admin dashboard landing page
Rebuilt the /[locale]/blog page to display blog tiles matching the
approved design: cover image, category badge, title, short description,
and Read More button in a responsive grid layout.

- Add src/components/BlogCard.tsx: reusable card with 16:9 cover image,
  category pill overlay, line-clamped title and description, and outlined
  Read More button with hover fill. Full dark mode support.
- Rewrite src/app/[locale]/blog/page.tsx with centered title, subtitle,
  and responsive grid (1 col mobile, 2 cols tablet, 3 cols desktop).
  Uses 6 hardcoded sample posts until a data source is available.
- Update next.config.mjs to allow images.unsplash.com via
  images.remotePatterns for temporary placeholder images.
Change back to original ones. .env was missing on my local.
…_work

feat: add PUT and DELETE endpoints with input validation for use case…
…_listing_page

feat(blog): rebuild blog listing page with responsive card grid
- Admin (roleId 1) → 201 Created
- Regular user (roleId 2) → 403 Forbidden
- Unauthenticated (no token) → 401 Unauthorized
@molliefernandez-mentor molliefernandez-mentor self-requested a review May 31, 2026 02:09
@molliefernandez-mentor
Copy link
Copy Markdown
Contributor

Hi @TharinduLiyanage it looks like you are trying to merge your repository rather than a branch. We do not allow the merging of repositories for obvious reasons. We have already had one incident this trimester with half of the repository being deleted when someone tried to merge their repository into this one.
Your Pull request currently has over 8 million code line deletions and the page to check what you are deleting won't load due to the amount of changes you are making to the repository.

Please close this PR and raise a new one from your branch rather than from a separate Repository.

@molliefernandez-mentor molliefernandez-mentor removed their request for review May 31, 2026 02:26
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.