| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* alf web typeahead
* fix type error
* fix escape behaviour
* change selection on hover
* rm React.
* undo random change
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
* keep all radix deps aligned by using single package
* import directly from `radix-ui` or `radix-ui/internal`
* prevent radix leaking into native build
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* chore: update tiptap packages
* perf: reduce number of re-renders
* refactor: apply min height without a layout effect
* Remove stale zeed-dom resolution
---------
Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* Separate non-components from components
* Mark old Text as deprecated
* Move emoji utilities to non-React file
* Fix type
* Fix import
|
|
|
|
|
|
|
|
|
| |
* Fix close button overlap
* Make footer actually sticky on web
* Special toast for thread
* Only stick to bottom for last post
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Basic adding of posts
* Switch active post on focus
* Conditionally show plus button
* Insert posts midthread
* Track active/inactive post
* Delete posts in a thread
* Focus after deletion
* Tweak empty post detection
* Mix height for active only
* Move toolbar with post on web
* Fix footer positioning
* Post All button
* Fix reply to positioning
* Improve memoization
* Improve memoization for clearVideo
* Remove unnecessary argument
* Add some manual memoization to fix re-renders
* Scroll to bottom on add new
* Fix opacity on Android
* Add backdrop
* Fix videos
* Check alt for video too
* Clear pending publish on error
* Fork alt message by type
* Separate placeholder for next posts
* Limit hitslop to avoid clashes
|
|
|
|
|
|
|
| |
* Make web composer min height condiitonal
* Fix alignment
* Fix alignment on mobile
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Extract ComposerTopBar
* Rename state variables to align with props
* Extract ComposerEmbeds
* Extract ComposerPills
* Extract ComposerFooter
* Tweak condition to be simpler
* Extract ComposerPost
|
|
|
|
|
|
|
|
|
| |
* Disable contextual ligatures
* Ensure new type styles are applied to the composer
* Clean up using real devices
* Feedback
|
|
|
|
|
| |
* allow DnD/pasting video
* rm await
|
|
|
|
|
| |
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
Co-authored-by: Adrov Igor <nucleartux@gmail.com>
|
| |
|
|
|
|
|
| |
* fix: prevent rich-formatting paste
* fix: return true instead of preventDefault
|
|
|
|
|
| |
* Rewrite the link detection
* Handle parens and colons
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix link facet detection
Exclude the trailing period from the link, similar as done in the atproto package
* Fix JSON to text conversion
The trimEnd() call was only needed because we were always appending \n\n at the end. Fix that by only adding line breaks after non-final paragraphs.
* Detect paste reliably
---------
Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* automatically add a link card for urls in the composer
simplify was paste check
use a set
simplify the cross platform reuse
web implementation
remove log
pasting in the middle of a block of text
proper regex
dont re-add immediately after paste and remove
don't use `byteIndex`
lfg
automatically add link card
* `mayBePaste`
* remove accidentally pasted url from comment
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add bare minimum hashtags support (#2804)
* Add bare minimum hashtags support
As atproto/api already parses hashtags, this is as simple as hooking it
up like link segments.
This is "bare minimum" because:
- Opening hashtag "#foo" is actually just a search for "foo" right now
to work around #2491.
- There is no integration in the composer. This hasn't stopped people
from using hashtags already, and can be added later.
- This change itself only had to hook things up - thank you for having
already put the hashtag parsing in place.
* Remove workaround for hash search not working now that it's fixed
* Add RichTextTag and TagMenu
* Sketch
* Remove hackfix
* Some cleanup
* Sketch web
* Mobile design
* Mobile handling of tags search
* Web only
* Fix navigation woes
* Use new callback
* Hook it up
* Integrate muted tags
* Fix dropdown styles
* Type error
* Use close callback
* Fix styles
* Cleanup, install latest sdk
* Quick muted words screen
* Targets
* Dir structure
* Icons, list view
* Move to dialog
* Add removal confirmation
* Swap copy
* Improve checkboxees
* Update matching, add tests
* Moderate embeds
* Create global dialogs concept again to prevent flashing
* Add access from moderation screen
* Highlight tags on native
* Add web highlighting
* Add close to web modal
* Adjust close color
* Rename toggles and adjust logic
* Icon update
* Load states
* Improve regex
* Improve regex
* Improve regex
* Revert link test
* Hyphenated words
* Improve matching
* Enhance
* Some tweaks
* Muted words modal changes
* Handle invalid handles, handle long tags
* Remove main regex
* Better test
* Space/punct check drop to includes
* Lowercase post text before comparison
* Add better real world test case
---------
Co-authored-by: Kisaragi Hiu <mail@kisaragi-hiu.com>
|
| |
|
|
|
|
|
|
|
| |
* use the palette's font color in the composer
* correct type for cssproperties
* log
|
|
|
|
| |
(#2700)
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* rework emoji picker
* dynamic position
* always prefer the left if it will fit
* add accessibility label
* Update EmojiPicker.web.tsx
oops. remove accessibility from fake button
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Unify the autocomplete code; drop fuse
* Persist autocomplete results while they're in progress
* Commit lockfile
* Use ReturnType helper
---------
Co-authored-by: Eric Bailey <git@esb.lol>
|
|
|
|
|
|
|
|
|
| |
* Move composer state to a context
* Rework composer to use RQ
---------
Co-authored-by: Eric Bailey <git@esb.lol>
|
|
|
|
|
| |
* Dont trim before posting (close #1621)
* Tweak: do trim end
|
| |
|
| |
|
|
|
|
|
| |
* Add eslint-plugin-react
* Enable display name rule
|
|
|
|
|
| |
* Fix caret jumps for web composer
* Autofocus at the end on mount
|
|
|
|
|
| |
* Replace web editor link behavior (close #1293) (close #1292)
* Update link decorator to match rich text link detector
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* add emoji-mart package for emoji dropdown picker
* remove emoji picker modal
* load emoji mart data not as part of the main bundle
* remove @emoji-mart/data
* setup emoji insertion with events
* get emoji data from local static assets
* close emoji picker after one emoji has been inserted
* Switch emoji picker trigger to an icon
* Update emoji-mart-data.js
* make grabbing emoji data work on more browsers
---------
Co-authored-by: Paul Frazee <pfrazee@gmail.com>
|
|
|
|
|
| |
* setup `initMention` for mobile
* setup creating post with profile tagged on web
|
|
|
|
|
|
|
| |
The tiptap useEditor() hook creates an awkward challenge for passing
event handlers into its plugins and native events. By introducing a
memoized editor, we should be able to shuttle events out of tiptap
without retriggering the useEditor hook. The emitter can then change
its registered handlers with each state update.
|
|
|
|
|
|
|
| |
* Don't insert a newline on cmd+entrl (close #1173)
* Don't linkify selected text on url-paste (close #1149)
* Disable the adult content controls if there is no media on the post (close #1169)
|
|
|
|
|
|
|
| |
* Modify toShortUrl() to always include the full domain
* Shorten links in the composer to save on characters
* Apply some limits to the link card suggester
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add keyboard shortcuts: new, escape, and hard break
* Add preferences modal
* Remove code accidentally re-added due to rebase
* Fix incorrect copy and lint
* Put stuff back so diffs are clearer
* Re-add invite codes to settings
* Address comments
* Tune the copy
---------
Co-authored-by: Paul Frazee <pfrazee@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* React Native accessibility
* First round of changes
* Latest update
* Checkpoint
* Wrap up
* Lint
* Remove unhelpful image hints
* Fix navigation
* Fix rebase and lint
* Mitigate an known issue with the password entry in login
* Fix composer dismiss
* Remove focus on input elements for web
* Remove i and npm
* pls work
* Remove stray declaration
* Regenerate yarn.lock
---------
Co-authored-by: Paul Frazee <pfrazee@gmail.com>
|