Skip to content

Conversation

@whutchinson98
Copy link
Member

Summary

We will be using markdown documents as Tasks on the backend side. We need to be able to expose to the frontend whether a given document is a task or not. This PR enables that by exposing the is_task boolean on all necessary document models and updating all queries to grab this value correctly.

This PR does not allow you to create a task as that is a separate ticket.

Screenshots, GIFs, and Videos

@whutchinson98 whutchinson98 requested a review from a team as a code owner December 4, 2025 18:55
@linear
Copy link

linear bot commented Dec 4, 2025

Copy link
Contributor

@seanaye seanaye left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems kinda bad but I don't have any suggestions on how to improve it right now

@whutchinson98
Copy link
Member Author

This seems kinda bad but I don't have any suggestions on how to improve it right now

yeah this is how the legacy stuff ends up being, tons of duplication.

I think a good effort spent removing unused routes and cleaning up macro_db_client for code re-use would be very beneficial

@whutchinson98 whutchinson98 merged commit ec0eb7d into main Dec 4, 2025
34 checks passed
@whutchinson98 whutchinson98 deleted the hutch/bac-142-update-all-documentsoup-models-to-return-istask-on-document branch December 4, 2025 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants