Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes multiple changes across the codebase, focusing on improving naming conventions, enhancing functionality, fixing bugs, and cleaning up unused code. The most important changes involve renaming form controls for consistency, integrating new services for Supabase API interactions, and introducing utility functions for date formatting.
Naming Conventions and Consistency:
AddPostComponent(isDraft→is_draft,date→created_at) to align with database field names. ([[1]](https://github.com/Lukecsharpwalker/angularBlog/pull/43/files#diff-c7419c7b6835a28b5746e7f621d2c9cf648789a98c53c902308cab9760286560L65-R67),[[2]](https://github.com/Lukecsharpwalker/angularBlog/pull/43/files#diff-c7419c7b6835a28b5746e7f621d2c9cf648789a98c53c902308cab9760286560L98-R101),[[3]](https://github.com/Lukecsharpwalker/angularBlog/pull/43/files#diff-0041ce219fa2aaa696ac7bd5d13bbd0b8e85cb2bdf238a33078bb8f7b23d68efL7-R8),[[4]](https://github.com/Lukecsharpwalker/angularBlog/pull/43/files#diff-f82eec266eaf33e513b66b49a230898345a13330c8841599c260fa54aea083f4L7-R7))Supabase Integration:
SupabaseServicetoAdminApiServiceand implementedaddPostandupdatePostmethods to interact with the Supabase database. ([[1]](https://github.com/Lukecsharpwalker/angularBlog/pull/43/files#diff-0e734707fd40a3ea09fae6911816ef9a614a9a06793720889de91daabaaf7cc5R6-R21),[[2]](https://github.com/Lukecsharpwalker/angularBlog/pull/43/files#diff-0e734707fd40a3ea09fae6911816ef9a614a9a06793720889de91daabaaf7cc5L42-R55))Date Handling:
formatDateToDDMMYYYYutility function for consistent date formatting across the application. ([src/app/utlis/date-utils.tsR1-R12](https://github.com/Lukecsharpwalker/angularBlog/pull/43/files#diff-61d095bd2a9eea85aa47e6ebecb8b3334e1c565dd97e09955d31965066628d69R1-R12))datestring inPostComponentwith a computed signal to use the formattedcreated_atdate. ([[1]](https://github.com/Lukecsharpwalker/angularBlog/pull/43/files#diff-0f93657f033516ff4b8ab4a1e27dd13403bfa0a8e6bb6e6baf22aaec50858c2fL38-R38),[[2]](https://github.com/Lukecsharpwalker/angularBlog/pull/43/files#diff-9bbc7239b2fe97b5ae652326a80842df36c98374f9407a5d807029b1edc6cefdL2-R20),[[3]](https://github.com/Lukecsharpwalker/angularBlog/pull/43/files#diff-9bbc7239b2fe97b5ae652326a80842df36c98374f9407a5d807029b1edc6cefdR29-R37))Bug Fixes:
add-post.component.htmland ensured proper button rendering. ([src/app/admin/_components/add-post/add-post.component.htmlL11-L22](https://github.com/Lukecsharpwalker/angularBlog/pull/43/files#diff-dbb6af2c0d1f89647f98ab72a8406cb47686fd02e7a250ed0136790d3804f662L11-L22))srcattribute inpost.component.htmlto correctly call thedate()function. ([src/app/reader/_components/main-page/post/post.component.htmlL6-R6](https://github.com/Lukecsharpwalker/angularBlog/pull/43/files#diff-d78893b493c4c9070c315c08ce7e143c0035cd954f5ee9306f764469cbe0db72L6-R6))Cleanup and Miscellaneous:
quill-delta, fromangular.json. ([angular.jsonL25](https://github.com/Lukecsharpwalker/angularBlog/pull/43/files#diff-2d2675bb4687601a5c7ccf707455132f90f3516a33716185687e5c41df59ac7dL25))reset-password.tsto usetsxinstead ofts-node. ([reset-password.tsL9-R9](https://github.com/Lukecsharpwalker/angularBlog/pull/43/files#diff-ebcef6e9356f751e35b74520a7cfbf3dfad838d1b5cbfa1ab3d9b03c71e5f111L9-R9))