Skip to content

feat: enhance posts, error handling and user feedback - #58

Merged
babblebey merged 11 commits into
mainfrom
fix/nits
Aug 6, 2026
Merged

babblebey merged 11 commits into
mainfrom
fix/nits

Conversation

@babblebey

@babblebey babblebey commented Aug 4, 2026 •

Copy link
Copy Markdown
Member

This pull request introduces post edit and deleted feature; improved error handling with custom error and not-found pages, enhances date formatting for post timestamps, and updates environment and self-hosting documentation for clarity and best practices. It also contains minor UI accessibility improvements.

Post Edit and Delete:

  • Added post editing and deletion functionality with support for mentions and direct removal of media from object storage.

Error Handling and User Experience:

  • Added custom global error (src/app/global-error.tsx) and route error (src/app/(app)/error.tsx) pages with consistent styling and a reload button for better user feedback on application errors.
  • Added a custom not-found (404) page (src/app/not-found.tsx) with consistent styling and a "Go home" button for improved navigation when a page is missing.

Date Formatting Consistency:

  • Updated the formatCreatedAtLabel function in multiple files to display dates in a consistent "Mon DD, YYYY" format for posts older than 7 days, improving readability across the app.

Documentation and Environment Variables:

  • Added DIRECT_URL to .env.example, README.md, and docs/self-hosting.md with explanations and guidance for proper Prisma database connection configuration, especially for production and PaaS deployments.
  • Updated documentation with new public docs links and additional guidance for cloud storage and CORS configuration.

UI Accessibility:

  • Improved the accessibility of the post share button in PostCard by ensuring the share text is always available to screen readers, even on small screens.

@babblebey babblebey changed the title feat: enhance error handling and user feedback feat: enhance posts, error handling and user feedback Aug 4, 2026
@babblebey
babblebey merged commit ca2c8db into main Aug 6, 2026
4 checks passed
@babblebey
babblebey deleted the fix/nits branch August 6, 2026 12:05
github-actions Bot pushed a commit that referenced this pull request Aug 6, 2026
# [1.5.0](v1.4.0...v1.5.0) (2026-08-06)

### Bug Fixes

* **comment:** add inline editing support for better focus ([339f357](339f357))
* **comment:** format date label to use short date format ([6064e07](6064e07))
* **env:** add missing DIRECT_URL variable in .env.example ([8a92876](8a92876))
* **post:** adjust layout and improve comment section structure ([09a65d7](09a65d7))
* **post:** improve share button accessibility with responsive text ([0808ecd](0808ecd))
* **post:** update post cards to use short date format ([8dea9b5](8dea9b5))

### Features

* enhance posts, error handling and user feedback ([#58](#58)) ([ca2c8db](ca2c8db))
* **error:** add error handling components global errors ([2922895](2922895))
* **error:** add NotFound component with 404 error message and navigation ([f0351c4](f0351c4))
* **error:** implement route error handling component with reload functionality ([2b0787c](2b0787c))
* **post:** add post editing and deletion functionality with mention support ([f28bf80](f28bf80))
@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 1.5.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant