# Social feed current state
## Some usage points
### Article creation http://deploy-preview-318--testitori.netlify.app/feed/new
- Can't add audio in the RichText for now, so they are are added at the bottom of the Rich Text
- Can't load respective players for each streaming plateform from an URL. Disable OpenGraph stuff for now.
- The videos, images and gifs can be added only by their respective buttons (Upload), and are added into the Rich Text.
### Mentions
- We can add a mention by writting "@blabla"
- Then, on a user profile, we can see the the posts that contain his user id or wallet address in in their metadata `mentions`
- All the "@blabla" are added in the `mentions` array, but they are displayed as a link only if they reffer to an existing user (bech32 address or existing NS token name)
- On a user profile, if you create a post, the user will be mentioned at the end of the post, only it's not your profile.
- On a user profile, we can see also the posts created by this user
### Hashtags
- We can add a hashtag by writting "#blabla"
- Then, on https://deploy-preview-318--testitori.netlify.app/feed/hashtag/blabla, we'll see the posts that contain `"#blabla"` in their metadata `hashtags`
### Posts Categories

- The Short Posts has the category 2 ("Normal Post")
- Normal Posts with medias will have category 4 ("Pircture"), 5 ("Audio") or 6 ("Video")
- The Article has the category 3 (And can contains audios+videos+pictures)
## Fix/Refacto points
### Urgent issues to fix (Check if still need fix)
- Some audios and videos come with an empty `url`, but they work when Post creation.
- We need to check that the files are correctly uploaded (Using the IPFS key getter and upload on Pinata)
- Handle right prices (TORI post's price depending on the PostCategory, etc..) (And set correct "The cost for this...")
- Duplicated comment after posting a comment mentioning the author (Have to refresh page).
- handle up false to remove reaction
### Less urgent, but TODO
- Code Factorization
- A better responsive
- Animations
- Article creation : The scroll must follow the redaction. Actually, the scroll is always on top, so we need to scroll manually when writting.
- The `NewFeedInput` doesn't shrink when deleting rows while writting a Post on http://deploy-preview-318--testitori.netlify.app/feed
- Some UI adjustments
### Welcome upgrades
- A tip count => I think we'll send an `amount` and a `post.id` to the backend using `useTeritoriSocialFeedReactPostMutation`
- More tools for Article creation (There are unused existing tools in `draft-js`)
- Render preview for any URL (Like on Medium) (See the OpenGraph point above)
- A better Rich Text editor with a better `InlineToolbar`
- A draft system to retrieve unpublished content
- Test NTFStorage UCAN (We want that instead of Pinata)