Closed tkuchida closed 6 years ago
I think that's a great idea. Another option I like is, on first launch, to load one of @carmichaelong's predictive simulations and allow users to simulate it and watch it walk out of the box.
Agree it's a good idea. We went down this route before ISB and there were the following issues:
With that said, I'm open to suggestions to improving the page (to see more than 2 bears in snow ;)
I would avoid putting anything "heavy" in the window- a welcome message and a list of links would be better than polar bears.
I wonder why one of the polar bears got a <No Properties>
tattoo.
Sounds great. Feel free to start one, and we'll see how it looks (and add a checkbox to not show on startup or use it to publish updates, or put ads 🤑
I propose the main "monopoly" page on Confluence:
…but I would store the page locally to guarantee that it will load (even without an internet connection), and make the links open in a new browser window (not within the GUI). Thoughts?
@aymanhab is that straightforward to do? To redirect the opening of links to your default browser (it seems so since my email can do it!)
@tkuchida I created a branch https://github.com/opensim-org/opensim-visualizer/tree/nonempty_homepage that serves as a starting point for contents. If you can build locally then use that branch or let me know your thoughts. As of now there's a link that opens in a separate browser. @chrisdembia my understanding is that we get artifacts only when building gui master branch so there's no easy way to get this in hands of the team until it makes it to master, please let me know otherwise.
@aymanhab Please clarify what I'm supposed to do. I don't know anything about the opensim-visualizer repo and I can't find any html files in that repo. How does the opensim-visualizer repo relate to opensim-gui and the opensim-org fork of three.js? I spent a day trying to build the gui a while ago but there were errors I was unable to resolve so I would prefer to avoid spending more time on that. I have the AppVeyor artifact OpenSim-6826a797-2018-02-28.zip; can you tell me what file/line to modify and where to put the new html file? I could then design and test locally.
Also, I saw the change made in the "[WIP]" PR (https://github.com/opensim-org/opensim-visualizer/pull/16), but I haven't been able to deduce what to do. One file was edited (jxBrowserTopComponent.java) but I can't find the corresponding file in the AppVeyor artifact. Also, if possible, I think it would be helpful for debugging to point to a separate html file rather than inlining the entire page in a string passed to browser.loadHTML()
.
@tkuchida I wasn't sure if you have built from source on windows in the past and that's why I asked @chrisdembia if branch commits are published. For debugging purposes, it would be good to have the html standalone, eventually we want to control the contents though so we'd likely keep it in code. I may make a build for you so you can modify/test. The file in the PR is in the opensim-visualizer repo, on a branch off opensim-gui which is our packaging of jxbrowser if that makes any sense. That''s a separate module on github.
Thanks @aymanhab. There are a few html files in the AppVeyor artifact, so I thought I might just be able to hack something into, e.g., OpenSim\OpenSim\threejs\editor\js\libs\app\index.html or OpenSim\OpenSim\threejs\editor\index.html. Perhaps I can just design as a standalone html page, commit to https://github.com/opensim-org/opensim-visualizer/pull/16, and revise down the road if necessary. I'm not planning anything fancy (essentially reproducing the main "monopoly" page on Confluence).
@chrisdembia my understanding is that we get artifacts only when building gui master branch so there's no easy way to get this in hands of the team until it makes it to master, please let me know otherwise.
You are correct.
Prototype 01 (as it appears in Chrome Version 64.0.3282.186):
It sounds like everything will be inlined, so I haven't used CSS. Here's the html (changed extension to .txt): welcome.html
Should end up looking something like this:
Thanks for working on this @tkuchida and @aymanhab .
A couple comments/questions:
For the links that change when we release new versions, we'll need to change the link to display/OpenSim40. Then when 4.0 goes live, we'll set-up a redirect from display/OpenSim40 -> display/OpenSim. This way, when we release a new version of the documentation, users of the old version can still navigate to the old version documentation. We could hold on doing this until we're closer to the release since no redirect is set-up yet.
Should users be able to navigate back to this page somehow?
Thanks for the feedback @jenhicks
I would hold on to the link change until closer.
VisualStudio has "Start Page" under File, NetBeans has t under "Help" which I think is a better option if we want users to go back to the page. The issue is what happens to loaded models if we allow that. In these IDEs they can just open another tab, we don't have this luxury since we re-use the window for visualization. We could open it in a separate Browser in that case similar to other options under Help.
I created an issue to track (#605)
We could skip adding a way to navigate back. We might point Online help to the main confluence page. downside is that we'd lose pointing people to the page with the google search bar. (We tried but found no way to put the search bar on confluence).
We currently display two polar bears in a snowstorm:
IIUC the Visualizer window is a webpage, so we could show, e.g., a page of links to (the many) OpenSim resources, snapshots of cool models, a biomechanics-themed picture, the words "Welcome to OpenSim", "Getting started" tips, …