Ondřej Hruška
e11cd9b141
Merged upstream PR #4526
7 years ago
kibigo!
2cdee6ae8a
Merge upstream ( #111 )
7 years ago
Sorin Davidoi
56e35ab6e7
Improve accessibility (part 6) ( #4435 )
...
* fix(status_action_bar): Use aria-pressed for reblog and favourite button
* fix(column_back_button): Keyboard accessible
* fix(status_content): Make focusable and accessible
* fix(dropdown_menu): Use aria-expanded instead of aria-pressed
* fix(emoji_picker_dropdown): Use aria-expanded instead of aria-hidden
* feat(icon_button): Add aria-expanded
* fix(privacy_dropdown): Use aria-expanded instead of aria-hidden
7 years ago
Eugen Rochko
39b0588256
Count all URLs in text as 23 characters flat, do not count domain part of usernames ( #4427 )
...
* Count all URLs in text as 23 characters flat, do not count domain part of usernames
* Add new status text counting logic to web UI
7 years ago
Sorin Davidoi
3ddfab69a5
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
8a9d376d6a
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
9cb72c6600
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
2129485669
Fix JS errors and add back commit hash
7 years ago
Ondřej Hruška
7072288bcf
Merge git://github.com/tootsuite/mastodon into tootsuite-master
7 years ago
Sorin Davidoi
c0925a2cdd
fix(compose_from): Do not autofocus on mobile ( #4344 )
7 years ago
Yamagishi Kazutoshi
6a0cf5945c
Change defaultMessage for spoiler placeholder ( #4329 )
7 years ago
Ondřej Hruška
3b8e1a5d40
amend b0db25be
to actually do what I wanted to do *facepalm*
7 years ago
Ondřej Hruška
b0db25be62
Textarea does not auto-expand on mobile anymore (autofocus only on desktop)
7 years ago
beatrix-bitrot
8deb2072ef
Merge that good fresh upstream shit
7 years ago
Sorin Davidoi
324d98b5a8
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
Ondřej Hruška
713938f266
Updated from tootsuite
7 years ago
Sorin Davidoi
36d42f83f3
fix(emojis): Handle multipoint emojis (e.g. country flags) ( #4221 )
7 years ago
kibigo!
f48f42598f
Merge upstream ( #81 )
7 years ago
Eugen Rochko
5138dde794
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!
1b225a979a
Moved glitch containers and commented unused files
7 years ago
Surinna Curtis
c0699e3ec9
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
7 years ago
kibigo!
bcc30c8697
Merge upstream!! #64 <3 <3
7 years ago
kibigo!
0e08cb1b36
Moved glitch files to their own location ;)
7 years ago
Ondřej Hruška
60d4858ef5
Make avatar in compose navbar hover-to-play
7 years ago
Sorin Davidoi
40b32ffb12
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
7 years ago
Ondřej Hruška
d10be2c825
Fixed js type error in advanced_options_dropdown.js
7 years ago
Surinna Curtis
f20d85a14f
a real default for advanced options long description
7 years ago
Surinna Curtis
c076162192
satisfy eslint
7 years ago
Surinna Curtis
025c01b8a3
some adjustments to open/active for advanced options dropdown
7 years ago
Surinna Curtis
bcccb7ed90
highlight … button if any options enabled
7 years ago
Surinna Curtis
24fde0bd4a
toggles for advanced options
7 years ago
Surinna Curtis
3f7c0b66f4
Local-only option and dropdown all working
7 years ago
Surinna Curtis
8d9bc86979
Further improvements to dropdown html
7 years ago
Surinna Curtis
440c008da7
The beginnings of an advanced options dropdown
7 years ago
Sorin Davidoi
2b1ab274fe
fix(features/compose): Handle external changes to the textarea ( #3632 )
8 years ago
Yamagishi Kazutoshi
e2027fbe42
Use Class and Property Decorators ( #3730 )
...
ref https://tc39.github.io/proposal-decorators/
8 years ago
Yamagishi Kazutoshi
539dbaa049
Remove unused variables ( #3906 )
8 years ago
Sorin Davidoi
9bc32eb267
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
2d31077bdf
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
4845069692
Debounce autosuggestions ( #3836 )
...
* Debounce autosuggestions
* Remove duplicate import
8 years ago
Yamagishi Kazutoshi
d063663125
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
379120da91
Add missing key attribute to .search-results__hashtag ( #3607 )
8 years ago
Yamagishi Kazutoshi
615c580665
Add quotes ESLint rules ( #3602 )
...
* Add quotes ESLint rule
* Add jsx-quotes ESlint rule
* Sort ESLint rules
8 years ago
masarakki
dfbc77fa3b
refocus-after-toot ( #3537 )
8 years ago
Yamagishi Kazutoshi
c7be992701
Add ESLint rule (object-curly-spacing) ( #3498 )
8 years ago
Nolan Lawson
fbd7406c93
Use immutable list in UploadButton to avoid wasteful re-render ( #3394 )
8 years ago
Eugen Rochko
e600e0d0c5
Introduce react-textarea-autosize instead of using style.height side effects ( #3334 )
8 years ago
Nolan Lawson
576afed755
Name the Webpack chunks ( #3291 )
8 years ago
Yamagishi Kazutoshi
e4ed0b155c
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
fcf794aebe
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