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

feat: add support to render rss item tags #449

Merged
merged 6 commits into from Apr 25, 2024

Conversation

maooyer
Copy link
Contributor

@maooyer maooyer commented Apr 19, 2024

Description

Add support to render RSS item tags.

close #318

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

@maooyer maooyer changed the title (WIP)feat: add support to render rss item tags [wip]feat: add support to render rss item tags Apr 19, 2024
Copy link
Owner

@Rongronggg9 Rongronggg9 left a comment

Choose a reason for hiding this comment

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

Mostly LGTM, except for:

  • My nitpicking
  • Missing UI (probably the reason for marking the PR [WIP]?)

src/parsing/post.py Outdated Show resolved Hide resolved
src/parsing/post.py Outdated Show resolved Hide resolved
src/db/models.py Outdated Show resolved Hide resolved
src/parsing/post.py Outdated Show resolved Hide resolved
src/parsing/post_formatter.py Outdated Show resolved Hide resolved
src/parsing/utils.py Outdated Show resolved Hide resolved
src/parsing/utils.py Outdated Show resolved Hide resolved
src/parsing/utils.py Outdated Show resolved Hide resolved
src/db/models.py Outdated Show resolved Hide resolved
@Rongronggg9 Rongronggg9 marked this pull request as draft April 19, 2024 20:27
@Rongronggg9
Copy link
Owner

I've converted the PR into a draft to make its status clearer. Feel free to convert it back when it is ready :)

@maooyer maooyer marked this pull request as ready for review April 21, 2024 07:43
@maooyer maooyer changed the title [wip]feat: add support to render rss item tags feat: add support to render rss item tags Apr 21, 2024
Copy link
Owner

@Rongronggg9 Rongronggg9 left a comment

Choose a reason for hiding this comment

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

LGTM. I will create migration files and merge this PR after #451 (which is under my final tests).

Note that I plan to rename display_item_tags to display_entry_tags to make it clearer. If you'd like to, you may do this before I start merging this, or just let me do it later.

Rongronggg9 and others added 4 commits April 25, 2024 02:41
With corresponding migration files.

Co-authored-by: maooyer <maooyer@gmail.com>
Signed-off-by: Rongrong <i@rong.moe>
Co-authored-by: maooyer <maooyer@gmail.com>
Signed-off-by: Rongrong <i@rong.moe>
Co-authored-by: maooyer <maooyer@gmail.com>
Signed-off-by: Rongrong <i@rong.moe>
@Rongronggg9
Copy link
Owner

Almost done! 🎉

Remaining tasks:

  • CHANGELOG: I will finish it in the following days
  • Whitespace and some punctuation break hashtags: I will fix it in the following days
  • More testing: Except for the above bug, everything is so far so good, but doing more tests is always better than less.

Fix entry hashtags by replacing any punctuations and whitespaces by '_'.

Signed-off-by: Rongrong <i@rong.moe>
Signed-off-by: Rongrong <i@rong.moe>
@Rongronggg9 Rongronggg9 merged commit 9a50560 into Rongronggg9:dev Apr 25, 2024
15 checks passed
@Rongronggg9
Copy link
Owner

Rongronggg9 commented Apr 25, 2024

Merged. Thanks for your contribution 🎉

@maooyer maooyer deleted the feat/render-rss-item-tags branch April 26, 2024 08:30
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.

[Feature Request] Add categories as hashtags
2 participants