Startpage redesign
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Startpage redesign
I had a try this WE at redesigning the start center. What would you guys think of something like this?
You can play with it here:
http://yorik.uncreated.net/startpage/new.html
It is made to be pretty configurable. There would be a preference page that allows to chage the colors and background image, or even use a completely different HTML template:
The HTML template would be a normal HTML file, with some placeholder (like %freecadVersion% or %backgroundColor% ) that the start WB would replace by the correct value when loading it... This would allow for example, schools or companies to make a start page specific for them.
What do you think? Ideas? Improvements?
You can play with it here:
http://yorik.uncreated.net/startpage/new.html
It is made to be pretty configurable. There would be a preference page that allows to chage the colors and background image, or even use a completely different HTML template:
The HTML template would be a normal HTML file, with some placeholder (like %freecadVersion% or %backgroundColor% ) that the start WB would replace by the correct value when loading it... This would allow for example, schools or companies to make a start page specific for them.
What do you think? Ideas? Improvements?
Re: Startpage redesign
I like it!!!
It reminds me of what Kurt posted some time ago...
It's a pity though that for Windows users, it's not possible to get thumbnails without a hack that most end users wouldn't know how to do.
Okay my previous comment was just after looking at your Documents tab screenshot. I just now saw your link with the other tabs... Awesome!!! The "Workbench help" section of the Help tab is a great idea!
But this brings a question: can this be translated, by which I mean could this automatically show the translated wiki links based on the end user's locale?
It reminds me of what Kurt posted some time ago...
It's a pity though that for Windows users, it's not possible to get thumbnails without a hack that most end users wouldn't know how to do.
Okay my previous comment was just after looking at your Documents tab screenshot. I just now saw your link with the other tabs... Awesome!!! The "Workbench help" section of the Help tab is a great idea!
But this brings a question: can this be translated, by which I mean could this automatically show the translated wiki links based on the end user's locale?
Re: Startpage redesign
I dig it!
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Re: Startpage redesign
Addendum
Possibilities to add:
* a box showing the activity in the bugtracker with a short explanation on how to submit bug reports
* a box describing all current FreeCAD-addons and links to each one
* a link to useful YouTube tutorials
* a link to the PDF for beginners https://forum.freecadweb.org/viewtopic. ... 34#p153850
* a link for volunteers to contribute documentation, code, macros, etc...
* a box linking users to the FreeCAD-library
* FreeCAD on social media
Edit: apologies, some of these already exist under the Help tab
Possibilities to add:
* a box showing the activity in the bugtracker with a short explanation on how to submit bug reports
* a box describing all current FreeCAD-addons and links to each one
* a link to useful YouTube tutorials
* a link to the PDF for beginners https://forum.freecadweb.org/viewtopic. ... 34#p153850
* a link for volunteers to contribute documentation, code, macros, etc...
* a box linking users to the FreeCAD-library
* FreeCAD on social media
Edit: apologies, some of these already exist under the Help tab
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Re: Startpage redesign
@yourik, very good idea! I like it much more than the current one.
Re: Startpage redesign
A lot of ideas from the previous discussion thread got in. The result looks good.
P.S. If there would be about 10 to 20% of the actual work done by other members in community. That i guess would raise the bar even higher. But how to get to there i don't know. I feel its a process and we need to figure it out. Likely it will involve more direct engagement of the community (by the lead person behind the effort) in the process of WIP phase. And disclaimer made in a way lists of features are welcomed but pull requests is what we are really after in WIP phase.
P.S. If there would be about 10 to 20% of the actual work done by other members in community. That i guess would raise the bar even higher. But how to get to there i don't know. I feel its a process and we need to figure it out. Likely it will involve more direct engagement of the community (by the lead person behind the effort) in the process of WIP phase. And disclaimer made in a way lists of features are welcomed but pull requests is what we are really after in WIP phase.
Re: Startpage redesign
Do it!yorik wrote:I had a try this WE at redesigning the start center. What would you guys think of something like this?
Re: Startpage redesign
Thanks for the comments guys!
One detail I don't know how to solve yet. To make the loading of the start page fast, it cannot "wait" for web content to be loaded. It must first load without any web content, then anything from the web must be fetched after the page loaded, that is, by pure javascript. However, javascript is apparently forbidden to load contents from other domains than the one it is running from. That prevents from fetching stuff from the tracker or forum. The only exception is when using the JSON format, which AFAICS none of our webapps supports, only Github (that's why I was able to fetch the commits from github).
If any of you webgurus has an idea to remove that barrier, then we can do much more interesting stuff
There is one easy path: The HTML template can be fully translated. However, there are some parts (the list of installed workbenches, etc) that will not be inside the template but generated by freeCAD at runtime. And this will include some wiki links... Maybe we could do something with what Renato has been working on the wiki (create empty /fr, /pt, /ru... pages), and, for example, if we use the russian template, add /ru to all the wiki links? To be discussed further.NormandC wrote:But this brings a question: can this be translated, by which I mean could this automatically show the translated wiki links based on the end user's locale?
Great! If anyone else has more ideas of these "content boxes", keep them coming. It's also easy to add more tabs (I was thinking about a "customize" one).Kunda1 wrote:* a box showing the activity in the bugtracker with a short explanation on how to submit bug reports
* a box describing all current FreeCAD-addons and links to each one
* a link to useful YouTube tutorials
* a link to the PDF for beginners https://forum.freecadweb.org/viewtopic. ... 34#p153850
* a link for volunteers to contribute documentation, code, macros, etc...
* a box linking users to the FreeCAD-library
* FreeCAD on social media
One detail I don't know how to solve yet. To make the loading of the start page fast, it cannot "wait" for web content to be loaded. It must first load without any web content, then anything from the web must be fetched after the page loaded, that is, by pure javascript. However, javascript is apparently forbidden to load contents from other domains than the one it is running from. That prevents from fetching stuff from the tracker or forum. The only exception is when using the JSON format, which AFAICS none of our webapps supports, only Github (that's why I was able to fetch the commits from github).
If any of you webgurus has an idea to remove that barrier, then we can do much more interesting stuff
Re: Startpage redesign
It is possible that some of the security flags for the website that we have set up recently are blocking this https://forum.freecadweb.org/viewtopic. ... 78#p174779 , we can test this by adding a hash (#) in front of individual flags to disable them, for example:yorik wrote:However, javascript is apparently forbidden to load contents from other domains than the one it is running from. That prevents from fetching stuff from the tracker or forum. The only exception is when using the JSON format, which AFAICS none of our webapps supports, only Github (that's why I was able to fetch the commits from github).
If any of you webgurus has an idea to remove that barrier, then we can do much more interesting stuff
Code: Select all
#Header always set Content-Security-Policy "frame-ancestors 'none'"
#Header always set X-Frame-Options "deny"
Last edited by saso on Tue May 23, 2017 3:35 pm, edited 1 time in total.
Re: Startpage redesign
Nice job @yorik! I like it a lot.
I just suggest to make the "link object" the full box with the thumbnail and info, not just the thumbnail
BTW, FC thumbnails do work on macOS?
I just suggest to make the "link object" the full box with the thumbnail and info, not just the thumbnail
BTW, FC thumbnails do work on macOS?
Dark and Light stylesheets v2.0 to theme your FreeCAD UI, more information here