Peter Simonsson
a36dfbb2aa
[Glitch] Fix dropdown menu positions when scrolling
...
Port fd33bcb3b2
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
1 year ago
Claire
2bb443c7d5
Port various forgotten fixes from upstream ( #1864 )
...
* [Glitch] Fix crash when failing to load emoji picker
Port bd3420b139
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
* [Glitch] Remove duplicate frequently used emojis
Port 98146281e1
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Co-authored-by: Harmon <Harmon758@gmail.com>
2 years ago
Claire
e1db6cf320
Move flavours/glitch/features/emoji_picker back to flavours/glitch/features/compose/containers/emoji_picker_dropdown_container
2 years ago
Claire
b728b25c10
Move flavours/glitch/utils/emoji back to flavours/glitch/features/emoji
2 years ago
Claire
7097a459be
Move flavours/glitch/utils/ready to flavours/glitch/ready
2 years ago
Claire
d3879c07b1
Rename flavours/glitch/util into flavours/glitch/utils
2 years ago
Claire
26b687160b
Move flavours/glitch/util/initial_state to flavours/glitch/initial_state
2 years ago
Claire
41a8606627
[Glitch] Fix opening the emoji picker scrolling the single-column view to the top
...
Port aa86cf9557
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Eugen Rochko
d2c9f39c0b
[Glitch] Add assets from Twemoji 13.1.0
...
Port abd7b4636a
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
3 years ago
dependabot[bot]
91c2f14fd2
[Glitch] Bump detect-passive-events from 1.0.5 to 2.0.1
...
Port e16b0fb15a
to glitch-soc
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
4 years ago
ThibG
813c84cd6c
[Glitch] Change how CDN_HOST is passed down to make assets build reproducible
...
Port 4c45b43cb8
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
4 years ago
Takeshi Umeda
83bc9f68af
[Glitch] Fix modifier key to keep the EmojiPicker on macOS
...
Port 434a6d0b15
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
4 years ago
Brian C. Lindner
a8559458c3
[Glitch] Allow Ctrl-click to keep EmojiPicker window open
...
Port 64154c5161
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
4 years ago
Eugen Rochko
376e524278
[Glitch] Add announcements
...
Port front-end changes from f52c988e12
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
4 years ago
Thibaut Girka
f2b307af25
Move “export” before decorators
...
As this is what upstream does.
See also https://github.com/tc39/proposal-decorators/issues/69
5 years ago
Thibaut Girka
b859eb0017
Honor `system_emoji_font` in the Emoji Picker
5 years ago
Eugen Rochko
662252c8f7
[Glitch] Add categories for custom emojis
...
Port front-end changes from e64e6a03dd
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Thibaut Girka
355d384d8d
Revert "[Glitch] fix: update to emoji-mart 2.10.0"
...
This reverts commit 49bea8c46b
.
5 years ago
Nolan Lawson
49bea8c46b
[Glitch] fix: update to emoji-mart 2.10.0
...
Port db06b25376
to glitch-soc
5 years ago
Thibaut Girka
b3c698d6f4
Auto-focus emoji picker's search field
6 years ago
David Yip
fac6e392e9
Port emojimart 2.6.1 changes to glitch flavour
...
See also the following commits:
- 0c3ce41031
- 268d90e810
6 years ago
Thibaut Girka
bfa5bdde2c
[Glitch] Place emoji picker top if it is closer to the bottom of the viewport
...
Port ad5d3134e4
to glitch-soc
6 years ago
kibigo!
924ffe81d4
WIPgit status <Compose> Refactor; <Composer> ed.
6 years ago
kibigo!
bc4fa6b198
Rename themes -> flavours ? ?
7 years ago
kibigo!
45c44989c8
Forking glitch theme
7 years ago
Nolan Lawson
60f962eedc
Refactor initial state: auto_play_gif ( #5576 )
7 years ago
Eugen Rochko
488584bfc1
Track frequently used emojis in web UI ( #5275 )
...
* Track frequently used emojis in web UI
* Persist emoji usage, but debounce commits to the settings API
* Fix #5144 - Add tooltips to picker
* Display only 2 lines of frequently used emojis
7 years ago
Eugen Rochko
d2dee6ea43
Fix custom emoji in emoji picker, persist skin tone ( #5258 )
7 years ago
Eugen Rochko
45682f876d
Make auto-play GIFs preference affect custom emojis in web UI ( #5254 )
7 years ago
Nolan Lawson
fd7f0732fe
Compress and combine emoji data ( #5229 )
7 years ago
Nolan Lawson
2aca22b8ea
import only Overlay from react-overlays ( #5235 )
7 years ago
Eugen Rochko
5e5f36c216
Fix #5079 , fix #5186 - Emoji picker fixes ( #5187 )
7 years ago
Nolan Lawson
b9c612b561
Code-split emoji-mart picker and data ( #5175 )
7 years ago
Eugen Rochko
5b8d0ad71b
Dropdown triangles a bit nicer, smoother scrolling on touch ( #5062 )
7 years ago
Eugen Rochko
1e02ba111a
Add emoji autosuggest ( #5053 )
...
* Add emoji autosuggest
Some credit goes to glitch-soc/mastodon#149
* Remove server-side shortcode->unicode conversion
* Insert shortcode when suggestion is custom emoji
* Remove remnant of server-side emojis
* Update style of autosuggestions
* Fix wrong emoji filenames generated in autosuggest item
* Do not lazy load emoji picker, as that no longer works
* Fix custom emoji autosuggest
* Fix multiple "Custom" categories getting added to emoji index, only add once
7 years ago
Eugen Rochko
66126f3021
Add custom emojis to the emoji picker ( #5052 )
7 years ago
Eugen Rochko
846cd4e838
Switch from EmojiOne to Twemoji, different emoji picker ( #5046 )
...
* Switch from EmojiOne to Twemoji, different emoji picker
* Make emoji-mart use a local spritesheet
* Fix emojify test
* yarn manage:translations
7 years ago
Sorin Davidoi
c71874b84c
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
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
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
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
7 years ago
Yamagishi Kazutoshi
c1a8e3d1eb
Use Class and Property Decorators ( #3730 )
...
ref https://tc39.github.io/proposal-decorators/
7 years ago
Yamagishi Kazutoshi
eff9416469
Remove unused variables ( #3906 )
7 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
7 years ago
Yamagishi Kazutoshi
7a7bfa5170
Add quotes ESLint rules ( #3602 )
...
* Add quotes ESLint rule
* Add jsx-quotes ESlint rule
* Sort ESLint rules
7 years ago
Yamagishi Kazutoshi
fda5c699c2
Add ESLint rule (object-curly-spacing) ( #3498 )
7 years ago
Nolan Lawson
135bdd149e
Name the Webpack chunks ( #3291 )
7 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
7 years ago
Yamagishi Kazutoshi
b8b7b506a2
Replace inline styles with stylesheet ( #3115 )
7 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.
7 years ago