Sitelet https://github.com/gpodder/gpodder/pull/934
Skip to content

Add more episode details to shownotes - #934

Merged
elelay merged 2 commits into
gpodder:masterfrom
tpikonen:detailed-shownotes
May 10, 2021
Merged

elelay merged 2 commits into
gpodder:masterfrom
tpikonen:detailed-shownotes

Conversation

@tpikonen

Copy link
Copy Markdown
Contributor

Add a line after subheading in shownotes with episode release date, length and size.

I usually have just the 'Released' column visible in the episode list TreeView, so having these visible in the shownotes is useful.

The formatting and the items in the details can be discussed in this PR and changed accordingly.

@elelay

elelay commented Dec 27, 2020

Copy link
Copy Markdown
Member

Good idea! It seems maybe a bit crowded.

@elelay

elelay commented Mar 13, 2021 •

Copy link
Copy Markdown
Member

Here is a screenshot on my desktop:
capture

What do you think? It adds an unwanted line of contents for users with a square-ish display, but I see how it would fit a narrow display with all optional columns hidden.

@tpikonen
tpikonen force-pushed the detailed-shownotes branch from 8520568 to 521e6ea Compare April 28, 2021 09:53
@tpikonen

Copy link
Copy Markdown
Contributor Author

The SailfishOS version of gPodder 4 has the episode details on the shownotes formatted like '2021-04-28 | 100.0 MiB | 35:00'.

I updated (and rebased) this PR to use this format and print the details with a smaller font. I'm going to use this on the adaptive branch, but it would be nice to have this everywhere.

@elelay

elelay commented Apr 28, 2021

Copy link
Copy Markdown
Member

Looks good 👍

condensed

@auouymous

Copy link
Copy Markdown
Member

LGTM, but 0.8 is too small to read. 0.9 is readable.

@tpikonen
tpikonen force-pushed the detailed-shownotes branch from 521e6ea to deb21aa Compare May 3, 2021 11:48
@tpikonen

tpikonen commented May 3, 2021

Copy link
Copy Markdown
Contributor Author

I changed the scale to 0.9 and rebased.

@auouymous

Copy link
Copy Markdown
Member

Today | 0.00 B | 00:00

The columns use a hyphen for duration and nothing for size when they are unknown. Should this do something similar?

@elelay

elelay commented May 9, 2021

Copy link
Copy Markdown
Member

The columns use a hyphen for duration and nothing for size when they are unknown. Should this do something similar?

yes, it would be better

@tpikonen
tpikonen force-pushed the detailed-shownotes branch from deb21aa to fbf59cf Compare May 9, 2021 19:03
@tpikonen

tpikonen commented May 9, 2021

Copy link
Copy Markdown
Contributor Author

The formatting is now the same as in columns. I'm somewhat itching to replace the "" for unknown size with a "-" though.

@auouymous

Copy link
Copy Markdown
Member

I agree with the "-", it looks better with or without a duration.

@tpikonen
tpikonen force-pushed the detailed-shownotes branch from fbf59cf to 9208a98 Compare May 10, 2021 13:33
@tpikonen

Copy link
Copy Markdown
Contributor Author

Unknown size is now displayed as "-".

Add a line after subheading in shownotes with episode release date,
length and size.
@tpikonen
tpikonen force-pushed the detailed-shownotes branch from 9208a98 to 124d7b3 Compare May 10, 2021 13:38
@tpikonen

Copy link
Copy Markdown
Contributor Author

Also added html.escape() to the HTML version.

@elelay
elelay merged commit 76b8b85 into gpodder:master May 10, 2021
@elelay

elelay commented May 10, 2021

Copy link
Copy Markdown
Member

Merged, thanks 👍

@auouymous

Copy link
Copy Markdown
Member

What about the unresolved if-else code review?

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.

3 participants