Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
a6b5988
Add subscription community tab
ChunkyProgrammer Aug 26, 2023
446688a
fix up community tab
ChunkyProgrammer Aug 29, 2023
91893ec
simplify if statement
ChunkyProgrammer Aug 30, 2023
5b4475d
use global.community for all references to community
ChunkyProgrammer Aug 30, 2023
0c985c1
Merge branch 'development' into add-subscription-community
ChunkyProgrammer Aug 30, 2023
05bbc12
dont show community when useRss is set
ChunkyProgrammer Aug 30, 2023
fe35848
check visibleTabs for showing the community tab
ChunkyProgrammer Aug 30, 2023
5ef6961
Merge branch 'development' into add-subscription-community
ChunkyProgrammer Sep 1, 2023
65eaffd
Merge branch 'development' into add-subscription-community
ChunkyProgrammer Sep 3, 2023
c184bc9
Merge branch 'development' into add-subscription-community
ChunkyProgrammer Sep 6, 2023
bcac51c
fix caching, decrease datalimit for community, add missing translations
ChunkyProgrammer Sep 6, 2023
eedc348
Merge branch 'development' into add-subscription-community
ChunkyProgrammer Sep 10, 2023
dd71681
Merge branch 'development' into add-subscription-community
ChunkyProgrammer Sep 14, 2023
2b7e639
L: Hide shared posts, IV: Don't show errors for empty community tab
ChunkyProgrammer Sep 18, 2023
951398d
Merge branch 'development' into add-subscription-community
ChunkyProgrammer Sep 18, 2023
29df968
add links to related issues
ChunkyProgrammer Sep 18, 2023
7d8c803
Merge branch 'development' into add-subscription-community
ChunkyProgrammer Sep 20, 2023
cd916e2
Merge branch 'development' into add-subscription-community
ChunkyProgrammer Sep 22, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add links to related issues
  • Loading branch information
ChunkyProgrammer committed Sep 18, 2023
commit 29df96822813d263186f2ccf755cd02436a39227
1 change: 1 addition & 0 deletions src/renderer/helpers/api/invidious.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export function invidiousAPICall({ resource, id = '', params = {}, doLogError =
.then((json) => {
if (json.error !== undefined) {
// community is empty, no need to display error.
// This code can be removed when: https://github.com/iv-org/invidious/issues/3814 is reolved
if (json.error === 'This channel hasn\'t posted yet') {
resolve({ comments: [] })
} else {
Expand Down
1 change: 1 addition & 0 deletions src/renderer/helpers/api/local.js
Original file line number Diff line number Diff line change
Expand Up @@ -914,6 +914,7 @@ export function parseLocalSubscriberCount(text) {
export function parseLocalCommunityPosts(posts) {
const foundIds = []
// `posts` includes the SharedPost's attached post for some reason so we need to filter that out.
// see: https://github.com/FreeTubeApp/FreeTube/issues/3252#issuecomment-1546675781
// we don't currently support SharedPost's so that is also filtered out
for (const post of posts) {
if (post.type === 'SharedPost') {
Expand Down