Performance update, load only when okay is pressed

Took 9 minutes
This commit is contained in:
Tobias Hopp 2020-10-04 22:25:25 +02:00
parent 0411821277
commit ba664edbdb
3 changed files with 21 additions and 10 deletions

26
.idea/workspace.xml generated
View File

@ -19,7 +19,11 @@
<select /> <select />
</component> </component>
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="fc13552d-b118-4828-b78f-fc8714e0cfdc" name="Default Changelist" comment="Final COMMIT!!!" /> <list default="true" id="fc13552d-b118-4828-b78f-fc8714e0cfdc" name="Default Changelist" comment="Final COMMIT!!!">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/templates/faq.tmpl.html" beforeDir="false" afterPath="$PROJECT_DIR$/templates/faq.tmpl.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/vendor/js/faq.js" beforeDir="false" afterPath="$PROJECT_DIR$/vendor/js/faq.js" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" /> <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
@ -29,7 +33,7 @@
<execution /> <execution />
</component> </component>
<component name="DarkyenusTimeTracker"> <component name="DarkyenusTimeTracker">
<option name="totalTimeSeconds" value="87055" /> <option name="totalTimeSeconds" value="87643" />
<option name="gitIntegration" value="true" /> <option name="gitIntegration" value="true" />
<option name="naggedAbout" value="1" /> <option name="naggedAbout" value="1" />
</component> </component>
@ -75,7 +79,7 @@
<updated>1601618466935</updated> <updated>1601618466935</updated>
<workItem from="1601618467981" duration="36776000" /> <workItem from="1601618467981" duration="36776000" />
<workItem from="1601809534320" duration="1558000" /> <workItem from="1601809534320" duration="1558000" />
<workItem from="1601811106543" duration="17934000" /> <workItem from="1601811106543" duration="19143000" />
</task> </task>
<task id="LOCAL-00001" summary="Initial commit"> <task id="LOCAL-00001" summary="Initial commit">
<created>1601618764031</created> <created>1601618764031</created>
@ -266,7 +270,14 @@
<option name="project" value="LOCAL" /> <option name="project" value="LOCAL" />
<updated>1601839572420</updated> <updated>1601839572420</updated>
</task> </task>
<option name="localTasksCounter" value="28" /> <task id="LOCAL-00028" summary="Update timezone">
<created>1601840524864</created>
<option name="number" value="00028" />
<option name="presentableId" value="LOCAL-00028" />
<option name="project" value="LOCAL" />
<updated>1601840524864</updated>
</task>
<option name="localTasksCounter" value="29" />
<servers /> <servers />
</component> </component>
<component name="TypeScriptGeneratedFilesManager"> <component name="TypeScriptGeneratedFilesManager">
@ -309,7 +320,8 @@
<MESSAGE value="Fix issue #10, newlines should be showing up now" /> <MESSAGE value="Fix issue #10, newlines should be showing up now" />
<MESSAGE value="Fix bug #11, little boring" /> <MESSAGE value="Fix bug #11, little boring" />
<MESSAGE value="Allowing html content in answerModal" /> <MESSAGE value="Allowing html content in answerModal" />
<option name="LAST_COMMIT_MESSAGE" value="Allowing html content in answerModal" /> <MESSAGE value="Update timezone" />
<option name="LAST_COMMIT_MESSAGE" value="Update timezone" />
</component> </component>
<component name="WindowStateProjectService"> <component name="WindowStateProjectService">
<state x="728" y="326" width="800" height="683" key="#com.intellij.execution.impl.EditConfigurationsDialog" timestamp="1601632929047"> <state x="728" y="326" width="800" height="683" key="#com.intellij.execution.impl.EditConfigurationsDialog" timestamp="1601632929047">
@ -348,10 +360,10 @@
<screen x="0" y="34" width="1920" height="1046" /> <screen x="0" y="34" width="1920" height="1046" />
</state> </state>
<state x="441" y="192" width="1037" height="736" key="SettingsEditor/0.34.1920.1046@0.34.1920.1046" timestamp="1601632853044" /> <state x="441" y="192" width="1037" height="736" key="SettingsEditor/0.34.1920.1046@0.34.1920.1046" timestamp="1601632853044" />
<state x="555" y="292" width="800" height="535" key="Vcs.Push.Dialog.v2" timestamp="1601839573489"> <state x="555" y="292" width="800" height="535" key="Vcs.Push.Dialog.v2" timestamp="1601840526172">
<screen x="0" y="34" width="1920" height="1046" /> <screen x="0" y="34" width="1920" height="1046" />
</state> </state>
<state x="555" y="292" width="800" height="535" key="Vcs.Push.Dialog.v2/0.34.1920.1046@0.34.1920.1046" timestamp="1601839573489" /> <state x="555" y="292" width="800" height="535" key="Vcs.Push.Dialog.v2/0.34.1920.1046@0.34.1920.1046" timestamp="1601840526172" />
<state x="809" y="122" width="639" height="876" key="com.intellij.database.view.ui.AbstractDbRefactoringDialog" timestamp="1601632983240"> <state x="809" y="122" width="639" height="876" key="com.intellij.database.view.ui.AbstractDbRefactoringDialog" timestamp="1601632983240">
<screen x="0" y="34" width="1920" height="1046" /> <screen x="0" y="34" width="1920" height="1046" />
</state> </state>

View File

@ -162,7 +162,7 @@
<span id="welcomeModalText" class="text-justify">You are an XXX of this room.<br>This means you can XXX</span> <span id="welcomeModalText" class="text-justify">You are an XXX of this room.<br>This means you can XXX</span>
</div> </div>
<div class="modal-footer"> <div class="modal-footer">
<button type="button" id="welcomeModalClose" class="btn btn-info" data-dismiss="modal">Okay</button> <button type="button" id="welcomeModalClose" class="btn btn-info" data-dismiss="modal" onclick="getQuestions(); setInterval( function() { getQuestions(); }, 1500 );">Okay</button>
</div> </div>
</div> </div>
</div> </div>

3
vendor/js/faq.js vendored
View File

@ -291,6 +291,5 @@ function welcomeMessage()
getQuestions();
setInterval( function() { getQuestions(); }, 1500 );
setTimeout( function() { welcomeMessage(); }, 500 ); setTimeout( function() { welcomeMessage(); }, 500 );