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

Switch to client-side templating #928

Closed
jtojnar opened this issue May 10, 2017 · 2 comments · Fixed by #1216
Closed

Switch to client-side templating #928

jtojnar opened this issue May 10, 2017 · 2 comments · Fixed by #1216
Assignees
Labels
Milestone

Comments

@jtojnar
Copy link
Member

jtojnar commented May 10, 2017

This would make the JavaScript client equal to other clients and allow us to drop the JS-specific API endpoints entirely.

Since selfoss requires JavaScript to work and we don’t care about SEO, the only difference should be in performance. And the difference should be negligible because the majority of markup comes from the item bodies anyway.

I implemented a proof of concept in client-side-templates branch.

@armandabric
Copy link

Have you thought about making the web UI a SPA. This could make the actual selfoss API perfectly shared between all the clients (web, android, iOS). It will also make possible to make this SPA a progressive web app: this will make the mobile experience way better (if done correctly)

@jtojnar
Copy link
Member Author

jtojnar commented Jun 6, 2017

@Spy-Seth Yes, this is the goal. niol is already working on offline support.

@jtojnar jtojnar self-assigned this Jun 15, 2017
@jtojnar jtojnar added this to the 2.18 milestone Jun 15, 2017
@jtojnar jtojnar removed this from the 2.18 milestone Jan 8, 2018
@jtojnar jtojnar added this to the 2.19 milestone Mar 9, 2018
@jtojnar jtojnar mentioned this issue Sep 27, 2019
3 tasks
@jtojnar jtojnar modified the milestones: 2.19, 3.0 Oct 15, 2019
@jtojnar jtojnar modified the milestones: 3.0, 2.19 Sep 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants