about summary refs log tree commit diff
path: root/app/assets/javascripts/components/features/compose
AgeCommit message (Collapse)Author
2017-04-25Fixes string length issue for multibyte characters. (#2443)Ash Furrow
2017-04-25Username above toot box UI changes (#2418)Ash Furrow
* Makes username above toot box into a link. * Prepends username above toot box with an @.
2017-04-24Followers-only post federation (#2111)Eugen
* Make private toots get PuSHed to subscription URLs that belong to domains where you have approved followers * Authorized followers controller, stub for bulk action * Soft block in the background * Add simple test for new controller * Rename Settings::FollowersController to Settings::FollowerDomainsController, paginate results, rename "private" post setting to "followers-only", fix pagination style, improve post privacy preferences style, improve warning style * Extract compose form warnings into own container, show warning when posting to followers-only with unlocked account
2017-04-23feat(cw-button): Add aria controls to CW trigger (#2303)Stephen Burgess
Add an ID to the CW spoiler input field to give aria-controls a handle on it. Pass that id to the CW trigger button. Modify text icon button component to accept aria controls id value. Add aria-expanded value to text icon button to indicate when it is expanded.
2017-04-23fix(style): Fix regressions introduced by #2338 (#2345)Stephen Burgess
Put Column Slim Back Button classnames in order so it is positioned right and top. Add icon button style back to privacy dropdown and upload buttons so they are positioned correctly and do not wiggle. Remove abstracted style from CSS. Add missed class for the upload form thumbnail. Add the missed styles for upload form thumnail. Alphabetize styles for column-back-button. Fix fontSize typo for media-spoiler-video-play-icon.
2017-04-23Add a confirmation modal: (#2279)Eugen
- Deleting a toot - Muting, blocking someone - Clearing notifications Remove source map generation from development environment, as it is a huge performance sink hole with little gains
2017-04-23Replace inline styles with CSS classes (BEM) (#2338)Stephen Burgess
* fix(classnames): Status icon style classnames Take out inline css and put into classnames for the following components: account, avatar, icon button, status action bar, notification. * fix(status): Move styles from inline to classes for statuses Move styles to classnames in components.scss for the following components: display name media gallery status status content video player * fix(classnames): Add classnames to rest of components Take out inline styles and apply them to classnames in the sass for the following components: button column back button slim column back button collapsable column dropdown menu loading indicator status list * fix(classnames): Remove all non-dynamic inline styles Components affected: autosuggested permalink action bar header character counter compose form emoji dropdown privacy dropdown reply indicator upload form account auth followers getting started column settings mutes settings reblogs status checkbox report action bar status card boost modal media modal video modal * fix(permalink): Do not lose classname * fix(tests): Add space back in display name * fix(status__wrapper): Remove duplicate css name Remove incorrect style attribute. Remove style attribute all together. Cursor defaults to "auto" when not specified as 'default'. * fix(nl): do not lose translations
2017-04-22Improve aria support - Columns and Navigation Drawer Icons (#2299)Stephen Burgess
* feat(aria): Add aria-labels to underlabelled tab nav items The drawer tabs which control primary navigation are only labelled by a title which is not available to many screenreaders. Add an aria-label attribute to each link to improve readability with screenreaders. Organize link attributes so link target is first followed by classname. Issue #1349 * feat(aria): Replace abstract aria role of section with region Abstract aria roles such as section should not be used in content. Use non-abstract 'region' aria role instead. That role expects an aria-labelledby attribute with an id. Pass an ID to the column header. Remove the aria-label attribute on the ColumnHeader because the same value is output in plaintext as its child. Issue #1349 * fix(aria): Remove aria-controls attribute until solution is found Columns do not have wrappers, so these icons can't point to a column wrapper which it controls. Instead these icons function as triggers to show or hide individual columns. #1349 * fix(typo): Remove type of aria-labelledby instead of aria-label
2017-04-22Added strings for emoji category localization (#2302)Ashley
2017-04-22Allowed the emoji picker 'Search...' string to be localized (#2294)Ashley
2017-04-21Remove deprecated features at React v15.5 (#1905)Yamagishi Kazutoshi
* Remove deprecated features at React v15.5 - [x] React.PropTypes - [x] react-addons-pure-render-mixin - [x] react-addons-test-utils * Uncommented out & Add browserify_rails options * re-add react-addons-shallow * Fix syntax error from resolve conflicts * follow up 59a77923b368d48c590cd9f4a0c6b73ce972d33f
2017-04-20Fix Textarea height should be reset upon sending toot #2189 (#2236)Andrey Blinov
2017-04-19Fix css for toot button when uploading images (#2161)Tomohiro Suwa
2017-04-19fix search text 'zero' (#2150)matsurai25
2017-04-18Disable toot button when above 500 characters (#2088)Tomohiro Suwa
* Disable toot button when above 500 characters * Consider multibyte characters * Consider spoiler_text
2017-04-17Add function color remaining text (#1980)usagi-f
2017-04-15Add eslint-plugin-jsx-a11y (#1651)Zac Anger
* Add eslint-plugin-jsx-a11y. * Fix npm script. * Adjust npm scripts so test also runs lint. * Fix existing lint errors. * Don't break on a11y issues. * Add role and tabIndex. * Add vim and Mac files to .gitignore and .dockerignore. * Handle htmlFor (partially), a that's actually a button. * Fix missing tabIndex. * Add cursor:pointer to load-more * Revert change to load_more. * Fixes based on review. * Update yarn.lock. * Don't try to install fsevents on Linux (hides warning noise).
2017-04-15jslint: fix jslint warnings (#1704)Koala Yeung
* jslint: remove trailing space * jslint: fix no-nested-ternary issue Follow the jslint [no-nested-ternary](http://eslint.org/docs/rules/no-nested-ternary) rule. Rewritten ternary with if-then.
2017-04-13Update javascript English translation files and some defaultValue (#1676)Koala Yeung
* Reorder javascript English locale file * Reorder translation string in order of the locale key. * Add javascript English locale missing language keys * Search all javascript language keys by command: `grep -REho '<FormattedMessage .*\/>' ./app/assets/javascripts/.` * Add all the missing language keys and their values to `en.jsx`. * Add javascript English locale missing language keys (2) * Find all `defineMessages` calls with this command: `grep -Rl 'defineMessages({.*' ./app/assets/javascripts/.` * Open all these files. Find the language key (`id`) in these statements. * Add all the missing language keys and their values to `en.jsx`. * Remove javascript English locale obsoleted language keys * Find all language keys that no longer exists in the source code and remove them. The removed keys include: * "compose_form.private" * "compose_form.unlisted" * "getting_started.about_addressing" * "getting_started.about_shortcuts" * "notification.mention" * "search.account" * "search.hashtag" * "tabs_bar.mentions" * "tabs_bar.public" * Javascript English locale file add note * Add notes to contributors about the English translation files. Hope that will make translation process smoother. * Update javascript locale defaultValue in code * Update the defaultValue in code according to the relevant translation in English locale file.
2017-04-11Improve emoji picker look (#1493)Eugen
* Improve emoji picker look * Add hover animation to emojis in picker
2017-04-11Fix #1491 - Fix broken notifications, broken Link header parsing for ↵Eugen
exclude_types (#1548)
2017-04-11When avatar/header are GIF, generate static versions (#1428)Eugen
* When avatar/header are GIF, generate static versions. Account API returns "avatar"/"avatar_static", "header"/"header_static" Static version is the same as original for other cases Web UI de-animates avatars in toots, lists of users Fix #441, fix #596, prerequisite for #1064 * Fix JS test * Add rake task to generate static avatars/headers from GIF ones, add test
2017-04-10Allow typing a toot while an image uploads (#1429)Jessica Stokes
This patch stops disabling the toot text field when an image is uploading. Instead, you can type to your heart's content and when the image uploads it'll append the image URL, and restore the position of your cursor to wherever it was in the toot text just prior. Effectively, the image URL is appended to the toot, and typing is not interrupted at all! ✨
2017-04-10Add search to emoji picker (#1395)Gavin Mogan
2017-04-02Fix feed regeneration bugEugen Rochko
2017-03-31Fix reworked searchEugen Rochko
2017-03-31Rework searchEugen Rochko
2017-03-29Improve emojis - use SVGs where possibleEugen Rochko
2017-03-26Add tooltip to privacy dropdownEugen Rochko
2017-03-26Compose form layout fixesEugen Rochko
2017-03-25Clarify privacy optionsshel
Descriptions of differences between scope are more clear
2017-03-25Fix up visual indicators for compose form privacyEugen Rochko
2017-03-25When replying to status with content warning, prefill content warningEugen Rochko
2017-03-25Privacy dropdown i18nEugen Rochko
2017-03-25Redesigned compose formEugen Rochko
2017-03-24Fancier drag & drop indicator, emoji icon for emoji, upload progress (fix #295)Eugen Rochko
2017-03-22Fix full-text search query quotation, improve tag search performance with an ↵Eugen Rochko
index, add ability to open status by URL from search (fix #53)
2017-03-02Fix #231 - MutingEugen Rochko
2017-03-02Fix #372 - Emoji pickerEugen Rochko
2017-03-01Simplify passing of propEugen Rochko
2017-03-01Better smart/dumb component separationKibigo
2017-02-27Character counter fixKibigo
2017-02-26Improve compose form performance, upgrade JS dependencies. LightingBoxEugen Rochko
now allows to cycle through multiple images
2017-02-22Improve performance of compose formEugen Rochko
2017-02-19Fix links and wordingEugen Rochko
2017-02-19Adjust naming of public timeline -> "local timeline" vs "whole known network"Eugen Rochko
2017-02-19Split public timeline into "public timeline" which is local, andEugen Rochko
"whole known network" which is what public timeline used to be Only domain blocks with suspend severity will block PuSH subscriptions Silenced accounts should not appear in conversations unless followed
2017-02-13Add remote mentions warning when composing a private statusEugen Rochko
2017-02-13Merge branch 'patch-5' of https://github.com/yiskah/mastodon into yiskah-patch-5Eugen Rochko
2017-02-13Clean up collapsible componentsEugen Rochko