-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Frontend proposal for C5 shutdown #2859
Conversation
This new commit updates the main page. It inserts ArduPilot wiki items: www.olivieri.com.br/ardupilot/bootstrap/ Any thoughts about header and footer? If not I will recreate the C5 other pages: Partners PS: BTW, Why not create another GitHub repo and use for a new frontend with these simple pages? I think that it would be more comfortable to maintain it outside the Sphinx environment and upgrade it later. |
How do I test this? |
@Hwurzburg |
How do I view it |
Looking forward to this! |
Notes from weekly-devcall from 2020-07-20:
|
After some absence, I would like to return to this. From weekly-devcall from 2020-07-20: Item 1) There is a test version on http://wiki-beta.ardupilot.org:83/frontpage/ @rmackay9: Is that what do you were talking about for as the blog presentation on the main page? The number of posts can vary easily, and it is kind responsive to the screen. Item 2) |
I was hoping that it would look a bit more like ardupilot.org does at the moment with the blogs appearing near the top and including the first picture and the top few lines of text. I think the blog posts should be one of the first things that people see when they come to ardupilot.org. I also would like it if we could keep the news feed on the left although I don't know how many people actually use that so it's less of a priority. |
Get text from the Discourse is a little tricking because users' texts may have some self-made HTML. I got the text and removed the standard HTML and shorted it for 140 characters for a couple of trials:
@rmackay9 Is there something that you think is a good path to follow? EDIT: note the error on the VTOL text in latest posts area... |
ping @rmackay9 |
c132ebf
to
fd69ef8
Compare
We are restarting this initiative. Please @Hwurzburg, check the 3 proposed laytouts and choose one. The main diferrence is how the page gets the last blog posts from the forum. Then, I will do a script to build it during wiki building and we can test that. |
I like the third one.....not exactly the same but close enough....I think having it easily editable greatly outweighs any small issues with it not being the exact same format as the old....if we could measure it, I bet that jumps from this page are to documentation vastly outweighs any other |
So, to put it in place, I guess at least three things need to be put in place:
*it works but some posts brings some trash **so far, plain or empty pages are:
|
I did some recent edits to the php script that imports blog posts. I could convert it to python if you like, or it could be used as-it. Note that simplest initial solution is to create a HTML frame with this URL: https://ardupilot.org/blogfeed-static.html that URL is auto-updated from the php script and this is exactly how the C5 code works (HTML frame with that URL) |
Thank you @tridge ! I wish I saw that php before. So, I did a python that get data from discourse JSONs. |
dc6e669
to
bf1272a
Compare
5f75f7d
to
3c97cff
Compare
3c97cff
to
fd7aebc
Compare
fd7aebc
to
449abb3
Compare
Well, I think we can go into a new round of feedback already. Preview: http://wiki-beta.ardupilot.org:83/frontend/ There are at least two issues that can occur from the Discourse*:
Merging this PR doesn't change kills C5 and doesn't redirect home to this site. Both can coexist for a while, and the configuration will be in Apache/Nginx. *a python script gets some Json from discourse API and saves other Json consumed by the JS in the pages. |
Notes and feedback from the 2021-10-19 dev meeting:
|
let me know if you need help on any of the .rst stuff |
Thanks Henry. Could you help me with the User Cases? Maybe insert them in /Ardupiltot/ pages? |
link cases to this page which I have redone: common-use-cases-and-applications.rst |
I have made another PR to finish the cleanup.
|
@Hwurzburg the related page isn't present on the wiki for now |
Takes the place of use cases |
5112fe9
to
3a55269
Compare
I think we finished the last set of proposals: http://wiki-beta.ardupilot.org:83/frontend/ @khancyr and @Hwurzburg : What you think about put it on next dev meeting? |
Looks great to me! |
b4e2f2c
to
1939d89
Compare
Merging as discussed and watching the building. |
This is an early and naive PR to discuss a very clean and plain new frontend to substitute C5 for ArduPilot main page. Here is a single page sample: www.olivieri.com.br/ardupilot/bootstrap/
The whole idea is to use plain HTML that could be updated inside the Wiki environment like any other Wiki's PR.
To proceed, I need to address some points:
The header and footer of the page are good enough? IFF it is close to being good enough, I can recreate the C5 pages statically.
or try to create a new sphinx theme for those.(updated)Presenting Discourse links and images alert users about cross-site items (SSL issue). I am not sure, but I guess this is not good for being found from google and other SEO stuff. Could we just present the text? XOR process it not dynamically on the client-side, but import it when the wiki is being built?