4
9
Fork
You've already forked PipePipeClient
7

Merge Upstream: DescriptionFragment with imaging extracting #12

Closed
chr_56 wants to merge 7 commits from chr_56:merge_upstream_client into dev
pull from: chr_56:merge_upstream_client
merge into: NullPointerException:dev
NullPointerException:dev
NullPointerException:legacy
NullPointerException:main
Contributor
Copy link

Merge upstream changes on Description fragments with relative utilities update:

  1. Upstream pulled up a BaseDescriptionFragment and use it in Channel's about tab, and introduced
    a model class Image in extractor to improve avatars and thumbnails extracting.
  2. All image url extracting method are replaced with corresponding Image collection extracting
    method, but I
    kept the legacy codes and redirected to the legacy since we can not afford large changes on
    "unmaintained" services.
  3. refactoring of TextLinkifier with new text-span utils from upstream.

This as well results in supporting various size images extracting instead of one url in Metadata
section.

This requires correspond extractor/client PR.

Merge upstream changes on Description fragments with relative utilities update: 1) Upstream pulled up a `BaseDescriptionFragment` and use it in Channel's about tab, and introduced a model class `Image` in extractor to improve avatars and thumbnails extracting. 2) All image url extracting method are replaced with corresponding `Image` collection extracting method, but I kept the legacy codes and redirected to the legacy since we can not afford large changes on "unmaintained" services. 3) refactoring of `TextLinkifier` with new text-span utils from upstream. This as well results in supporting various size images extracting instead of one url in Metadata section. **This requires correspond extractor/client PR.**
Author
Contributor
Copy link

I currently can not open PR in extractor side.
Codeberg is in 500 Internal Server Error when I try to create PR in Extractor.

I currently can not open PR in extractor side. Codeberg is in `500 Internal Server Error` when I try to create PR in Extractor.
chr_56 force-pushed merge_upstream_client from 5e5ff2704b to c3f694ee1c 2023年12月28日 03:30:44 +01:00 Compare

Channel's about tab

I believe you want to say Stream's description tab right?

Let's sort things up:

  1. It introduces BaseDescriptionFragment, which can be used for #14 to support more statistics
  2. It introduces Image, which can be used for #13 to show images in-app.
  3. TextLinkifier -> seems no benefits, only for compatibility.

Things will be affected:

  • Stream's description tab
  • Thumbnails
  • Text links

We need to make sure text links still work as expected, at least for cases in https://github.com/InfinityLoop1308/PipePipe/issues/64 and https://github.com/InfinityLoop1308/PipePipe/issues/71

> Channel's about tab I believe you want to say Stream's description tab right? Let's sort things up: 1. It introduces `BaseDescriptionFragment`, which can be used for #14 to support more statistics 2. It introduces `Image`, which can be used for #13 to show images in-app. 3. `TextLinkifier` -> seems no benefits, only for compatibility. Things will be affected: - Stream's description tab - Thumbnails - Text links We need to make sure text links still work as expected, at least for cases in https://github.com/InfinityLoop1308/PipePipe/issues/64 and https://github.com/InfinityLoop1308/PipePipe/issues/71
Also does `Image` solve https://github.com/InfinityLoop1308/PipePipe/issues/166 ?
Author
Contributor
Copy link

Also does Image solve https://github.com/InfinityLoop1308/PipePipe/issues/166 ?

No, just a model class in Extractor. No change on "View and UI" in Client has been made.

I just extend the DescriptionFragment - some changes only available for text.

> Also does `Image` solve https://github.com/InfinityLoop1308/PipePipe/issues/166 ? No, just a model class in Extractor. _No_ change on "View and UI" in Client has been made. I just extend the DescriptionFragment - some changes only available for text.
Author
Contributor
Copy link

Things will be affected:

  • Stream's description tab
  • Thumbnails
  • Text links
  1. Stream and Channel's description tab.
  2. Thumbnails extracting: We kept the old api; only new DescriptionFragment uses it. Only effect should be text.
  3. Text links shall be compact.
> Things will be affected: > - Stream's description tab > - Thumbnails > - Text links 1. Stream and Channel's description tab. 2. Thumbnails extracting: We kept the old api; only new DescriptionFragment uses it. Only effect should be text. 3. Text links shall be compact.

Pull request closed

This pull request cannot be reopened because the branch was deleted.
Sign in to join this conversation.
No reviewers
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
NullPointerException/PipePipeClient!12
Reference in a new issue
NullPointerException/PipePipeClient
No description provided.
Delete branch "chr_56:merge_upstream_client"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?