Sorin Davidoi
b7d47c2aef
Improve accessibility (part 4) ( #4408 )
...
* fix(dropdown_menu): Keyboard navigation
* fix(icon_button): Add aria-pressed attribute
* fix(privacy_dropdown): Make accessible
* fix(emoji_picker_dropdown): Make accessible
* fix(icon_button): Support tabIndex
* fix(actions_modal): Remove icon from tab order
* fix(dropdown_menu): Add role=group
* fix(setting_toggle): Toggle via space key
* fix(dropdown_menu): Remove redundant handling of Space key
* fix(emoji_picker_dropdown): Remove redundant Space key handling
* fix(privacy_dropdown): Remove redundant Space key handling
* fix(status): Switch to article and add aria-posinset, aria-setsize
* fix(status_list): Use role=feed and pass more ARIA props to Status
* chore(eslint): jsx-a11y/role-supports-aria-props
7 years ago
Sorin Davidoi
6884dd79ba
Improve accessibility (part 3) ( #4405 )
...
* fix(compose): Add aria-label for the navigation links
* fix(search): Add input label
* fix(navigation_bar): Link description
* fix(autosuggest_textarea): Add input label
* fix(compose_form): Add input label
* fix(upload_button): Add input label
* fix(account/header): Add link content
* fix(column_header): Use h1 tag
* fix(column_header): Labels move buttons moving column
* fix(settings_text): Add label to input
* fix(column_header): Remove role from h1
* fix(modal_root): Use role=dialog
* fix(modal_root): Focus restauration
* fix(modal_root): Apply inert to sibligs
* fix(column_header): Add role=button
* chore(eslint): Disable jsx-a11y/label-has-for
7 years ago
Sorin Davidoi
50d38d7605
fix(dropdown_menu): Open as modal on mobile ( #4295 )
...
* fix(dropdown_menu): Open as modal on mobile
* fix(dropdown_menu): Open modal on touch
* fix(dropdown_menu): Show status
* fix(dropdown_menu): Max dimensions and reduce padding
* chore(dropdown_menu): Test new functionality
* refactor: Use DropdownMenuContainer instead of DropdownMenu
* feat(privacy_dropdown): Open as modal on touch devices
* feat(modal_root): Do not load actions-modal async
7 years ago
Ondřej Hruška
b7cf758fbe
Fix JS errors and add back commit hash
7 years ago
Sorin Davidoi
32fa312b2a
fix(compose_from): Do not autofocus on mobile ( #4344 )
7 years ago
Yamagishi Kazutoshi
117eb3b2bc
Change defaultMessage for spoiler placeholder ( #4329 )
7 years ago
Ondřej Hruška
852acbd738
amend 3ba7c1e7
to actually do what I wanted to do *facepalm*
7 years ago
Ondřej Hruška
3ba7c1e725
Textarea does not auto-expand on mobile anymore (autofocus only on desktop)
7 years ago
Sorin Davidoi
c1bc5e14eb
feat(compose): More space on mobile devices ( #4282 )
...
* feat(compose): More space on mobile devices
* feat(compose): Hide navigation when typing on mobile devices
* fix(compose): Make animation faster
* fix(navigation_bar): Remove hardcoded title
* fix(compose): Prevent accidental bluring
* fix(compose): Increase max-height to 600px
7 years ago
Sorin Davidoi
1d2616b79b
fix(emojis): Handle multipoint emojis (e.g. country flags) ( #4221 )
7 years ago
Eugen Rochko
e2685ccc81
Fix #4149 , fix #1199 - Store emojis as unicode ( #4189 )
...
- Use unicode when selecting emoji through picker
- Convert shortcodes to unicode when storing text input server-side
- Do not convert shortcodes in JS anymore
7 years ago
kibigo!
5770d461b2
Moved glitch containers and commented unused files
8 years ago
Surinna Curtis
e53fbb4a09
local-only/compose advanced options tweaks.
...
Squashed commit of the following:
commit b9877e37f72fdd8134936e1014033b07cb6c3671
Author: Surinna Curtis <ekiru.0@gmail.com>
Date: Wed Jul 12 00:50:10 2017 -0500
account for the eye in the chars left count for local-only toots
commit 56ebfa96542e16daa1986cc45e07974801ee12dc
Author: Surinna Curtis <ekiru.0@gmail.com>
Date: Wed Jul 12 00:21:02 2017 -0500
factor out an AdvancedOptionsToggle to avoid unnecessary re-renders
commit 04cec44ab8744e4e0f52da488c9ec24b1b1422ef
Author: Surinna Curtis <ekiru.0@gmail.com>
Date: Wed Jul 12 00:20:24 2017 -0500
s/changeComposeAdvancedOption/toggleComposeAdvancedOption/g
commit af5815dee750d1aa8b797a9305e5ab3ce6774e3f
Author: Surinna Curtis <ekiru.0@gmail.com>
Date: Tue Jul 11 23:55:19 2017 -0500
clicking anywhere on the whole advanced option toggles
8 years ago
kibigo!
297921fce5
Moved glitch files to their own location ;)
8 years ago
Ondřej Hruška
667b567606
Make avatar in compose navbar hover-to-play
8 years ago
Sorin Davidoi
348d6f5e75
Lazy load components ( #3879 )
...
* feat: Lazy-load routes
* feat: Lazy-load modals
* feat: Lazy-load columns
* refactor: Simplify Bundle API
* feat: Optimize bundles
* feat: Prevent flashing the waiting state
* feat: Preload commonly used bundles
* feat: Lazy load Compose reducers
* feat: Lazy load Notifications reducer
* refactor: Move all dynamic imports into one file
* fix: Minor bugs
* fix: Manually hydrate the lazy-loaded reducers
* refactor: Move all dynamic imports to async-components
* fix: Loading modal style
* refactor: Avoid converting the raw state for each lazy hydration
* refactor: Remove unused component
* refactor: Maintain modal name
* fix: Add as=script to preload link
* chore: Fix lint error
* fix(components/bundle): Check if timestamp is set when computing elapsed
* fix: Load compose reducers for the onboarding modal
8 years ago
Ondřej Hruška
d87d70e89a
Fixed js type error in advanced_options_dropdown.js
8 years ago
Surinna Curtis
193f354d3e
a real default for advanced options long description
8 years ago
Surinna Curtis
6b67b91eb1
satisfy eslint
8 years ago
Surinna Curtis
6b77424660
some adjustments to open/active for advanced options dropdown
8 years ago
Surinna Curtis
301c185878
highlight … button if any options enabled
8 years ago
Surinna Curtis
f6ce1a9592
toggles for advanced options
8 years ago
Surinna Curtis
556cede00f
Local-only option and dropdown all working
8 years ago
Surinna Curtis
dd49c10cdb
Further improvements to dropdown html
8 years ago
Surinna Curtis
85d5249479
The beginnings of an advanced options dropdown
8 years ago
Sorin Davidoi
4ce1540094
fix(features/compose): Handle external changes to the textarea ( #3632 )
8 years ago
Yamagishi Kazutoshi
c1a8e3d1eb
Use Class and Property Decorators ( #3730 )
...
ref https://tc39.github.io/proposal-decorators/
8 years ago
Yamagishi Kazutoshi
eff9416469
Remove unused variables ( #3906 )
8 years ago
Sorin Davidoi
8f03fdce7f
Upgrade React Router ( #3677 )
...
* chore(yarn): Remove react-router
* chore(yarn): Remove react-router-scroll
* chore(yarn): Remove history
* chore(yarn): Add react-router-dom
* chore: Remove usages of react-router-scroll
* refactor: Upgrade to react-router-web
* refactor: Use fork of react-router-scroll
This reverts commit 2ddea9a6c8d39fc64b7d0b587f3fbda7a45a7fa2.
* fix: Issues mentions in the PR feedback
8 years ago
Gô Shoemake
29a22691d2
Fix character/grapheme count stuff ( #3839 )
...
* Bring Toot button in line with counter
Both should use stringz I guess
* Use grapheme_length for character count
8 years ago
Eugen Rochko
aebebdc5d1
Debounce autosuggestions ( #3836 )
...
* Debounce autosuggestions
* Remove duplicate import
8 years ago
Yamagishi Kazutoshi
d8ae3efec3
Improve ESLint rules for JSX ( #3608 )
...
* Add react/no-string-refs ESLint rule
* Add react/jsx-boolean-value ESLint rule
* Add react/jsx-closing-bracket-location ESLint rule
* Add react/jsx-indent ESLint rule
* Add react/jsx-curly-spacing ESLint rule
* Add react/jsx-equals-spacing ESLint rule
* Add react/jsx-first-prop-new-line ESLint rule
* Add react/jsx-no-duplicate-props ESLint rule
* Add react/jsx-tag-spacing ESLint rule
8 years ago
Yamagishi Kazutoshi
cd81a1c52a
Add missing key attribute to .search-results__hashtag ( #3607 )
8 years ago
Yamagishi Kazutoshi
7a7bfa5170
Add quotes ESLint rules ( #3602 )
...
* Add quotes ESLint rule
* Add jsx-quotes ESlint rule
* Sort ESLint rules
8 years ago
masarakki
20b647020b
refocus-after-toot ( #3537 )
8 years ago
Yamagishi Kazutoshi
fda5c699c2
Add ESLint rule (object-curly-spacing) ( #3498 )
8 years ago
Nolan Lawson
5e41c26203
Use immutable list in UploadButton to avoid wasteful re-render ( #3394 )
8 years ago
Eugen Rochko
c48772fd3f
Introduce react-textarea-autosize instead of using style.height side effects ( #3334 )
8 years ago
Nolan Lawson
135bdd149e
Name the Webpack chunks ( #3291 )
8 years ago
Yamagishi Kazutoshi
2e112e2406
Improve eslint rules ( #3147 )
...
* Add semi to ESLint rules
* Add padded-blocks to ESLint rules
* Add comma-dangle to ESLint rules
* add config/webpack and storyboard
* add streaming/
* yarn test:lint -- --fix
8 years ago
Sorin Davidoi
2c405aed55
Performance improvements ( #3168 )
...
* refactor(components/status_list): Avoid quering scrollTop if not necessary
* refactor(components/dropdown_menu): Do not render items if not expanded
* refactor: Cherry-pick react-motion imports
* refactor(compose/privacy_dropdown): Do not render options if not open
* refactor(components/column_collapsable): Do not render children if collapsed
8 years ago
Sorin Davidoi
1548695c83
Avoid useless renders ( #3141 )
...
* feat(eslint): Set react/jsx-no-bind: error
* refactor(notifications/setting_toggle): Do not use bind
* refactor(components/dropdown_menu): Do not use bind
* refactor(components/autosuggest_textarea): Do not use bind
* refactor(compose/privacy_dropdown): Do not use bind
* refactor(compose/upload_form): Do not use bind
* refactor(components/status): Do not use bind
* refactor(components/onboarding_modal): Do not use bind
* refactor: PR feedback
* chore(notifications/setting_toggle): Lint
* refactor: PR feedback
8 years ago
Yamagishi Kazutoshi
b8b7b506a2
Replace inline styles with stylesheet ( #3115 )
8 years ago
Sorin Davidoi
07e875972a
refactor: Import from react-router/lib ( #3117 )
8 years ago
Eugen Rochko
0d59d7c680
Fix #2549 - Do not hardcode the exclamation in "toot!", wrap it in an extra locale key ( #3089 )
8 years ago
Yamagishi Kazutoshi
2991a7cfe6
Use ES Class Fields & Static Properties ( #3008 )
...
Use ES Class Fields & Static Properties (currently stage 2) for improve class outlook.
Added babel-plugin-transform-class-properties as a Babel plugin.
8 years ago
AA4ch1
2db53526c9
Fix compose_form.js for #2904 ( #2960 )
8 years ago
fusshi-
29d8313b28
Disabled auto focus on toot form when search results are shown. ( #2942 )
8 years ago
Yamagishi Kazutoshi
459bbfa4b2
Prevent selection of unacceptable Content-Type files ( #2910 )
...
* Prevent selection of unacceptable Content-Type files
* replace hard code
* media_attachments accept content-types in initial state
8 years ago
Nolan Lawson
df81bc4a97
add asynchronous emojione-picker (code-splitting) ( #2863 )
8 years ago