Repository navigation
UI/UX enhancement for comment moderation and sidebar widgets - #819
Merged
Merged
Conversation
Introduced RecentPostsTagHelper, CategoryListTagHelper, and ArchiveListTagHelper for dynamic sidebar widgets. Added PostAuthorTagHelper for author bylines with display name, mailto link, and Gravatar support. Updated _Layout.cshtml and _BlogItem.cshtml to use these new TagHelpers.
Updated <html> to use lang="en" and moved theme control to a script in the <head> that forces light mode via localStorage and data-bs-theme. Reduced .flm-article padding in custom.css for tighter layout.
- Refactored RecentPostsTagHelper to use root-relative post URLs. - Removed Medialoot template attribution from _Layout.cshtml. - Improved sidebar widget link alignment and suppressed duplicate <hr> after headings in custom.css.
Standardized "Category"/"Tags" and "Archive" navigation links in _Layout.cshtml by adding explicit empty route parameters. This ensures consistent URL generation and may resolve routing issues.
Refactored the comment moderation interface from a table to a Bootstrap card-based layout for improved clarity and usability. Updated TagHelpers to support flexible button styling via a Css property. Rewrote the comment pager to use Bootstrap pagination with better accessibility. Comment status now controls card border color for visual feedback. Enhanced empty-state handling and header in ManageComments.cshtml. Added new CSS for card styling and cleaned up unused code.
Implemented unapprove functionality for comments, including: - UnapproveComment methods in manager and data service layers - New CommentSaveState.Unapproved enum value - API endpoint and UI for unapproving comments - TagHelper and JS updates for modal/action handling - XML and UI changes to reflect pending state
Cleared the <Comments> section by deleting all comment entries, resulting in an empty <Comments /> tag for the specified date. No other changes were made to the file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
PR Classification
New feature and UI/UX enhancement for comment moderation and sidebar widgets.
PR Summary
This PR adds the ability to unapprove comments, modernizes the comment moderation UI, and introduces new sidebar widgets for recent posts, categories, and archives.