Skip to content

Commit

Permalink
fix: remove broken chat integration
Browse files Browse the repository at this point in the history
PR-URL: 	#67
Closes: #59
Reviewed-by: Athan Reines <kgryte@gmail.com>
  • Loading branch information
lovelindhoni authored Mar 21, 2024
1 parent 94b042b commit d0f0264
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 423 deletions.
22 changes: 0 additions & 22 deletions public/css/docs/layout.css
Original file line number Diff line number Diff line change
Expand Up @@ -1564,24 +1564,6 @@ button.side-menu-list-item-namespace-icon {
top: 0;
}

/*
* Chat.
*/

.toggle-chat-button {
position: fixed;
bottom: 16px;
right: 16px;

height: 64px;
width: 64px;
}

.toggle-chat-button .icon {
height: 36px;
width: 36px;
}

/*
* Equations.
*/
Expand Down Expand Up @@ -1686,10 +1668,6 @@ h1 button.icon-button .icon {
display: none;
}

.toggle-chat-button {
display: none;
}

/*
* Ensure that the main content is not shifted to the right (e.g., due to the side menu being open).
*/
Expand Down
54 changes: 0 additions & 54 deletions public/css/docs/misc.css
Original file line number Diff line number Diff line change
Expand Up @@ -918,60 +918,6 @@ button.side-menu-list-item-namespace-icon:hover {
outline: none;
}

/*
* Chat.
*/

.toggle-chat-button {
outline: 0;
border: 0;

background-color: var(--default-button-background-color);

-webkit-border-radius: 50%;
-moz-border-radius: 50%;
border-radius: 50%;

/* offset-x | offset-y | blur-radius | spread-radius | color */
-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);
-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);
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);

cursor: pointer;
}

.toggle-chat-button:hover,
.toggle-chat-button:focus {
background-color: var(--default-button-hover-background-color);
}

.toggle-chat-button .icon {
fill: var(--default-button-text-color);
}

aside.gitter-chat-embed {
border-left: 0;

-webkit-box-shadow: 0 0 18px 0 rgba(50, 50, 50, 0.3);
-moz-box-shadow: 0 0 18px 0 rgba(50, 50, 50, 0.3);
box-shadow: 0 0 18px 0 rgba(50, 50, 50, 0.3);

transition: none;
}

div.gitter-chat-embed-action-bar {
background: #ffffff;

/* offset-x | offset-y | blur-radius | color */
-webkit-box-shadow: 0 0 5px #ced4da;
-moz-box-shadow: 0 0 5px #ced4da;
box-shadow: 0 0 5px #ced4da;

justify-content: space-between;

padding-bottom: 0;
}

/*
* Icons.
*/
Expand Down
32 changes: 0 additions & 32 deletions public/js/common/gitter.js

This file was deleted.

127 changes: 0 additions & 127 deletions public/js/common/gitter_sidecar.js

This file was deleted.

5 changes: 0 additions & 5 deletions public/js/common/gitter_sidecar.min.js

This file was deleted.

2 changes: 0 additions & 2 deletions src/app.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ import Help from './components/help/index.jsx';
import ErrorDecoder from './components/error-decoder/index.jsx';
import TestRunner from './components/runner/test.jsx';
import BenchmarkRunner from './components/runner/benchmark.jsx';
import Chat from './components/chat/index.jsx';
import routes from './routes.js';


Expand Down Expand Up @@ -1003,7 +1002,6 @@ class App extends React.Component {
<Footer
version={ this.props.version }
/>
<Chat />
</Fragment>
);
}
Expand Down
178 changes: 0 additions & 178 deletions src/components/chat/index.jsx

This file was deleted.

3 changes: 0 additions & 3 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,5 @@
<script type="text/javascript">
!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"))}();
</script>
<script type="text/javascript">
window.gitter={chat:{options:{disableDefaultChat:!0}}};
</script>
</body>
</html>

0 comments on commit d0f0264

Please sign in to comment.