File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ /* eslint-disable max-len */
12const Telegraph = require ( 'telegraph-node' ) ;
23const { JSDOM } = require ( 'jsdom' ) ;
34const { gitlogPromise } = require ( 'gitlog' ) ;
@@ -16,10 +17,12 @@ const gitOptions = {
1617
1718const pageTemplate = `
1819<body>\
20+ <aside><img src="https://webz.dev/icon-dev-512x512.png" /></aside>
1921 <h3>Commits since ${ version } </h3>\
20- <blockquote> This list is automatically updated when a new commit pushed to the beta repo</blockquote >\
22+ <p><i> This list is automatically updated when a new commit pushed to the beta repo</i></p >\
2123 <ul id="list"></ul>\
22- <blockquote>Last updated ${ new Date ( ) . toLocaleDateString ( 'en-CA' ) } </blockquote>\
24+ <aside><a href="https://t.me/webzchat">WebZ Discussion</a> <b>|</b> <a href="https://t.me/webzcommentsru">WebZ Обсуждение</a></aside>\
25+ <aside><i>Last update: ${ new Date ( ) . toLocaleDateString ( 'en-CA' ) } </i></aside>\
2326</body>
2427` . trim ( ) ;
2528
Original file line number Diff line number Diff line change @@ -11,8 +11,6 @@ import {
1111 ANIMATION_LEVEL_MAX ,
1212 APP_NAME , APP_VERSION ,
1313 BETA_CHANGELOG_URL ,
14- BETA_DISCUSSION_CHAT_EN ,
15- BETA_DISCUSSION_CHAT_RU ,
1614 DEBUG ,
1715 FEEDBACK_URL ,
1816 IS_BETA ,
@@ -211,14 +209,6 @@ const LeftMainHeader: FC<OwnProps & StateProps> = ({
211209 window . open ( BETA_CHANGELOG_URL , '_blank' , 'noopener' ) ;
212210 } , [ ] ) ;
213211
214- const handleRuDiscussionClick = useCallback ( ( ) => {
215- openChatByUsername ( { username : BETA_DISCUSSION_CHAT_RU } ) ;
216- } , [ openChatByUsername ] ) ;
217-
218- const handleEnDiscussionClick = useCallback ( ( ) => {
219- openChatByUsername ( { username : BETA_DISCUSSION_CHAT_EN } ) ;
220- } , [ openChatByUsername ] ) ;
221-
222212 const handleSwitchToWebK = useCallback ( ( ) => {
223213 setPermanentWebVersion ( 'K' ) ;
224214 clearWebsync ( ) ;
@@ -315,26 +305,12 @@ const LeftMainHeader: FC<OwnProps & StateProps> = ({
315305 Report Bug
316306 </ MenuItem >
317307 { IS_BETA && (
318- < >
319- < MenuItem
320- icon = "permissions"
321- onClick = { handleChangelogClick }
322- >
323- Beta Changelog
324- </ MenuItem >
325- < MenuItem
326- icon = "comments"
327- onClick = { handleRuDiscussionClick }
328- >
329- Beta Discussion (ru)
330- </ MenuItem >
331- < MenuItem
332- icon = "comments"
333- onClick = { handleEnDiscussionClick }
334- >
335- Beta Discussion (en)
336- </ MenuItem >
337- </ >
308+ < MenuItem
309+ icon = "permissions"
310+ onClick = { handleChangelogClick }
311+ >
312+ Beta Changelog
313+ </ MenuItem >
338314 ) }
339315 { withOtherVersions && (
340316 < >
Original file line number Diff line number Diff line change @@ -10,8 +10,6 @@ export const IS_PERF = process.env.APP_ENV === 'perf';
1010export const IS_BETA = process . env . APP_ENV === 'staging' ;
1111
1212export const BETA_CHANGELOG_URL = 'https://telegra.ph/WebZ-Beta-04-01' ;
13- export const BETA_DISCUSSION_CHAT_RU = 'webzcommentsru' ;
14- export const BETA_DISCUSSION_CHAT_EN = 'webzchat' ;
1513
1614export const DEBUG_ALERT_MSG = 'Shoot!\nSomething went wrong, please see the error details in Dev Tools Console.' ;
1715export const DEBUG_GRAMJS = false ;
You can’t perform that action at this time.
0 commit comments