about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/components
AgeCommit message (Collapse)Author
2018-06-01Merge pull request #501 from ThibG/glitch-soc/features/red-bookmarksDavid Yip
Make active bookmarks red (fixes #493)
2018-05-31Adjust spacing between status iconsSpencer Alves
2018-05-31Merge branch 'glitch' into thread-iconSpencer Alves
2018-05-31Make active bookmarks red (fixes #493)Thibaut Girka
2018-05-31Use history.state to decide whether we should goBack() or go to / (fixes #247)Thibaut Girka
So far, glitch-soc used history.length to decide whether to call `goBack()` or go to / in order to not leave the webUI. This made clicking the “Back” button go to the “Getting started” column instead of going back in the browser's history when such an action would leave the web UI, but also when: - The WebUI is refreshed (F5) - A tab is restored - The history length reaches its maximum (e.g., 50 in Firefox) This commit fixes these shortcomings by checking `window.history.state`. Indeed, we only want to go back in the browser's history when the current location has been reached from within the WebUI, which only happens via `pushState` as far as I know. Since browser store the serialized state in the browser history, this also survives page reload and session restoration.
2018-05-31Prevent a rare crash when a status' root node is undefinedThibaut Girka
2018-05-29[Glitch] Improve load gap styling in web UIThibaut Girka
Port 45c9f16f714dd6de15391b5e2ae2bf0d30ef20fb to glitch-soc
2018-05-29[Glitch] Allow clients to fetch statuses made while they were offlineThibaut Girka
Port 9a1a55ce526c956ac6b35897d483c316b7ad4394 to glitch-soc
2018-05-27[Glitch] Replace onScrollToBottom with onLoadMoreThibaut Girka
Port b0664a5e6cee9be602098fb9a2f98a9e61b2ab9b to glitch-soc
2018-05-21Fix width only being set for standalone mediaThibaut Girka
2018-05-21[Glitch] Use real container width in MediaGallery srcSetThibaut Girka
Port 22e067bf5c30a5aa7aec4b3c17dc112cacbe7873 to glitch-soc
2018-05-18Prevent click on video from opening detailed tootThibaut Girka
2018-05-18Widen clickable area of tootsThibaut Girka
2018-05-17[Glitch] Open video modal on public UIThibaut Girka
Port d9b2f84c92f24067b12be81837240bf6c8930236 to glitch-soc
2018-05-16[Glitch] Feature: Direct message from StatusesThibaut Girka
Port 904a2479dd2085dfc94f33746ad6f7a755e72609 to glitch-soc
2018-05-11Fix root modal's keyup handling (Fixes #478)Thibaut Girka
2018-05-07Add an extra icon to indicate that a status is part of a conversationSpencer Alves
2018-05-07Hide media in report modal regardless of whether they are marked sensitiveThibaut Girka
The rationale behind this is that if the user wants to report violent media, they might not want to see it repeatedly. The “sensitive” property is still kept, displaying different messages for hidden media depending on whether they are marked as sensitive.
2018-05-06Revert "[Glitch] Prevent timeline from moving when cursor is hovering over it"Thibaut Girka
This reverts commit 553cc2824040ba0b745644eb4633840129ffc13b.
2018-05-06Revert "[Glitch] Do not re-position scroll when loading more (inserting ↵Thibaut Girka
items from below)" This reverts commit 32974a58dcf5a8db39a9c0378f923a40d787cad3.
2018-05-06Merge pull request #462 from ThibG/glitch-soc/features/dropdowns-accessibilitybeatrix
Improve accessibility of toot dropdown menu
2018-05-05[Glitch] Do not re-position scroll when loading more (inserting items from ↵Thibaut Girka
below) Port 8c601b54ccf530bd193b4500fee439aa4e9162d0 to glitch-soc
2018-05-05[Glitch] Prevent timeline from moving when cursor is hovering over itThibaut Girka
Port 58852695c8ec490239ed3812f82971f8c1e6c172 to glitch-soc
2018-05-05Improve accessibility of toot dropdown menuThibaut Girka
* Prevent Enter keypresses from triggering dropdown display toggle twice * Give focus to first/selected item of dropdown menus * Implement keyboard navigation in generic dropdown menus Partial port from ef7d64c80109074b39983b50cc8cf701c337cdcc to glitch-soc
2018-05-02[Glitch] Improve relative timestamps in web UIThibaut Girka
Port 660cb058e18f8607a0044b5a89614e1caeb07ed9 to glitch-soc flavour
2018-04-27Use new getDerivedStateFromProps instead of deprecated componentWillReceivePropsThibaut Girka
As we are already using the new getSnapshotBeforeUpdate lifecycle method, we apparently cannot use the deprecated ones at all in this component.
2018-04-27Tentative fix for #446Thibaut Girka
2018-04-26Merge pull request #401 from ThibG/glitch-soc/features/unfold-threadbeatrix
Port the “unfold thread” feature from Mastodon's UI to glitch-soc flavour
2018-04-22[Glitch] Fix the hot key (j, k) does not function correctly when there is a ↵Thibaut Girka
pinned toot in account timeline. Port 23106844a10606dd0e04c8382281d5ff80d4bdd9 to glitch-soc
2018-04-22Add show more/less toggle for entire threads in web UIThibaut Girka
Inspired from b6003afcdb1b89eb967a2b211e3b4e26aed9ac9d but using component properties instead of redux store for hidden/revealed state.
2018-04-22Refactor the infamous three-valued boolean into two booleans, trying to ↵Thibaut Girka
simplify the logic
2018-04-22[Glitch] Fix button hiding when header title is too longThibaut Girka
Port ffb2b8ef8c3c7cd6f57860240378fac8d5964105 to glitch-soc
2018-04-22[Glitch] Fix column headers accessibilityThibaut Girka
Port 08e4c78e78358c2847967e9cc34b4a6497be97e2 to glitch-soc. SCSS fix inspired by 69f13e7bca90f4855e05a49dd69bba66f843134a.
2018-04-22Merge pull request #432 from ThibG/glitch-soc/features/reblog-privatebeatrix
Glitchsoc-specific changes to allow boosting own private toots
2018-04-22Merge pull request #427 from ThibG/glitch-soc/fixes/scroll-behaviorbeatrix
Improve ScrollableList behavior
2018-04-22Merge pull request #435 from ThibG/glitch-soc/features/public-modalsbeatrix
[Glitch] Show media modal on public pages
2018-04-20[Glitch] Show media modal on public pagesThibaut Girka
Port ff7941e652af1d54d9c991254556e7932a8b183c to glitch-soc
2018-04-19Fix auto-collapsed toots making the TL jump (fixes #417)Thibaut Girka
2018-04-19Clean up dead codeThibaut Girka
2018-04-19Use React's new lifecycles for scrollable listsThibaut Girka
2018-04-19Glitchsoc-specific changes to allow boosting own private tootsThibaut Girka
2018-04-19Only compute height dynamically for standalone mediaThibaut Girka
This prevents changing the status' height and triggering jumps in the TL
2018-04-19[Glitch] Center thumbnails on focus pointThibaut Girka
Port the display part of the following commits to glitch-soc: * 90f12f2e5a41115a9a756f9dd38054736080d4f9 * b170627ceb8838c358aef1fcca9673ce4aa61ab8 * 11697d68942db7b97a4c7384e4fb4148a97b9122 * 56eb5c3f344f0342ac6f26a05748bc21c585a729
2018-04-19Use javascript to set MediaGallery height automaticallyThibaut Girka
2018-04-19Revert some glitch-specific refactoringThibaut Girka
In order to keep my sanity when porting changes between glitch-soc and upstream.
2018-04-14[Glitch] Responsively enforce 16:9 ratio on video thumbnails in web UIThibaut Girka
Port the video-player part of 036dd98abb1fe6ae1d25ff0f3ecffe4dd9a79ea3 to glitch-soc. MediaGallery part ignored since it has diverged quite a bit. This fixes #423
2018-04-14[Glitch] Fix media button typeThibaut Girka
Port ecdac9017efceb77da155bf85d5e7d6084382da2 to glitch-soc
2018-04-14[Glitch] Handle preference to always display sensitive mediaThibaut Girka
Port the UI part of 76f3d5d16be2fb97d2252909589510165ec05e12 to glitch-soc
2018-04-13Merge pull request #419 from ThibG/glitch-soc/features/bookmarksDavid Yip
Bookmarks
2018-04-11Add glitch-soc front-end support for bookmarksThibaut Girka
Unlike boosts and like, there is no confirmation dialog as misclicking can be recovered without another user seeing it.