-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add tags
support to app
#1524
Add tags
support to app
#1524
Conversation
615ecec
to
4b47380
Compare
(cherry picked from commit 3098ebb)
…e-post-tags-into-app * origin/main: (40 commits) 1.52 README: tweaks to high-level context (#1625) Fix stuck lightbox header after double tap (#1627) Fix: add padding to the spinner bottom while loading threads (#1626) Rewrite Android lightbox (#1624) Dont trim before posting (close #1621) (#1622) Only listen to back button on android (#1623) Improve typeahead search with inclusion of followed users (temporary solution) (#1612) Slightly smaller highlighted post text (#1608) Pull upstream bugfixes to bottom-sheet (#1606) Fix animations and gestures getting reset on state updates in the lightbox (#1618) Remove unused lightbox options (#1616) Profile UI tweaks (#1607) Fix invite codes flash on desktop, use loading placeholder (#1591) Update to [email protected] (#1599) Fixed a typo on the onboarding recommended screen (#1604) Onboarding & feed fixes (#1602) Improve time to content in the search page (#1603) Fix a potential reference error in bottombarweb (#1600) Fix: only use scroll-positioning control on thread when looking at replies (#1587) ...
…t-tags-into-app * origin: Fix bug that prevents unfollowing (#1633)
…t-tags-into-app * origin: Disable events on hidden bars (#1686) Fix profile layout shift (#1690) Don't re-render bars when showing/hiding them (#1691) Fix crash when scrolling down on the web (#1684) Make shell hide/show animation smoother (#1683) Fix layout shift for multi-image posts (#1673) bskyweb: add rate limiting to reduce DoSability use new zeed-dom version (#1671) 1.53
@@ -211,6 +225,7 @@ export const ComposePost = observer(function ComposePost({ | |||
onStateChange: setProcessingState, | |||
knownHandles: autocompleteView.knownHandles, | |||
langs: store.preferences.postLanguages, | |||
tags, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Outline tags are posted to API here, inline are contained in the raw text and detected later
<View> | ||
<TagInputEntryButton onRequestOpen={openSheet} tags={tags} /> | ||
|
||
<Portal> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New portal component
@@ -94,17 +106,29 @@ export const TextInput = forwardRef(function TextInputImpl( | |||
newRt.detectFacetsWithoutResolution() | |||
setRichText(newRt) | |||
|
|||
const prefix = getMentionAt( | |||
const mentionPrefix = getMentionAt( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copied this for tags, so renamed for clarity
Notes
@tiptap/suggestions
, awaiting allow users to pass a customfindSuggestionMatch
to Suggestion plugin ueberdosis/tiptap#4515