ThibG
8c38db77c1
[Glitch] Change vote results to display ex-aequo leading options as leading
...
Port 812a7828d1
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
ThibG
c8030f582c
[Glitch] Fix vote checkmark in poll results
...
Port 03d3481688
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
ThibG
404dbc5e96
[Glitch] Show user what options they have voted
...
Port front-end changes from c596206f8c
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
ThibG
073df8d25b
[Glitch] Fix “slow mode” issues
...
Port 7f7f8cac37
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
ThibG
a0c4e5b0fd
[Glitch] Fix expiring polls not being displayed as such in the WebUI
...
Port ba7a1f9f75
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Thibaut Girka
8605a25800
Fix wrong icons from last refactoring
...
Fix regressions from 6b45aa450b
5 years ago
Thibaut Girka
9b0b130299
Use the `Icon` component instead of directly using `i` tag
5 years ago
Thibaut Girka
6b45aa450b
Use upstream's Icon component
...
Rework the codebase to avoid unnecessary differences with upstream
5 years ago
Thibaut Girka
080bdf6949
Move “export” before decorators
...
As this is what upstream does.
See also https://github.com/tc39/proposal-decorators/issues/69
5 years ago
Eugen Rochko
f0806c8de1
[Glitch] Fix wrong sum of usage in hashtag component in web UI
...
Port b5651654f7
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Eugen Rochko
2e2795a887
[Glitch] Fix wrong pluralization in hashtag component in web UI
...
Port 17df40e74e
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Eugen Rochko
e7c79b11e5
[Glitch] Change hashtag component in web UI to show numbers for 2 last days
...
Port 8d61ef6dda
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Eugen Rochko
8f54a3efe0
[Glitch] Fix uncached media in web UI not being clickable
...
Port acf168f1a2
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Eugen Rochko
8ecdf54a75
[Glitch] Add "not available" label on unknown media attachments
...
Port 59d873e1e5
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
ThibG
7d388731dc
[Glitch] Restore hashtag suggestions from local tag history
...
Port d94a4763f6
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Eugen Rochko
f0c559250c
[Glitch] Fix emoji autosuggestions
...
Port 32d2260a8c
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Eugen Rochko
cc3ca37cda
[Glitch] Add autosuggestions for hashtags
...
Port 450b8a70a5
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Thibaut Girka
2743b33722
Fix imports importing modules from vanilla flavour instead of glitch
5 years ago
Eugen Rochko
2cdbfb39e8
[Glitch] Add profile directory to web UI
...
Port 79922ae20f
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Thibaut Girka
c544962ee9
Fix clicking on the new audioplayer opening the toot in detailed view
5 years ago
Eugen Rochko
478fa5f839
[Glitch] Fix more visual issues with the audio player
...
Port eaa759ffd4
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Eugen Rochko
024b9a24e0
[Glitch] Add audio player
...
Port f13761d84b
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Thibaut Girka
5de49ea272
Add option to rewrite mentions to mentioned user's username or acct
...
Fixes #666
5 years ago
Thibaut Girka
558aa2bcfd
[Glitch] Fix hidden statuses losing focus
...
Port d8153b99b3
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Eugen Rochko
284233f309
[Glitch] Fix "cancel follow request" button having unreadable text in web UI
...
Port aed7dca53b
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Eugen Rochko
37294ee595
[Glitch] Fix hashtag links always being lowercase
...
Port 277acb8772
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
ThibG
ceed029a36
[Glitch] Improve focus handling with dropdown menus
...
Port b169874828
to glitch-soc
5 years ago
Thibaut Girka
558628eb6d
Implement keyboard navigation in glitch-soc composer
5 years ago
ThibG
c9a755c8a0
[Glitch] Port changes to IconButton
...
Port changes to IconButton from 13811f4d7b
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
ThibG
5df5ab88f5
[Glitch] Improve dropdown menu keyboard navigation
...
Port 61f7ff6522
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
ThibG
2ff69c95ce
[Glitch] Trap tab in modals
...
Port 0da8fdc438
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Thibaut Girka
bd0a478252
Fix up try/catch block in invalid URL handling
5 years ago
Thibaut Girka
e6272f1af0
Remove href attribute of invalid links instead of crashing
5 years ago
ThibG
56734351d3
[Glitch] Change icon button styles to make hover/focus states more obvious
...
Port ebc78b6f2b
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Thibaut Girka
50553e097d
Remove link rewriting option as it is easily bypassable
5 years ago
Thibaut Girka
aad48a1d5b
Perform case-insensitive comparison for international domain names
...
Note: this uses `toLowerCase()` instead of doing proper case folding
5 years ago
Thibaut Girka
ac64cdae72
Perform case-insensitive comparison of non-International domain names
5 years ago
Thibaut Girka
69c03e0ef4
Ensure link rewriting setting changes are immediately applied
5 years ago
Thibaut Girka
9e2e7f6628
Handle Mastodon-generated links for targets starting with “www.” properly
5 years ago
Thibaut Girka
2f4cb78803
Add options to highlight misleading links in statuses
...
Fixes #1162
5 years ago
ThibG
1c3117f682
[Glitch] Change contrast of status links that are not mentions nor hashtags
...
Port 6701b9329d
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Thibaut Girka
df7b27753c
Fix links in status media having their title rewritten
5 years ago
Thibaut Girka
bf93e0c7c0
Handle animated emoji on mouse hover in CWs and poll options
5 years ago
ThibG
b01e5e372f
[Glitch] Play animated custom emoji on hover
...
Port 99b3dd5b00
to glitch-soc
5 years ago
Thibaut Girka
09a68ce895
Refactor DisplayName component to make it closer to upstream
5 years ago
Thibaut Girka
4daf8b17e3
Fix filtering behaviors
5 years ago
Thibaut Girka
1e3372feb9
Fix *another* typo and crash in StatusIcons
5 years ago
Thibaut Girka
0530c8d3b8
Fix typo and crash in StatusIcons
5 years ago
Thibaut Girka
5eca68102a
Shorten status icon tooltip text
5 years ago
Thibaut Girka
0b139b1df4
Add status icon for local-only toots
5 years ago
Thibaut Girka
85654916b7
Add tooltips to status icons
5 years ago
Eugen Rochko
f1de5093fb
[Glitch] Add option to disable real-time updates in web UI
...
Port c56e6fd7a1
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Thibaut Girka
9339b4634e
Minor refactoring
5 years ago
Thibaut Girka
59b8573907
Move the “Show why” button inline
5 years ago
Thibaut Girka
fde918bf92
Implement feature to add filtered phrases to content warnings
5 years ago
Thibaut Girka
6476b7dabe
Add options to configure filtering behavior
5 years ago
Thibaut Girka
67d1b0c997
Add a way to know why a status has been filtered, and show it anyway
5 years ago
Thibaut Girka
1181f84c79
Minor cleanup and maybe minor performance improvements
5 years ago
Thibaut Girka
bcbc9ed7f6
Use strict equality rather than Immutable.is as the compared props are values
5 years ago
Thibaut Girka
e4ffc42c8c
Assume children of visible IntersectionObserverArticle always change
...
This fixes multiple issues, while adding few computations
5 years ago
Thibaut Girka
b9ae9c7205
Revert to using upstream's optimisations
...
This *does* break things, as `shouldComponentUpdate` assume the
children to never change!
5 years ago
Thibaut Girka
081790f04b
Fix error boundary DOM
5 years ago
Thibaut Girka
edad7f2a6c
Fix some React warnings
5 years ago
ThibG
dd97db20d0
[Glitch] Add option to disable blurhash previews
...
Port 4b3d91dc2c
to glitch-soc
5 years ago
Thibaut Girka
b99f77bd31
Use a different icon for audio attachments
5 years ago
Eugen Rochko
a0abbbe8cd
[Glitch] Add media description as title to links of unknown media attachments
...
Port front-end changes from a266d7f1a2
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Eugen Rochko
b02325e820
[Glitch] Add audio uploads
...
Port front-end changes from d7e2f554fb
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Eugen Rochko
3a70752ab5
[Glitch] Fix some React warnings
...
Port 5c1a46bdcf
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago
Takeshi Umeda
2a1e7f779b
[Glitch] Improvement variable height in single column layout
...
Port 96ac52dabd
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago
Eugen Rochko
9cdb0fd8c5
[Glitch] Improvements to the single column layout
...
Port 6d4af23a69
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago
Eugen Rochko
04edd3fbdb
[Glitch] Add responsive panels to the single-column layout
...
Port a1bceb2cb6
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago
Eugen Rochko
aa9377f77a
[Glitch] Add single-column mode
...
Port f9ca3d62b6
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago
Thibaut Girka
765b25f1cf
Minor cleanup
6 years ago
Thibaut Girka
7dd32100c3
Add DM conversations mode similar to upstream
6 years ago
Jeong Arm
a473a7912b
[Glitch] Scroll to compose form when focus
...
Port 91ae2d1275
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago
Thibaut Girka
1501b142d2
Fix expanding status from menu modal in glitch-soc
...
Fixes #1085
6 years ago
slice
fb0489022c
Fix incorrect PropType in Glitch AutosuggestInput
6 years ago
Thibaut Girka
c1619a5c24
[Glitch] Add keyboard shortcut to hide/show media
...
Port 7ee189fa60
and 9e238804ea
to glitch-soc
6 years ago
Eugen Rochko
8050f86d04
[Glitch] Make the "mark media as sensitive" button more obvious in web UI
...
Port cc39785d45
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago
Eugen Rochko
3b9ff1fa34
[Glitch] Change account gallery in web UI
...
Port db73f8e585
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago
Eugen Rochko
87a7a9a4df
[Glitch] Add blurhash
...
Port front-end changes from a6d2fe7165
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago
Thibaut Girka
02bd678944
Add keyboard shortcut to collapse/uncollapse toots
6 years ago
Thibaut Girka
7ed89e9178
Add hotkey for bookmarking a toot
6 years ago
Thibaut Girka
b40841b488
Hide suggestions by default
...
They will be enabled if the input has focus
6 years ago
Thibaut Girka
4155a1556a
Add emoji suggestion to poll options
6 years ago
Thibaut Girka
b35b38f4ea
Add suggestions in CW field
6 years ago
Thibaut Girka
ce2da44c2c
Rename status__text to status__content__text for consistency with upstream
6 years ago
Thibaut Girka
fea727c61a
Do not switch to italic for status media buttons
6 years ago
Thibaut Girka
08faf16d66
ComposerTextarea → AutosuggestTextarea
6 years ago
Eugen Rochko
7acc035cbe
[Glitch] Show suggested follows on search screen in mobile layout
...
Port 541fda5fc8
to glitch-soc
6 years ago
Thibaut Girka
619d55358f
Shift+click on column Back button to return to last pinable column
6 years ago
Thibaut Girka
a4db307b6a
When selecting a toot via keyboard, ensure it is scrolled into view
6 years ago
Thibaut Girka
ae88690fa6
Fix opening/closing gifv sometimes making the timeline scroll
6 years ago
ThibG
3964cc964d
Merge pull request #981 from ThibG/glitch-soc/merge-upstream
...
Merge upstream changes
6 years ago
ThibG
729b3841c3
[Glitch] Update poll remaining time just like with status timestamps
...
Port 6e024f0d7a
to glitch-soc
6 years ago
Thibaut Girka
b83e693c40
Do not handle clicks in detailed status content
6 years ago
ThibG
5ca976c776
[Glitch] Add a “Block & Report” button to the block confirmation dialog
...
Port 36a6089a22
to glitch-soc
6 years ago
Eugen Rochko
f6767a00d4
[Glitch] Add `lang` attribute to statuses in web UI
...
Port JS changes from 0e730974cd
to glitch-soc
6 years ago
ThibG
5c8d15326f
[Glitch] Add support for custom emojis in poll options
...
Fixes #956
Port 2a211ff18c
to glitch-soc
6 years ago
ThibG
0381a07606
[Glitch] Add UI for enabling/disabling poll notifications
6 years ago
Thibaut Girka
043978a20e
Remove leftover console.log
6 years ago
ThibG
91045bef61
Merge pull request #953 from ThibG/glitch-soc/merge-upstream
...
Merge upstream changes
6 years ago
Thibaut Girka
3a7fb657f3
[Glitch] Add support for poll ending notifications
...
Port front-end parts of 11ce444b8b
to glitch-soc
6 years ago
ash lea
00bc35891b
add local setting to auto reveal media behind cw
6 years ago
Eugen Rochko
b9a799c343
[Glitch] Fix NaN in Poll component
...
Port 19cccea89a
to glitch-soc
6 years ago
ThibG
6b4eb1ac96
[Glitch] Disable the underlying button element when an ItemButton is disabled
...
Port 365f875f57
to glitch-soc
6 years ago
Thibaut Girka
8d82e153f3
Add an icon to highlight polls behind a Content Warning
6 years ago
Eugen Rochko
9844b44e99
Fix poll options not rendering text after vote/refresh
...
Port 9cae3a3b48
to glitch-soc
6 years ago
Eugen Rochko
3ce4d88e6c
Render unicode emoji in polls using emoji pack
...
Port 73d3bb4a2c
to glitch-soc
6 years ago
Thibaut Girka
bd97259b57
Fix toots opening in dynamic column when trying to interact with them
...
This fixes inline preview cards and polls, preventing them from opening
the toot in detailed view when clicking on an interactive element.
6 years ago
Eugen Rochko
ec787e4205
Fix various issues in polls
...
Port front-end changes from 1321801577
to glitch-soc
6 years ago
ThibG
25ef8dffbc
Display closed polls as such
...
Port 674d232cd1
to glitch-soc
6 years ago
ThibG
469e5af537
Fixes to the polls UI
...
Port 4987602069
to glitch-soc
6 years ago
Eugen Rochko
c156b6d696
Fix web UI crash on page load when detailed status has a poll
...
Port 21246d861e
to glitch-soc
6 years ago
Eugen Rochko
342d9d25bb
Add polls
...
Port front-end parts of 4a3acdc916
to glitch-soc
6 years ago
Thibaut Girka
fa1b843522
Fix non-numeric account identifiers leading to /web/accounts/NaN
...
I'm not sure what purpose these “+” served?!
6 years ago
Thibaut Girka
09c6d1c534
[Glitch] Change buttons on timeline preview to open the interaction dialog
...
Port 6534acc019
to glitch-soc
6 years ago
Thibaut Girka
dabbbe1e71
[Glitch] Fix occasional crash in detailed toot view
...
Port f9a338b473
to glitch-soc
6 years ago
Thibaut Girka
04d7200ba4
[Glitch] Add "copy link" item to status action bars
...
Port 12cb694634
to glitch-soc
6 years ago
Thibaut Girka
d486152092
Handle deletion of filtered toots
6 years ago
Thibaut Girka
eb6dfe4d8b
Minor fix to timeline jump avoiding behavior
6 years ago
Thibaut Girka
7b23d3c657
Adjust scroll when statuses above the current scroll position are deleted
6 years ago
Thibaut Girka
f24bd9d629
Adjust scroll if previewCard appeared
6 years ago
Thibaut Girka
3d5ef5c497
Avoid two-step rendering of statuses as much as possible
...
Cache width shared by Video player, MediaGallery and Cards at the
ScrollableList level, pass it down through StatusList and Notifications.
6 years ago
Thibaut Girka
b05cda87f8
Refactor intersection observer article code
6 years ago
Thibaut Girka
18a540da9f
Cleanup redundant markup for hidden statuses
6 years ago
Thibaut Girka
f2b7ab4523
Hide items rendered out-of-frame (once they have been rendered at least once)
6 years ago
Thibaut Girka
a9078c18eb
Fix CW unfolding not triggering re-layout in public hashtag page
6 years ago
Thibaut Girka
fba0f7dae7
[Glitch] Replace unlock-alt icon with unlock
...
Port 4fb1d8129d
to glitch-soc
6 years ago
Thibaut Girka
8219940214
[Glitch] Redesign public hashtag page to use a masonry layout
...
Port 380b246728
to glitch flavour
6 years ago
Thibaut Girka
426673f17a
[Glitch] Make hashtag search results link to the hashtag URL
...
Port 65c546f9b0
to glitch-soc
6 years ago
Thibaut Girka
fc64d1d03e
[Glitch] Stop gifv timeline preview explicitly when open the media gallery
...
Port 2a113f0185
to glitch-soc
6 years ago
Thibaut Girka
e495dc0134
[Glitch] refactored account.js
...
Port 695de5d134
to glitch-soc
6 years ago
Thibaut Girka
ba82ff7c12
[Glitch] Only consider mouse move in scrolling on item insertion
...
Port 4e067b1bd0
to glitch-soc
6 years ago
Thibaut Girka
069657286f
[Glitch] Identify manual scrolling to cancel scroll to top reset on mouse idle
...
Port 59ecfbd28c
to glitch-soc
6 years ago
Thibaut Girka
d768d0b851
[Glitch] Cancel list scroll reset after mouse move on wheel scroll
...
Port 54bc905a57
to glitch-soc
6 years ago
Thibaut Girka
f4191a8a00
[Glitch] Temporarily hold timeline if mouse moved recently
...
Port 6e72dda7ef
to glitch-soc
6 years ago
Thibaut Girka
e5a25656e8
[Glitch] Fix unnecessary loadMore calls when the end of a timeline has been reached
...
Port 240d41b3ca
to glitch flavour
6 years ago
Thibaut Girka
d9a6c27f3b
Fix composer not getting focus after reply confirmation dialog
...
The modal-handling code gives back focus to the element focused when the
modal opened. However, in the case of reply confirmation, it would do so
*after* the composer code itself requested focus.
6 years ago
Thibaut Girka
7d437f7fc9
[Glitch] Back to the getting-started when pins the timeline
...
Port f579f1b10e
to glitch-soc
6 years ago
Thibaut Girka
677f430f23
[Glitch] Always display tab navigation on local/federated timeline even when empty
...
Port bc464619f3
to glitch-soc
6 years ago
Thibaut Girka
9fd8019854
[Glitch] Fix “load more” button when no data has been fetched
6 years ago
Thibaut Girka
50f8e59820
[Glitch] Do not display empty message when the list is known to have more elements
6 years ago
Thibaut Girka
a68d1d0ee2
Minor cleanup in ScrollableList component
6 years ago
Thibaut Girka
c37a81a5d7
Do not hardcode preferences link, pleroma doesn't have it
6 years ago
Thibaut Girka
cb2822b68a
Add error boundary component to catch Web UI crashes
6 years ago
Thibaut Girka
e80f770118
Render placeholder instead of image when MediaGallery container width isn't known
6 years ago
Thibaut Girka
e7c0ad6ac4
Move URLs to backend in their own file
6 years ago
Thibaut Girka
ca163ec35d
In detailed status view, take displayMedia setting into account when changing media
...
Fixes #819
6 years ago
Thibaut Girka
b22501154e
[Glitch] Prepend account header even when status list is empty
...
Partially port bc464619f3
6 years ago
Thibaut Girka
f40a7b2616
[Glitch] Use local instead of global loading indicator for timelines, account timelines
...
Port 9a32abcbac
to glitch-soc
6 years ago
Thibaut Girka
8bef422043
Add a local setting for inline preview cards
6 years ago
Thibaut Girka
4fe81a99c6
Add a “link” status icon for toots with a preview card
6 years ago
Thibaut Girka
18870c45f1
[Glitch] Include preview cards in status entity in REST API
...
Port cf2ab9c394
to glitch-soc
6 years ago
Thibaut Girka
1a63a8f74e
[Glitch] Surround mid-text display names with bdi tags
...
Port 19aaf0e99f
to glitch-soc
6 years ago
Thibaut Girka
9614abc713
Update mediaGallery component's width when opening CWs
6 years ago
Thibaut Girka
b4bab7eb35
Do not scroll timelines when *closing* media modals
...
Media modals push an history state so that pressing back on mobile closes them.
We made sure to not scroll when opening them, but not when *closing* them,
which caused some issues in rare cases.
6 years ago
Thibaut Girka
1476e653ec
Make hidden media clickable in account media gallery
6 years ago
Thibaut Girka
536d95ae7c
[Glitch] Add support for new display_media setting
...
Port bb8afc4608
to glitch-soc
[API] [vanilla required] [glitch-soc optional] initial_state show_sensitive_media boolean changed to show_media string with options "default", "hide_all", "show_all"
6 years ago
Spencer Alves
981a41ca2c
Add option to hide action bar in collapsed toots
6 years ago
David Yip
d698c06aa8
Merge pull request #681 from ThibG/glitch-soc/fixes/accessibility
...
Port various accessibility improvements from upstream
6 years ago
Thibaut Girka
6af379cf53
Prevent clicks on video from initiating selections
6 years ago
Thibaut Girka
85befb90b2
Improve keyboard VS mouse navigation of dropdown menus
6 years ago
Thibaut Girka
44192cb9d2
Only focus first item of dropdown if it was opened via keyboard
6 years ago
Thibaut Girka
d465da45b4
Pause video playback if toot is collapsed or CWs folded ( fixes #146 )
6 years ago
Thibaut Girka
8099901c9a
Disable focus points for letterboxed media
6 years ago
Thibaut Girka
4567e42341
Media gallery styling closer to upstream's
6 years ago
Thibaut Girka
d83eb4f9c7
[Glitch] Do not override ctrl/cmd+click in media gallery
6 years ago
Thibaut Girka
34ecec8c85
Add admin links to status and account menus ( fixes #673 )
...
If the current logged-in user is an admin, add quick links to the admin
interface in account and toot dropdown menu. Suggestion by @ashkitten
6 years ago
Thibaut Girka
7ed6f60a74
Fixes columns scrolling to top when opening media modal
...
Fixes #700
6 years ago
Thibaut Girka
46166b8676
[Glitch] Give focused status a sensible aria-label for screen readers
...
Port f922c683ce
to glitch-soc
6 years ago
Thibaut Girka
d4315a279d
[Glitch] Fix off-by-one error in aria-posinset
...
Port 8793403289
to glitch-soc
6 years ago
Thibaut Girka
4aa1be379e
[Glitch] Add aria-label to column regions
...
Port f530792615
to glitch-soc
6 years ago
Thibaut Girka
ff18ba0d2b
Add option to not automatically unfold content warnings matching a regexp
...
Fixes #678
6 years ago
Thibaut Girka
02c32ad7af
Add a setting to automatically unfold all content warnings
6 years ago
Thibaut Girka
a3afd0791d
[Glitch] Show compose form on delete & redraft when in mobile layout
...
Port 97a2958ba1
to glitch-soc
6 years ago
Thibaut Girka
11dc01f83e
[Glitch] Add CSS class to replies
...
Port ae562f4d2b
to glitch-soc
6 years ago
Thibaut Girka
1295515bd4
[Glitch] Add missing video descriptions
...
Port 5b773a2c9c
to glitch-soc
6 years ago
Thibaut Girka
c4a536917c
[Glitch] Update state when opened dropdown is unmounted
...
Port dcd3544d153dd2a3961bd0d2214ed01a902a66da to glitch-soc
6 years ago
Thibaut Girka
8db23dd477
Add glitch-soc local setting to display reply counters
...
Defaults to false.
6 years ago
Thibaut Girka
e48709fb0e
[Glitch] Display replies count in web UI
...
Port 6a62016a49
to glitch-soc
6 years ago
Thibaut Girka
30d88cee78
Add hashtag trendline support to glitch-soc flavour
...
Port Mastodon's hashtag stats thing to glitch-soc.
This doesn't change how hashtags are ordered, and doesn't add a trending
hashtags section, but it does change how hashtag searches are rendered,
displaying a trend line alongside each hashtag.
6 years ago
Thibaut Girka
ac67589755
Don't prevent opening links in tabs with keyboard modifiers
...
Ctrl+click usually allows opening a link in a new tab. This
was prevented for hashtag or user links in toots.
6 years ago
Thibaut Girka
28cdf3da09
[Glitch] Show media modal on public timeline
...
Port c1427f90f6
to glitch-soc
6 years ago
Thibaut Girka
ca256cca22
Port profile redesign to glitch-soc
...
Port 13df3889f0
to glitch-soc
6 years ago
Thibaut Girka
4e8532cc1a
Allow modals to be closed by pressing “back”
6 years ago
Thibaut Girka
0ef509c27a
Get rid of Collapsable, use CSS instead
...
Change inspired by a6ddd1aba2
6 years ago
Thibaut Girka
4850a2348c
Add client-side custom filter support to glitch-soc
...
Port d878e3e945
to glitch-soc,
but without dropping support for regexp filters yet.
6 years ago
Thibaut Girka
a68e7db2fb
[Glitch] Fix Chrome issue with sizes="0px"
6 years ago
Thibaut Girka
d8c35a6b85
[Glitch] Add redraft function
...
Port 16173535d9
to glitch-soc
7 years ago
David Yip
4b7ceed3f0
Merge pull request #509 from ThibG/glitch-soc/fixes/router-history-navigation
...
Use history.state to decide whether we should goBack() or go to / (fixes #247 )
7 years ago
David Yip
1a0491b3cf
Merge pull request #519 from ThibG/glitch-soc/fixes/status-node-null
...
Prevent a rare crash when a status' root node is undefined
7 years ago
David Yip
c10df6cf00
Merge pull request #501 from ThibG/glitch-soc/features/red-bookmarks
...
Make active bookmarks red (fixes #493 )
7 years ago
Spencer Alves
559ce5c098
Adjust spacing between status icons
7 years ago
Spencer Alves
c86cd2041d
Merge branch 'glitch' into thread-icon
7 years ago
Thibaut Girka
93e6984be8
Make active bookmarks red ( fixes #493 )
7 years ago
Thibaut Girka
37dc96b71b
Use history.state to decide whether we should goBack() or go to / ( fixes #247 )
...
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.
7 years ago
Thibaut Girka
0174ca8679
Prevent a rare crash when a status' root node is undefined
7 years ago
Thibaut Girka
febaae28f4
[Glitch] Improve load gap styling in web UI
...
Port 93a1afb66c
to glitch-soc
7 years ago
Thibaut Girka
7a953db0b6
[Glitch] Allow clients to fetch statuses made while they were offline
...
Port 34cb1a5461
to glitch-soc
7 years ago