ThibG
c07cca4727
Only scroll to the compose form if it's not horizontally in the viewport ( #11246 )
...
Avoids jumping the scroll around vertically when giving it focus and
editing long toots.
5 years ago
ThibG
32a4494926
Scroll to compose form rather than reply indicator on focus ( #11182 )
5 years ago
ThibG
01e362316c
Do not scroll in the compose panel on single-column ( #11093 )
6 years ago
ThibG
b4d67fe57a
Fix ordering of keyboard access between CW field, textarea and emoji picker ( #11066 )
6 years ago
Eugen Rochko
cc8f6b3cda
Fix some React warnings ( #10989 )
6 years ago
Takeshi Umeda
c402c291f4
Fix emoji picker being always displayed ( #10979 )
...
* Fix emoji picker being always displayed
* Remove duplicate content with other pull-requests
6 years ago
Jeong Arm
8f3c32e29c
Scroll to compose form when focus ( #10970 )
...
* Scroll to compose form when focus
* Get rid of constructor
6 years ago
Takeshi Umeda
d93b82af87
Improvement variable height in single column layout ( #10917 )
...
* Improvement variable height of compose and navigation panel in single column layout
* Fix wrong quotes and missing commas
6 years ago
ThibG
f2be71c293
Add emoji suggestions to CW and poll option fields ( #10555 )
...
* Refactor selectComposeSuggestion so that different paths can be updated
* Add suggestions in CW field
* Add emoji suggestion to poll options
* Attempt to fix CSS
* Hide suggestions by default
They will be enabled if the input has focus
6 years ago
Eugen Rochko
05ef3462ba
Make the "mark media as sensitive" button more obvious in web UI ( #10673 )
...
* Make the "mark media as sensitive" button more obvious in web UI
* Use eye-slash icon instead of eye icon to mean "hide"
6 years ago
ThibG
bdec58b514
Minor code cleanup ( #10613 )
6 years ago
Eugen Rochko
d97cbb0da6
Add UI for creating polls ( #10184 )
...
* Add actions and reducers for polls
* Add poll button
* Disable media upload if poll enabled
* Add poll form
* Make delete & redraft work with polls
6 years ago
Hinaloe
0e513ff862
Don't focus spiler input when disabled spoiler ( #10017 )
6 years ago
Eugen Rochko
1f95190202
Refactor icons in web UI to use Icon component ( #9951 )
...
* Refactor uses of icons to an Icon component in web UI
* Refactor options passed to the Icon component
* Make tests work with absolute component paths
6 years ago
ThibG
4297de34cf
Split out is_changing_upload from is_submitting ( #9536 )
...
There is no reason to disable the composer textarea when some media metadata
is being modified, nor is there any reason to focus the textarea when some
media metadata has been modified (prevents clicking one image's description
field right after having modified another).
6 years ago
Eugen Rochko
01c169e796
Fix JS error when posting from page without router context ( #9073 )
...
Fix #9057
6 years ago
Eugen Rochko
87fdd139b8
Do not push DMs into the home feed ( #8940 )
...
* Do not push DMs into the home feed
* Show DMs column after sending a DM, if DMs column is not already shown
6 years ago
Eugen Rochko
3d7f68c273
Revert Font Awesome 5 upgrade ( #8810 )
...
* Revert "Fix some icon names changed by the Font Awesome 5. (#8796 )"
This reverts commit 3f9ec3de82
.
* Revert "Migrate to font-awesome 5.0. (#8799 )"
This reverts commit 8bae14591b
.
* Revert "Fix some icons names, unavailable in fontawesome5 (free license). (#8792 )"
This reverts commit b9c727a945
.
* Revert "Update the icon name changed by the Font Awesome 5. (#8776 )"
This reverts commit 17af4d27da
.
* Revert "Add bot icon to bot avatars and migrate to newer version of Font Awesome (#8484 )"
This reverts commit 4b794e134d
.
6 years ago
Naoki Kosaka
8bae14591b
Migrate to font-awesome 5.0. ( #8799 )
6 years ago
Yamagishi Kazutoshi
0ddbccf7e6
Upgrade Babel to version 7.0.0 ( #5925 )
6 years ago
Eugen Rochko
09147186b7
Fix regression where CW is focused on reply ( #7811 )
7 years ago
Lain Iwakura
6bae583d2f
Handle character limit in initial state in frontend.
7 years ago
kedama
a99179d31f
Control the focus when clicking the "CW" button. ( #7776 )
...
* Focus to the spoiler text when CW turns on.
* Focus back to the textarea when CW turns off.
7 years ago
Mélanie Chauvel (ariasuni)
691107263c
Put the CW field between the toot we are replying to and the toot field ( #7508 )
...
* Remove Collapsable and use CSS instead
* Put the CW field between the toot we are replying to and the toot field
* Use same spacing between all fields in the composing column
7 years ago
ThibG
d8864b9e9d
Fix caret position after selected suggestion and media upload ( #7595 )
...
* Fix media upload reseting caret position to last inserted emoji
* Fix caret position after inserting suggestions (fixes #6089 )
7 years ago
ThibG
39d70f375f
Remove unneeded code now that attachment URL isn't appended to toots ( #7593 )
7 years ago
abcang
727917e91e
Fix caret position after inserting emoji ( #7167 )
7 years ago
Emelia Smith
6a895e1ab3
Fix: Prevent submission using same logic as submit button disabling. ( #6993 )
...
This prevents submission through ctrl/cmd+enter when the submit button is disabled.
7 years ago
Eugen Rochko
cfa9b6e13a
Remove text requirement when media attached from statuses ( #6672 )
7 years ago
Lynx Kotoura
8bf4cc72b6
Excahnge the order of spoiler-input and unlocked warning ( #6015 )
...
* Excahnge the order of spoiler-input and unlocked warning
* Fix trailing whitespace
7 years ago
Lynx Kotoura
0aeec0390b
Redesign tootbox ( #5919 )
...
* Redesign tootbox
* Move counter into compose-form__buttons-wrapper
Change font and remove shadow
Refactor sass codes of compose-form
7 years ago
kibigo!
e19fc6a9f8
Restore vanilla components
7 years ago
kibigo!
45c44989c8
Forking glitch theme
7 years ago
Lain Iwakura
ca5440b93d
Rename MAX_CHARS to MAX_TOOT_CHARS to be more specific.
7 years ago
Lain Iwakura
dae8916544
Code style fixes.
7 years ago
Lain Iwakura
d11b1a1aa7
Handle character limit in initial state in frontend.
7 years ago
Nolan Lawson
b254e6ca5f
Refactor initial state: "me" ( #5563 )
...
* Refactor initial state: "me"
* remove "me" from reducers/meta.js
7 years ago
Ondřej Hruška
516eeeb43d
option to add title to <Button>, use for toot buttons ( #197 )
7 years ago
Ondřej Hruška
d589dd7cd0
Compose buttons bar redesign + generalize dropdown ( #194 )
...
* Generalize compose dropdown for re-use
* wip stuffs
* new tootbox look and removed old doodle button files
* use the house icon for ...
7 years ago
Ondřej Hruška
eb907a5bab
formatting fix for eslint
7 years ago
David Yip
39c9cdf7fe
Remove unused filesAttached property.
7 years ago
Ondřej Hruška
4421f6598f
Fix dual toot button wrong behavior after compose re-design
7 years ago
Ondřej Hruška
26f08f0791
double-decker tootbox
7 years ago
Ondřej Hruška
33e806217f
Initial doodle support
7 years ago
Eugen Rochko
d6fe0954e3
Make emoji autosuggestions immediate, usernames appear sooner ( #5149 )
...
* Do not debounce emoji search
* Make autosuggestions appear sooner
7 years ago
Ondřej Hruška
8a24ad5828
Revert "Merge pull request #149 from glitch-soc/mojon-suggest"
...
This reverts commit fa3587645d
, reversing
changes made to 15c9c2fd7e
.
7 years ago
Ondřej Hruška
210e6776fc
Fix intl warning with disabled secondary toot btn
...
- Moved building the secondary btn text into the if to avoid trying to translate 'none' visibility
7 years ago
Ondřej Hruška
1924a71b5a
Make secondary toot button work nicer with file attachments & revert to the original behavior if it's disabled
7 years ago
Ondřej Hruška
67f8277526
Add secondary toot button (opt-in) ( #153 )
...
Add secondary toot button + other toot button enhancements.
Squashing so it's easy to revert if needed.
7 years ago
Eugen Rochko
66126f3021
Add custom emojis to the emoji picker ( #5052 )
7 years ago