Commit Graph

15184 Commits

Author SHA1 Message Date
John Preston 4b6107fa56 Use color index from API. 2023-10-26 14:08:41 +04:00
John Preston f90a010b84 Update API scheme on layer 166. 2023-10-26 14:08:41 +04:00
John Preston ef0539c9fc Allow replying with quoting message part. 2023-10-26 14:08:41 +04:00
John Preston 00db325e91 Fix view giveaway details button in forwards. 2023-10-26 14:08:41 +04:00
John Preston d5429e769f Allow sharing gift code link. 2023-10-26 14:08:41 +04:00
John Preston 714dae054a Jump to giveaway link from gift code box. 2023-10-26 14:08:41 +04:00
John Preston 981babf302 Support giveaway information box. 2023-10-26 14:08:41 +04:00
John Preston 0926bb1288 Update API scheme on layer 166. 2023-10-26 14:08:40 +04:00
John Preston e13768ea50 Fix build with Xcode. 2023-10-26 14:08:40 +04:00
John Preston 6c19274eac Support external reply to channel posts. 2023-10-26 14:08:40 +04:00
John Preston 394883b986 Support replying to a different chat. 2023-10-26 14:08:40 +04:00
John Preston 4240568ea5 Pass FullReplyTo everywhere. 2023-10-26 14:08:40 +04:00
John Preston a77131dfd6 Add giveaway prize service message layout. 2023-10-26 14:08:40 +04:00
John Preston caca679336 Add quantity badge to giveaway message. 2023-10-26 14:08:40 +04:00
John Preston b08869abdb Support giveaway message layout. 2023-10-26 14:08:40 +04:00
John Preston d5147c9d28 Partially (italic+colored) support blockquotes. 2023-10-26 14:08:40 +04:00
John Preston 859e41f95a Use webview bots window size like on mobiles. 2023-10-26 14:08:40 +04:00
John Preston 0e45f3ebd9 Provide more theme keys to webview bots. 2023-10-26 14:08:40 +04:00
John Preston 7f9461820b Don't close webview after 'web_app_open_tg_link'. 2023-10-26 14:08:40 +04:00
John Preston e59a60b3b5 Handle new 'web_app_setup_settings_button' event. 2023-10-26 14:08:40 +04:00
John Preston 926aae6847 Update API scheme on layer 166. 2023-10-26 14:08:40 +04:00
John Preston 744c1b925e Handle GiftCode links, show Gift Link box. 2023-10-26 14:08:40 +04:00
John Preston 3fc9ed0ccb Update API scheme to layer 166. 2023-10-26 14:08:39 +04:00
John Preston 0b7d544615 Move Boost.regex definitions to cmake_helpers. 2023-10-26 14:08:39 +04:00
23rd d19baeace2 Fixed show finishing of info layers. 2023-10-26 14:08:39 +04:00
Ilya Fedin cd0f58fa65 Implement monochrome tray icon on Windows 2023-10-25 14:23:50 +04:00
John Preston 1f25301283 Beta version 4.10.5.
- Fix crash in replies to messages with spoilers.
- Enter boosts stats from three-dot menu.
2023-10-23 20:20:31 +04:00
23rd 0788f3d7b0 Increased size of arrow in chart point details widget. 2023-10-23 20:19:17 +04:00
23rd f93b7a60f8 Fixed display of button to show more boosts when boosts are too few. 2023-10-23 20:19:17 +04:00
23rd d0875a1178 Fixed sliders in footer in statistics info while restoring state. 2023-10-23 20:19:17 +04:00
23rd 29f8493a82 Removed error toast for async graphs. 2023-10-23 20:19:17 +04:00
23rd d4db838d43 Added message preview to message statistics. 2023-10-23 20:19:17 +04:00
23rd 0be2e8b672 Fixed statistics overview of old messages. 2023-10-23 20:19:17 +04:00
23rd 0aa1031402 Added ability to open message statistics from context menu. 2023-10-23 20:19:17 +04:00
23rd 53c73accd0 Fixed typo in custom shortcut for full screen in media viewer. 2023-10-23 20:19:17 +04:00
23rd be38800a70 Moved entry point for boosts statistic to channel context menu. 2023-10-23 20:19:17 +04:00
John Preston f2fa1cd70d Fix crash in non-clickable spoilers. 2023-10-23 08:59:29 +04:00
Ilya Fedin 5dfce5f7b2 Fix direct include of third-party library 2023-10-22 22:20:52 +04:00
Ilya Fedin 2b10e1e595 Update lib_base 2023-10-22 22:20:52 +04:00
Ilya Fedin eb1ef6d2a7 Fix getting the screen of viewer/pip
We need to workaround getting the actual screen for the parent by getting its position yet we need to get the setted screen for the widget itself as that's the screen used to compute the geometry
2023-10-22 22:20:52 +04:00
John Preston fde63ccb21 Beta version 4.10.4: Fix build with GCC. 2023-10-21 22:28:23 +04:00
John Preston b209683c8e Beta version 4.10.4.
- Statistics in channels and group chats.
- Nice looking code blocks with syntax highlight.
- Copy full code block by click on its header.
- Send a highlighted code block using ```language syntax.
2023-10-21 20:54:47 +04:00
23rd b6be799938 Fixed processing of error on chart zooming. 2023-10-21 11:42:04 +03:00
23rd ec8c634e9c Fixed display of arrow on point details widget when no values there. 2023-10-21 11:34:54 +03:00
23rd b7a9aa9a0e Fixed processing of empty chart on message statistic. 2023-10-21 11:34:08 +03:00
23rd 2ca489b2fb Added initial ability to save and restore state for boosts info. 2023-10-21 09:37:30 +04:00
23rd daf76c1bc2 Improved style of boosts info. 2023-10-21 09:37:30 +04:00
23rd d3aa0664a7 Moved boost limits content to divider. 2023-10-21 09:37:30 +04:00
23rd f61c22b065 Added initial boosts list to boost info. 2023-10-21 09:37:30 +04:00
23rd 8041941565 Added share label and buttons to boost info. 2023-10-21 09:37:30 +04:00
23rd 0aa1cd0b52 Removed three dots button from invite link label when menu is disabled. 2023-10-21 09:37:30 +04:00
23rd 1bbac5784b Added overview of boost info. 2023-10-21 09:37:30 +04:00
23rd f925a9e961 Added initial boosts info to layer. 2023-10-21 09:37:30 +04:00
23rd 8b6d475882 Added initial entry point for boosts statistic. 2023-10-21 09:37:30 +04:00
23rd d82c422ea1 Moved out boost limits content from boost box. 2023-10-21 09:37:30 +04:00
23rd d7e57e42d8 Added API support for boost status and boosts list. 2023-10-21 09:37:30 +04:00
23rd 7ee2ec13f0 Added Data class for boosts. 2023-10-21 09:37:30 +04:00
23rd a6e13a9f9e Added dummy layer class for boosts. 2023-10-21 09:37:30 +04:00
John Preston 66f73a5a64 Copy code blocks on header click. 2023-10-20 18:07:16 +04:00
John Preston 575684670c Improve quotes / code blocks geometries. 2023-10-20 17:59:34 +04:00
John Preston 9661bac876 Show blockquote icon. 2023-10-13 16:24:01 +04:00
John Preston 4b618a3578 Fix build with GCC. 2023-10-13 10:10:11 +04:00
John Preston 0e79bd3d12 Show nice padded code blocks. 2023-10-13 10:08:29 +04:00
John Preston dd692f2d26 Use simplified TextStyle. 2023-10-13 10:08:29 +04:00
23rd cba8387589 Fixed value types in struct data for drawing of charts. 2023-10-13 05:16:30 +03:00
23rd 01c2ade501 Fixed display of widget for point details on charts on retina. 2023-10-13 03:19:50 +03:00
23rd b9fa14139a Fixed possible wrong range of clamp in footer of chart widget. 2023-10-13 03:19:50 +03:00
23rd a8cb5419d6 Fixed available width for text in widget for details on pie charts. 2023-10-12 16:54:24 +03:00
23rd f775670938 Moved out some classes for widgets in statistical info to directory. 2023-10-12 16:51:13 +03:00
23rd c035a25aaa Added lottie icon to report box. 2023-10-12 04:42:27 +03:00
23rd 6cae088d1f Added ability to customize shortcut for full screen in media viewer. 2023-10-12 04:20:35 +03:00
23rd bee0534052 Added emoji to poll preview. 2023-10-12 03:50:59 +03:00
John Preston 3e11d44cac Closed alpha version 4.10.3.1. 2023-10-11 22:12:35 +04:00
23rd 4d269f6e97 Added animation to pie chart while changing its parts. 2023-10-11 22:12:35 +04:00
23rd e9496fb612 Improved concurrent API requests of async statistical charts. 2023-10-11 22:12:35 +04:00
23rd c9c82446cb Added support of weekly range of days to chart views. 2023-10-11 22:12:35 +04:00
23rd 0dec803177 Fixed incorrect position of sliders in chart footer in some cases. 2023-10-11 22:12:35 +04:00
23rd 2dc45ac907 Added ability to restore first public forwards in statistical info. 2023-10-11 22:12:35 +04:00
23rd a3d8db4ac0 Added ability to save state for recent posts in statistical info. 2023-10-11 22:12:35 +04:00
23rd aee6b6e224 Fixed possible crash in loading of recent posts for statistical info. 2023-10-11 22:12:35 +04:00
23rd 736efd4692 Added ability to cache loaded chart data of async graphs. 2023-10-11 22:12:34 +04:00
23rd ec5e846374 Added initial ability to save and restore state of statistical info. 2023-10-11 22:12:34 +04:00
23rd caf32cccd3 Moved out inner widget of statistical info to separate class. 2023-10-11 22:12:34 +04:00
23rd 594b2bc8f2 Improved style of recent posts in statistical info. 2023-10-11 22:12:34 +04:00
23rd d1ba270a8c Renamed file of utils for statistical lists. 2023-10-11 22:12:34 +04:00
23rd 2c1abd32bf Added list of members to statistical info of supergroups. 2023-10-11 22:12:34 +04:00
23rd 79662dffa4 Guarded cases when min and max values of charts are equal. 2023-10-11 22:12:34 +04:00
23rd a79e025151 Slightly refactored code for info of statistic for single message. 2023-10-11 22:12:34 +04:00
23rd 3fa168cee0 Added API class for requesting full statistic of single message. 2023-10-11 22:12:34 +04:00
23rd 9c1ef76e49 Added overview info to statistic for single message. 2023-10-11 22:12:34 +04:00
23rd 8497b83f7c Added list of public forwards to statistics of single message. 2023-10-11 22:12:34 +04:00
23rd 393c23ad12 Added initial ability to open statistics for single message. 2023-10-11 22:12:34 +04:00
23rd 01821cd779 Added second type of info layer for statistics. 2023-10-11 22:12:34 +04:00
23rd 3da733520d Added API support to request list of public forwards for single message. 2023-10-11 22:12:34 +04:00
23rd a605275157 Added icon to entry point for statistics. 2023-10-11 22:12:34 +04:00
23rd 8564e4d727 Added initial support of recent posts to statistical info. 2023-10-11 22:12:34 +04:00
23rd fc3acff5d6 Added support of percentages display to details widget. 2023-10-11 22:12:34 +04:00
23rd 515850ec9b Decreased height of header for charts without dates. 2023-10-11 22:12:34 +04:00
23rd 837b256778 Added support of dark theme to statistical charts. 2023-10-11 22:12:34 +04:00
23rd d16cab30d4 Fixed paint of rulers for stack chart view. 2023-10-11 22:12:34 +04:00
23rd fcdd7ecd61 Fixed paint glitch of selected bar on stack chart view. 2023-10-11 22:12:34 +04:00
23rd da9720530a Added ability to filter out lines from chart on demand from backend. 2023-10-11 22:12:34 +04:00
23rd 4a10d86a29 Fixed state losing in filter buttons on resize of statistics layer. 2023-10-11 22:12:34 +04:00
23rd 3b5a007db5 Added ability to hide footer of chart on demand from backend. 2023-10-11 22:12:34 +04:00
23rd 2479b56c3b Added ability to hide part of info on chart ruler when line is filtered. 2023-10-11 22:12:34 +04:00
23rd 0909e8bd08 Reduced line width in footer of charts. 2023-10-11 22:12:34 +04:00
23rd 6109ec70b8 Slightly improved format of dates on charts. 2023-10-11 22:12:34 +04:00
23rd c20bd17029 Moved zoom out button to right side above chart. 2023-10-11 22:12:34 +04:00
23rd 10e3115c39 Improved style of line filter buttons under charts. 2023-10-11 22:12:34 +04:00
23rd 3425b40746 Improved style of widget for details of selected points on chart. 2023-10-11 22:12:34 +04:00
23rd 42fc4fbb31 Improved style of sliders in footer from charts. 2023-10-11 22:12:34 +04:00
23rd f081917cd0 Improved style of rulers on charts in statistics. 2023-10-11 22:12:34 +04:00
23rd bdfb0ffe04 Improved style of statistic overview. 2023-10-11 22:12:34 +04:00
23rd 2b282c8d7d Improved header style for charts. 2023-10-11 22:12:33 +04:00
23rd 77d23ad182 Replaced statistics box with info layer widget. 2023-10-11 22:12:33 +04:00
23rd 79442fde97 Fixed incorrect search of index by value in statistical chart data. 2023-10-11 22:12:33 +04:00
23rd f8e80bc266 Improved limits of zoomed in slider in footer for stack linear chart. 2023-10-11 22:12:33 +04:00
23rd cb4c629178 Slightly refactored code for statistical charts. 2023-10-11 22:12:33 +04:00
23rd af0e11a1aa Moved out to td_ui all classes related to statistics. 2023-10-11 22:12:33 +04:00
23rd 8ac6aca315 Split out data for statistics and for charts. 2023-10-11 22:12:33 +04:00
23rd 2638e54181 Fixed available width for text in widget for point details on charts. 2023-10-11 22:12:33 +04:00
23rd db97db4aba Fixed crash on closing statistics with locally zoomed in chart. 2023-10-11 22:12:33 +04:00
23rd ded3f135bb Improved casting of limits for std::distance in stack linear chart view. 2023-10-11 22:12:33 +04:00
23rd be82df72e6 Fixed possible crash in stack linear chart view. 2023-10-11 22:12:33 +04:00
23rd 3fa6335b24 Added API support to request statistical graph for single message. 2023-10-11 22:12:33 +04:00
23rd 23868bf9cc Added ability to hide charts without data in statistics box. 2023-10-11 22:12:33 +04:00
23rd 5b67f4ac9b Added overview info to statistic of supergroup. 2023-10-11 22:12:33 +04:00
23rd 17fdef7d9e Added chart widgets for statistic of supergroups. 2023-10-11 22:12:33 +04:00
23rd cf82e12bf4 Added serialization from TL to statistics data for supergroups. 2023-10-11 22:12:33 +04:00
23rd 6f27aeef10 Added overview info to statistic of channels. 2023-10-11 22:12:33 +04:00
23rd df53ddf837 Added all chart widgets for statistic of channels. 2023-10-11 22:12:33 +04:00
23rd a3fd4f3fac Added label to box for statistic while loading. 2023-10-11 22:12:33 +04:00
23rd 24c0624704 Added support of default zoom to statistical charts. 2023-10-11 22:12:33 +04:00
23rd 33724be6ea Added support of theme colors for lines on statistical charts. 2023-10-11 22:12:33 +04:00
23rd 4624d34f68 Fixed display of outer points on linear chart. 2023-10-11 22:12:33 +04:00
23rd aeee016dc9 Fixed animation of line filtering in stack linear chart view. 2023-10-11 22:12:33 +04:00
23rd 8ded88baf5 Moved out control of animations for line filtering to separated class. 2023-10-11 22:12:33 +04:00
23rd bdd35a6e2b Added ability to handle mouse move to chart views. 2023-10-11 22:12:31 +04:00
23rd d9a08bb6a6 Fixed smooth paint of stack linear chart on move of footer slider. 2023-10-11 22:12:31 +04:00
23rd cee833f102 Fixed paint of selected X index in stack linear chart view. 2023-10-11 22:12:31 +04:00
23rd c19a527872 Fixed position of zoomed in slider in footer for stack linear chart. 2023-10-11 22:12:31 +04:00
23rd 6995fcafb5 Fixed mouse selection of pie chart with single part. 2023-10-11 22:12:31 +04:00
23rd b261d23645 Fixed display of zoomed days in pie chart view. 2023-10-11 22:12:31 +04:00
23rd 21c1ba7607 Fixed display of selected days in zoomed stack linear chart view. 2023-10-11 22:12:31 +04:00
23rd 5a2b8d06e3 Fixed paint of zoomed footer in stack linear chart view. 2023-10-11 22:12:31 +04:00
23rd 9046daa1a6 Fixed limit of days for zoom in stack linear chart view. 2023-10-11 22:12:31 +04:00
23rd 65ccb4059e Changed range of slider in footer from chart widget. 2023-10-11 22:12:31 +04:00
23rd d2578e9e47 Added minimal size of pie part for text on pie chart view. 2023-10-11 22:12:31 +04:00
23rd be17e2b919 Slightly refactored variables in stack linear chart view. 2023-10-11 22:12:31 +04:00
23rd 26c2e7f245 Improved round of percentages in pie chart view. 2023-10-11 22:12:31 +04:00