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

FreshRSS custom service. #672

Merged
merged 4 commits into from
Oct 26, 2024
Merged

Conversation

thedroid
Copy link
Contributor

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes # (issue)

Type of change

  • 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)

Checklist:

  • I've read & comply with the contributing guidelines
  • I have tested my code for new features & regressions on both mobile & desktop devices, using the latest version of major browsers.
  • I have made corresponding changes to the documentation (README.md).
  • I've checked my modifications for any breaking changes, especially in the config.yml file

@netlify
Copy link

netlify bot commented Jul 25, 2023

Deploy Preview for homer-demo-content ready!

Name Link
🔨 Latest commit baf5822
🔍 Latest deploy log https://app.netlify.com/sites/homer-demo-content/deploys/64d11cdf5439640008c226cd
😎 Deploy Preview https://deploy-preview-672--homer-demo-content.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Owner

@bastienwirtz bastienwirtz left a comment

Choose a reason for hiding this comment

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

Thanks for this contribution too @thedroid!
It would also be nice to have the dummy data for this one if possible.


this.fetch(`/api/greader.php/reader/api/0/subscription/list?output=json`, { headers })
.then((subscription) => {
this.subscriptions = 0;
Copy link
Owner

Choose a reason for hiding this comment

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

You should be able to set subscriptions to 0 in the declaration, line 37, and remove this line

console.error(e);
this.serverError = true;
});
this.fetch(`/api/greader.php/reader/api/0/unread-count?output=json`, { headers })
Copy link
Owner

Choose a reason for hiding this comment

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

Wrong indentation, could you run a yarn lint ?

});
this.fetch(`/api/greader.php/reader/api/0/unread-count?output=json`, { headers })
.then((unreadcount) => {
this.unread = 0;
Copy link
Owner

Choose a reason for hiding this comment

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

Same here about the initial value.

@bastienwirtz bastienwirtz merged commit cd25756 into bastienwirtz:main Oct 26, 2024
4 of 5 checks passed
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.

2 participants