Skip to content

Add author ID + line breaks + required tags to job board API #442

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jan 28, 2025

Conversation

vcarl
Copy link
Member

@vcarl vcarl commented Jan 28, 2025

No description provided.

Copy link

what-the-diff bot commented Jan 28, 2025

PR Summary

  • Enhanced User Object Structure
    The id property was added to the OpenAPI configuration for user objects. This change assists in identifying individual user data records more easily.

  • Improved Tag Filtering
    The logic in the filterTags function has been updated to include added flexibility. Now, if the requiredTags list is empty, it still returns true. This allows the function to continue operating even without specified tags.

  • Dynamic Approach in Query Parsing
    We have modified the parseQuery to handle requiredTags[] from the request query. This allows the service to filter tags dynamically based on received requests instead of a static set of tag lists.

  • Augmented Author Information in Posts
    The id field for authors is now added in the RenderedPost interface, along with the existing author information. This allows inclusion of the author's ID in the displayed post data, assisting in better identifying authors.

  • More Comprehensive Post Rendering
    The renderPost function has been revamped to include the author's ID in the post data. This adds another layer of detail to posts, making author identification easier for users.

  • Improved Markdown Rendering
    Markdown rendering was updated to enable line breaks. The breaks: true option was added in the marked function, ensuring that texts typed in Markdown respect line breaks, enhancing readability.

@vcarl vcarl changed the title Add author ID + line breaks to job board API Add author ID + line breaks + required tags to job board API Jan 28, 2025
@vcarl vcarl merged commit 030af9e into main Jan 28, 2025
2 checks passed
@vcarl vcarl deleted the vc-jobs-filter branch January 28, 2025 21:21
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.

1 participant