Skip to content

Commit d0f0264

Browse files
authored
fix: remove broken chat integration
PR-URL: #67 Closes: #59 Reviewed-by: Athan Reines <[email protected]>
1 parent 94b042b commit d0f0264

File tree

8 files changed

+0
-423
lines changed

8 files changed

+0
-423
lines changed

public/css/docs/layout.css

-22
Original file line numberDiff line numberDiff line change
@@ -1564,24 +1564,6 @@ button.side-menu-list-item-namespace-icon {
15641564
top: 0;
15651565
}
15661566

1567-
/*
1568-
* Chat.
1569-
*/
1570-
1571-
.toggle-chat-button {
1572-
position: fixed;
1573-
bottom: 16px;
1574-
right: 16px;
1575-
1576-
height: 64px;
1577-
width: 64px;
1578-
}
1579-
1580-
.toggle-chat-button .icon {
1581-
height: 36px;
1582-
width: 36px;
1583-
}
1584-
15851567
/*
15861568
* Equations.
15871569
*/
@@ -1686,10 +1668,6 @@ h1 button.icon-button .icon {
16861668
display: none;
16871669
}
16881670

1689-
.toggle-chat-button {
1690-
display: none;
1691-
}
1692-
16931671
/*
16941672
* Ensure that the main content is not shifted to the right (e.g., due to the side menu being open).
16951673
*/

public/css/docs/misc.css

-54
Original file line numberDiff line numberDiff line change
@@ -918,60 +918,6 @@ button.side-menu-list-item-namespace-icon:hover {
918918
outline: none;
919919
}
920920

921-
/*
922-
* Chat.
923-
*/
924-
925-
.toggle-chat-button {
926-
outline: 0;
927-
border: 0;
928-
929-
background-color: var(--default-button-background-color);
930-
931-
-webkit-border-radius: 50%;
932-
-moz-border-radius: 50%;
933-
border-radius: 50%;
934-
935-
/* offset-x | offset-y | blur-radius | spread-radius | color */
936-
-webkit-box-shadow: 0 3px 5px -1px rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12);
937-
-moz-box-shadow: 0 3px 5px -1px rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12);
938-
box-shadow: 0 3px 5px -1px rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12);
939-
940-
cursor: pointer;
941-
}
942-
943-
.toggle-chat-button:hover,
944-
.toggle-chat-button:focus {
945-
background-color: var(--default-button-hover-background-color);
946-
}
947-
948-
.toggle-chat-button .icon {
949-
fill: var(--default-button-text-color);
950-
}
951-
952-
aside.gitter-chat-embed {
953-
border-left: 0;
954-
955-
-webkit-box-shadow: 0 0 18px 0 rgba(50, 50, 50, 0.3);
956-
-moz-box-shadow: 0 0 18px 0 rgba(50, 50, 50, 0.3);
957-
box-shadow: 0 0 18px 0 rgba(50, 50, 50, 0.3);
958-
959-
transition: none;
960-
}
961-
962-
div.gitter-chat-embed-action-bar {
963-
background: #ffffff;
964-
965-
/* offset-x | offset-y | blur-radius | color */
966-
-webkit-box-shadow: 0 0 5px #ced4da;
967-
-moz-box-shadow: 0 0 5px #ced4da;
968-
box-shadow: 0 0 5px #ced4da;
969-
970-
justify-content: space-between;
971-
972-
padding-bottom: 0;
973-
}
974-
975921
/*
976922
* Icons.
977923
*/

public/js/common/gitter.js

-32
This file was deleted.

public/js/common/gitter_sidecar.js

-127
This file was deleted.

public/js/common/gitter_sidecar.min.js

-5
This file was deleted.

src/app.jsx

-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ import Help from './components/help/index.jsx';
4040
import ErrorDecoder from './components/error-decoder/index.jsx';
4141
import TestRunner from './components/runner/test.jsx';
4242
import BenchmarkRunner from './components/runner/benchmark.jsx';
43-
import Chat from './components/chat/index.jsx';
4443
import routes from './routes.js';
4544

4645

@@ -1003,7 +1002,6 @@ class App extends React.Component {
10031002
<Footer
10041003
version={ this.props.version }
10051004
/>
1006-
<Chat />
10071005
</Fragment>
10081006
);
10091007
}

src/components/chat/index.jsx

-178
This file was deleted.

src/index.html

-3
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,5 @@
7171
<script type="text/javascript">
7272
!function(){var t,a,e,n,o,i,r=/Windows.+?(?=;)/g,s=/Firefox\/(\d+)/,c=/MSIE|Trident/i,g=["Windows NT 6.1","Windows NT 6.2","Windows NT 6.3"];!1===function(){"use strict";var t,a,e,n,o,i;return e={0:!1,1:!0},a=navigator.doNotTrack||window.doNotTrack||navigator.msDoNotTrack,i=navigator.userAgent,(!(o=c.test(i))||"function"==typeof Array.prototype.indexOf)&&(!((n=i.match(s))&&parseInt(n[1],10)<32)&&(t=i.match(r),(!o||!t||-1===g.indexOf(t[0]))&&void 0!==(a=e[a])))}()&&(t=window,a=document,e="script",n="ga",t.GoogleAnalyticsObject=n,t.ga=t.ga||function(){(t.ga.q=t.ga.q||[]).push(arguments)},t.ga.l=1*new Date,o=a.createElement(e),i=a.getElementsByTagName(e)[0],o.async=1,o.src="https://www.google-analytics.com/analytics.js",i.parentNode.insertBefore(o,i),ga("create","UA-105890493-1","auto"),ga("send","pageview"))}();
7373
</script>
74-
<script type="text/javascript">
75-
window.gitter={chat:{options:{disableDefaultChat:!0}}};
76-
</script>
7774
</body>
7875
</html>

0 commit comments

Comments
 (0)