capsulesocial / capsule-vue Goto Github PK
View Code? Open in Web Editor NEWBlogchain's web application, decentralised discourse and publishing on web3.
Home Page: https://blogchain.app
License: GNU Affero General Public License v3.0
Blogchain's web application, decentralised discourse and publishing on web3.
Home Page: https://blogchain.app
License: GNU Affero General Public License v3.0
Posted comments are being displayed in reverse order as they should be. Show most recent comments at top.
Start date: 21.09.21
Estimated end date: 21.09.21
When logging out, I'm getting this error:
Error: Key 'blogchain-auth-admin' does not exist. Key not found in database [/info/blogchain-auth-admin]
at Keychain.findKeyByName (index.js?91cd:287)
at async Keychain.removeKey (index.js?91cd:303)
Source: components/Header.vue logout method
const node = this.$getNode()
// Remove a user's key from keychain when they logout
await node.key.rm(`blogchain-auth-${this.$store.state.session.id}`)
this.endSession()
This may be caused by using the admin bypass when logging in. This issue may become irrelevant with the NEAR branch merge
When you remove a bookmark, that bookmark is still appearing on the bookmarks list on your profile but with bookmarked: false.
In the posts feed, these are the calls being made to the backend:
[1] GET: /content/tags
[1] GET: /content?sort=NEW&offset=0&limit=10&bookmarker=tom
[1] GET: /repost?authorID=tom&sort=NEW
[1] GET: /bookmark/tom/bafyreidb7agoj5f4cii32sbuoyddkc7cpqrt2iyjg6i5po5wam5keoiesy
[1] GET: /bookmark/tom/bafyreiamg4zuxujullh42bptlnfl2ksqohcxls4ozfcu3rntdnnrft3bvq
[1] GET: /bookmark/tom/bafyreibz335w2owf55in5y5ne67q4mhmxdodvf2q6yki5s4mlejfpl2rrq
[1] GET: /bookmark/tom/bafyreia2tgkkk4lg5bfabodgza2zxwi3mggzlbzb2pauyusbeq3dpsfmne
[1] GET: /bookmark/tom/bafyreidhabogixo7e7z4tupc7ikiwnevabwmwyuppo3txxvazlnt6dbx5a
[1] GET: /bookmark/tom/bafyreif6bcollvovwxkjqz2l2ikcs4hyyj3toz7f2e67htetldvkhw5cm4
[1] GET: /bookmark/tom/bafyreieun42zrm332kjo7s5ldz5eu6iuwokyxi64wri4dfizmlzhjhdtzy
[1] GET: /bookmark/tom/bafyreicos6mnd7kl5dxy3phmpzxf7hhr77dc6nti4bh6iypxlubr6a3z2y
[1] GET: /bookmark/tom/bafyreig7zhcdr2p5tceulzzi4da3rdt6z23d7bdyyvu2exadsrwridfkre
[1] GET: /bookmark/tom/bafyreig676dzyksqmssk4moj2hc5syg4uac6zbhcm4jdt2svjc2rjtbypy
Calls to /bookmark/tom/<CID>
in the posts feed are not required. When you fetch posts (/content?sort=NEW&offset=0&limit=10&bookmarker=tom
), it contains a bookmarked
flag (See example response: https://github.com/capsulesocial/capsule-orbit/blob/main/docs/content.md#response-1) which indicates whether or not a the post has been bookmarked by the logged-in user (aka bookmarker
in the query parameter).
When a new post is created, the tags persist in the editor for the next post too.
Currently lists aren't properly formatted with indentation and bulleting format.
https://yabwe.github.io/medium-editor/
estimated start date: 24.09.2021
On a profile page, display a list of profiles who are following or follow a user.
Followers mock-up: https://app.zeplin.io/project/603e81e66a60d1a5df091ddb/screen/614432c86d0ba321d93b5a7d
Following mock-up: https://app.zeplin.io/project/603e81e66a60d1a5df091ddb/screen/61443340fcb613264addec3a
Move repost button from share dropdown to main card
Expected start date: 21.09.2021
Expected Completion date: 22.09.2021
It would be great to give the ability to the user to choose his own capsule-orbit node. We can do that by adding an "advanced" settings tab, where there will be a text field that can be filled with your preferred node URL. That URL will be stored in the $store, where it will be picked up by the "backend" on load.
Pagination for getCommentsOfUser
is already implemented on capsule-orbit. The implementation is exactly the same to the feed pagination.
Given this is ready: https://github.com/capsulesocial/capsule-orbit/pull/44 I can start implementing that in the frontend.
@jackdishman I will provide a getCommentsOfUser(authorID: string)
method for you.
We store profile data in the app's store. In some places we retrieve the profile from the store and in others we retrieve the profile through IPFS.
So when the profile is updated from another instance of the app, there are some places that have the profile kept the same as before and others that the profile is updated.
Possible Solution:
Whenever a profile is needed, retrieve it from the store but also, make an async call to ipfs and update it if there is a change.
I can access this post by navigating to it from the news feed, but not when I click the direct link:
https://test-node.capsule.social/post/Qmd4DTjpsf3iyMuQQzMZw7ffCt1tRriwmf1XJHqVJB6Zfj
Implement the bookmarks feature on the frontend. The action on a Post must be implemented and also fetching bookmarks of a user to display on a profile page
Estimated start date: Oct 18
Estimated completion date: Oct 22
Steps to reproduce:
Duplicate posts are shown when you visit someone's profile. This goes away on page-refresh.
To replicate, you can simply try to visit someone's profile from your feed.
Note: This same issue was also found in Categories.
@jackdishman Do you mind taking a look?
Remove old Text editor and replace with Quill
Start date: Oct 12
Estimated completion date: Oct 18
Check out the video. If you exit a bullet list, then for some time, you can't make another one. Also, how do you exit a bullet list without deleting the whole list? xD
For pagination on feeds to get posts including
mock-ups here: https://app.zeplin.io/project/603e81e66a60d1a5df091ddb/screen/6144330c2be2f728e1aaca08
The X button tries to pop the last entry from the history stack to navigate to. When the article is accessed through the app, the X button behaves as expected.
When an article is loaded directly from the link (either through opening it on a new tab or by opening a new tab and pasting the link), things can get unexpected. Either the X button won't lead anywhere (because there is no history to pop) or it will open the new tab page (because that was the last history entry).
Expected behaviour:
Only navigate to a history entry if it is a capsule.social entry. In any other case, if the previous history entry is not capsule.social, navigate to home.
Implement functions that can be called to add / remove / retrieve bookmarks.
Deadline: 14th October
Create a config file so that connection to smart contract on NEAR network is easily switch-able, similar to: https://github.com/near/create-near-app/blob/master/templates/vanilla/src/config.js
Prioritised due to recent incidents on testnet due to which it was down on 16th Sept, 2021: https://status.nearprotocol.com/
Dependencies: deploy capsule-near smart contract on desired networks of NEAR
Estimated start date: 22nd September, 2021
Estimated completion date: 22nd September, 2021
Getting the following error while creating a post: Error: multihash too short. must be > 2 bytes.
Seems a validation issue.
Add the frontend functions to interface with the repost feature.
https://github.com/capsulesocial/capsule-orbit/pull/41
DL: 22/9
When I update my avatar in settings page, the avatar on that page and on the home page gets automatically updated once my NEAR profile is successfully set. However, if I go to my profile the avatar doesn't get updated until I hit the refresh button.
I suppose it has got something to do with caching, but I am not too sure.
Implement backend function that can be called to delete a post
Deadline: 21st October, 2021
Presently, we send encrypted content signing key and encrypted NEAR access key to capsule-server on registration. In order to eliminate capsule-server, we must stop sending these keys to capsule-server.
Store NEAR access key in localStorage instead. Do not remove it from localStorage after a user logs out.
Add the ability to delete a post to the frontend
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.