Editor - Waiviogit/waivio GitHub Wiki
Only an authorized user can create posts, no difference is the hive user or the guest.
To open the editor, you can click on the pencil picture in the header or on the "Write quick post" block in feeds (Trending, Hot, New, My feed, and other feeds).
- when open the editor, the cursor is in the field for writing text
- if the cursor is in the title field, the field is highlighted
- the maximum number of characters in the title field is - 255, when entering 256 - a character cannot be entered, a notification is displayed "Title can't be longer than 255 characters."
- Placeholders:
- title - Title
- field for text - Write your story...
- field for search - Search by name
A status that displays the status of changes. If nothing is entered in the editor, only open, there is no status. If something was entered, added, then it will be displayed.
During saving - "Saving..." with a red dot at the beginning.
With a successful save - "Saved" with a green dot at the beginning.
After 1.5 seconds of inactivity, the draft is saved
Button "Ready to publish" blocked if one of the fields is empty (title, context).
A field for inserting an object link opens. This is the object search field. After searching for an object and clicking on it, the field will collapse the object will be added - a link in the text and a card under the field
- if the cursor is in the field for writing text, then it is highlighted (as in the title)
- so that the cursor does not jump to the end, after adding something
- so that the cursor does not twitch after adding something
vokoscreen-2021-04-16_14-40-18.mp4
Right sidebar showing 4 most recent drafts. The most recent draft is the topmost. After 1.5 seconds of inactivity, the draft is saved
Right sidebar. Drafts | |
---|---|
SIDEBAR TITLE |
"Last drafts" |
DRAFT TITLE |
the title of the title is pulled up from the title of the post. If no title has been entered, it will be saved with the name "Untitled draft". |
TIME |
time saving last changes |
SHOW MORE |
link to go to the drafts page |
vokoscreen-2021-04-22_13-53-18.mp4
Right sidebar of the ability to create new objects. After clicking on one of the items, a modal opens to add an object with a locked type of object that you clicked on.
New object | |
---|---|
TITLE |
"Create new object" |
INITIAL LIST |
5 types of objects are displayed:
|
SHOW MORE |
link to increase the list by 5 points. When the list is over, the link disappears |
Modal window to display the post in the final result. The modal window opens after clicking on "Ready to publish" button.
MODAL WINDOW TITLE |
"Preview" |
CLOSE |
cross button, to close the modal window, return to the post writing mode |
POST TITLE |
post title display |
POST |
directly the post itself, with the display of all video elements, pictures, etc. |
HASHTAGS |
field for adding a hashtag. You need to enter the name of the hashtag and click on the enter - the hashtag will appear. Placeholder - "Add hashtags (without #) here) |
LEGAL |
checkbox for confirming a legal agreement to publish a post on the blockchain. Text: "I understand that this post will be published on the Hive social blockchain and that it could be reproduced on many websites around the world. I also acknowledge that the content and images in this post do not infringe the rights of other parties.". After activating the checkbox, you can publish the post, the button "Publish" is activated. |
ADVANCED SETTINGS | advanced settings are different for the guest-user and for the hive-user |
Guest | Advanced setting |
---|---|
AREA |
after clicking on the area with the inscription "Advance settings", a block with additional parameters will open |
REWARD |
"Reward: 100% Hive Power" |
BENEFICIARIES |
Text if guest-user doesn't have a linked hive account "Share 3% of this post rewards with Waivio", and if he has a linked hive account "Share 3% of this post rewards with Waivio and 97% {hiveAccount}". |
NOTE |
"Note: Guest accounts can not change these settings" |
OBJECT WEIGHTS |
if there are no attached objects in the post, then nothing is displayed. If there are objects in the post, then the overall progress bar is displayed - 100%, it cannot be changed. And below there is a conditional list with the name of the object and the progress bar, the percentage of the total. By default, percentages are distributed evenly, that is, 1 object - 100%, 2 objects - 50% each, etc. The percentage of objects can be changed. If there is only one object, then one general progress bar is displayed |
Hive-user | Advanced setting |
---|---|
AREA |
after clicking on the area with the inscription "Advance settings", a block with additional parameters will open |
REWARD |
drop-down to select an option to receive a reward.
The default is "50% HBD and HP" |
LIKE |
checkbox, after activation, so that after the post is published on the post, the author is immediately liked |
BENEFICIARIES |
field for user search. You can add a user who will receive a certain percentage of the post reward. Below is a conditional list of users with a progress bar that receive rewards for the post:
|
OBJECT WEIGHTS |
if there are no attached objects in the post, then nothing is displayed. If there are objects in the post, then the overall progress bar is displayed - 100%, it cannot be changed. And below there is a conditional list with the name of the object and the progress bar, the percentage of the total. By default, percentages are distributed evenly, that is, 1 object - 100%, 2 objects - 50% each, etc. The percentage of objects can be changed. If there is only one object, then one general progress bar is displayed |
-
if the user typed the # symbol, then a dropdown opens immediately with a search for hashtags & objects (like in Discord); if the user selects an object, then it is inserted in the usual way, if there are no more entries, then we simply highlight the first word (up to the first space) as hashtag and continue typing #2165
-
the list of predictions should not disappear by space, but only if nothing has already been found #4051
-
when Copy / Paste text containing pictures from URLs, the pictures must be transferred to the editor with the same URLs and displayed immediately. This will make it much easier to create Page objects from posts. https://github.com/Waiviogit/waivio/issues/2635
Name | Link |
---|---|
YouTube | https://www.youtube.com/ |
YouTube Shorts | https://www.youtube.com/shorts/ |
BitChute | https://www.bitchute.com/ |
Rumble | https://rumble.com/ |
Vimeo | https://vimeo.com/ |
DTube | https://d.tube/ |
3Speak | https://3speak.tv/ |
Odysee | https://odysee.com/ |
Twitch | https://www.twitch.tv/ |
PeerTube | https://media.zat.im/videos/local |
TikTok | https://www.tiktok.com/en/ |
https://www.instagram.com/ | |
https://www.facebook.com/ |
- under the editor, you need to repeat the drafts from the right column, which is on the desktop. Otherwise, you won't be able to reach the draft at all. #4218
- [editor / comments] object search with # should work in comments #4364
- If there are no tags on waivio, and the user wrote them in editor, then it needs to be added to json_metadata in tags #5431
- Increase image size to 30 MB #6070
- [comments / links] in the comment there was a link to pacific.dining.gifts, however, when displayed on Waivio, it was replaced by waivio.com. In this case, there should be no substitution for the local host. #6190
- [social.gifts / default hashtag] the hashtag is added by default, but if the user wants to delete it, he must have this option. #6155
- Add an empty line and cursor before the links in editor after clicking Write a new review and when writing review #6249
- [guest / post beneficiaries] Allow guest users to add and change post beneficiaries in the editor #6422
- [data import / duplicates] during repeated imports, if the pictures are saved locally, they are duplicated each time. Suggestion: form the file name from the checksum of the image to avoid duplicates #6681 - it is for all images. A checksum is always created when we upload an image on Waivio, not only during import.
- The default links we're adding to the editor does not have the original site host on external resources after clicking "Write Review" and publishing a post on sites and Waivio #7010
- [social.gifts / comments] Links to objects in comments and posts on social.gifts should lead not to Waivio, but to this social.gifts site. Otherwise, owners lose interest in linking posts to objects. #6945