-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
🤷♂️ Question[ISSUE] Further information is requested[ISSUE] Further information is requested
Description
Question
I am working on adding two options to RSS widget (I plan a PR):
- Optionally don't display item descriptions (only titles)
- The ability to display the both date and time, not just the date
But my question is:
Should I change the following fragment in the original widget code:
axios.get(this.endpoint)
.then((response) => {
this.processData(response.data);
})
.catch((error) => {
this.error('Unable to RSS feed', error);
})
.finally(() => {
this.finishLoading();
});
to this one:
this.makeRequest(this.endpoint).then(this.processData);
Seems much cleaner for me :) I am new to Dashy, maybe makeRequest method was added after RSS Widget was created?
Category
Widgets
Please tick the boxes
- You are using a supported version of Dashy (check the first two digits of the version number)
- You've checked that this question hasn't already been raised
- You've checked the docs and troubleshooting guide
- You agree to the code of conduct
Lissy93
Metadata
Metadata
Assignees
Labels
🤷♂️ Question[ISSUE] Further information is requested[ISSUE] Further information is requested