Skip to content
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

Blogging module improvements and add single blog mode #19418

Merged
merged 8 commits into from
Apr 15, 2024

Conversation

salihozkara
Copy link
Member

@salihozkara salihozkara commented Mar 26, 2024

Description

Added option to remove the blog name from the url when a single blog is used. And the members page has been moved under the Blogs folder to avoid conflicts with the user's own members folder when using the module.

Checklist

  • I fully tested it as developer / designer and created unit / integration tests

How to test it?

Use the Single Mode option.
Example usage

Configure<BloggingUrlOptions>(options =>
{
    options.RoutePrefix = "blog";
    options.SingleBlogMode.Enable = true;
    options.SingleBlogMode.BlogName = "abp";
});

Copy link

codecov bot commented Mar 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 51.68%. Comparing base (3940f02) to head (868e062).
Report is 74 commits behind head on dev.

❗ Current head 868e062 differs from pull request most recent head d4579ec. Consider uploading reports for the commit d4579ec to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##              dev   #19418   +/-   ##
=======================================
  Coverage   51.68%   51.68%           
=======================================
  Files        3110     3110           
  Lines       99236    99236           
  Branches     7929     7929           
=======================================
  Hits        51286    51286           
  Misses      46386    46386           
  Partials     1564     1564           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@salihozkara salihozkara marked this pull request as ready for review March 27, 2024 12:37
Copy link
Contributor

@oykuermann oykuermann left a comment

Choose a reason for hiding this comment

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

@oykuermann

This comment was marked as resolved.

@oykuermann
Copy link
Contributor

When you try to go blog from the user page:

04.04.2024.17_49.webm

@oykuermann oykuermann merged commit 0f14ed9 into dev Apr 15, 2024
3 checks passed
@oykuermann oykuermann deleted the salihozkara/blogImprovements branch April 15, 2024 08:05
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.

None yet

3 participants