sunya9 / beta Goto Github PK
View Code? Open in Web Editor NEWpnut.io web client.
Home Page: https://beta.pnut.io
License: MIT License
pnut.io web client.
Home Page: https://beta.pnut.io
License: MIT License
When posting an imgur image, get the image's width and height and embed it in the post using the oembed
spec (similar to https://github.com/appdotnet/object-metadata/blob/master/annotations/net.app.core.oembed.md)
Changing https://github.com/sunya9/beta/blob/v1.7.0/components/Post.vue#L233 to thumb: r.value.thumbnail_url || r.value.url
loads the thumbnail from oembed if possible. But the image plugin then keeps the ratio of the thumbnail (square) on resizing to the full image, which is not appropriate.
New posts at the top aren't selectable with j/k.
Links try to open in the web page.
https://beta.unsweets.net/posts/78168
The link should be https://github.com/bazbt3/pnut_io_stuff/wiki/WednesdayChallenge, but it tries to open https://beta.unsweets.net/bazbt3/pnut_io_stuff/wiki/WednesdayChallenge
Button to reply to all mentioned users in a post.
I recommend reposts link to the thread of the original post, not the repost, since reposts themselves cannot be reposted, replied to, or interacted with in any way.
Add option to hide posts with leading mentions of users you do not follow from "Your Stream".
https://pnut.io/docs/api/resources/posts#general-post-parameters
The since_id
on the refresh is set to the first post, not the last. After the first refresh, it's set properly.
Macで
For now, that's more accurate, and probably tells people better how to use it.
When a user profile contains an @-mention, I'd expect it to be a link to the mentioned users profile.
But it isn't highlighted, and has no action when tapped/clicked.
*and Post button when it's active
We'll need a standard way to store preferences, with redis, localStorage, cookies... whatever it be, I'm not familiar with vue's handling of client<->server handling with SSR. Pull #59 doesn't handle preferences right.
There's a symbol below a post's text that indicates if there's more than one post in the conversation.
I expect it to take me to a different view than either the post creation time (left of it) or the text "Reply...". However it opens a view that immediately opens a keyboard on mobile, hiding most of the conversation I want to see in the first place.
Suggestion: Hide the textbox for replying when this symbol is clicked, or separate it from the other symbol so it dosn't look actionable.
When pulling up a thread by post, for example, https://beta.unsweets.net/@blumenkraft/posts/125560, highlight the post the selected post is replying to. (in this case, highlight post 125548)
On replies, it's more natural to say "This post replied to by @-username."
When typeof user.name === 'undefined'
, use the username in the page title.
Edit: on post pages, e.g., https://beta.unsweets.net/posts/81682
🚨 You need to enable Continuous Integration on all branches of this repository. 🚨
To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because we are using your CI build statuses to figure out when to notify you about breaking changes.
Since we did not receive a CI status on the greenkeeper/initial
branch, we assume that you still need to configure it.
If you have already set up a CI for this repository, you might need to check your configuration. Make sure it will run on all new branches. If you don’t want it to run on every branch, you can whitelist branches starting with greenkeeper/
.
We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.
Once you have installed CI on this repository, you’ll need to re-trigger Greenkeeper’s initial Pull Request. To do this, please delete the greenkeeper/initial
branch in this repository, and then remove and re-add this repository to the Greenkeeper integration’s white list on Github. You'll find this list on your repo or organiszation’s settings page, under Installed GitHub Apps.
Tag and user views can link to the RSS for their streams:
Sometimes breaks: https://beta.unsweets.net/posts/78139
Sometimes my streams seem to be missing posts. I've seen posts missing in Global by @jaminguy
, or just now, I created a post which shows up in other clients in all streams, but it (my own post) doesn't show on beta, in Global, or my timeline... Even though 1) I created it on Beta, 2) posts after it show up, 3) my post shows up in other clients.
Tags can have emoji and other non-ASCII characters. May need to use an nginx regex or something to interpret what tag is being referenced.
E.g., https://beta.unsweets.net/tags/🐝
e.g., https://beta.unsweets.net/@33MHz when logged out
Nuxt.js Error:
TypeError: Cannot read property 'id' of null
at VueComponent.render (0.server-bundle.js:1718:92)
at VueComponent.Vue._render (/usr/src/app/node_modules/vue/dist/vue.runtime.common.js:3605:22)
at renderComponent (/usr/src/app/node_modules/vue-server-renderer/build.js:6698:25)
at RenderContext.renderNode (/usr/src/app/node_modules/vue-server-renderer/build.js:6681:7)
at RenderContext.next (/usr/src/app/node_modules/vue-server-renderer/build.js:169:14)
at cachedWrite (/usr/src/app/node_modules/vue-server-renderer/build.js:30:9)
at renderElement (/usr/src/app/node_modules/vue-server-renderer/build.js:6741:5)
at RenderContext.renderNode (/usr/src/app/node_modules/vue-server-renderer/build.js:6685:7)
at RenderContext.next (/usr/src/app/node_modules/vue-server-renderer/build.js:169:14)
at cachedWrite (/usr/src/app/node_modules/vue-server-renderer/build.js:30:9)
On mobile, particularly, this would be great.
When posting with the modal dialog, I'm sometimes not sure if (and when) the post has been sent successfully. I switch between apps and devices fast, and would like to know when I can push the Chrome mobile tab to the background.
My expectation from other clients would be to show some non-modal overlay for a short while (e.g. "Post sent successfully"). While not technically necessary, it could increase confidence of the users in the UI.
How do you think about displaying a confirmation that a post has been sent?
Usernames are saved case-sensitive, so comparison of who is replying needs to be toLowerCase()
. E.g., my username is 33MHz
, and replying to a post of my own currently pre-populates the Reply box with @33MHz
.
Add a setting to switch between these for Your Stream:
https://beta.unsweets.net/@nbrinson
Nuxt.js Error:
TypeError: Cannot read property 'parent' of undefined
at Function.exports.update (/usr/src/app/node_modules/cheerio/lib/parse.js:55:25)
at module.exports (/usr/src/app/node_modules/cheerio/lib/parse.js:17:11)
at Function.exports.load (/usr/src/app/node_modules/cheerio/lib/static.js:22:14)
at VueComponent.html (1.server-bundle.js:1962:63)
at Watcher.get (/usr/src/app/node_modules/vue/dist/vue.runtime.common.js:2465:25)
at Watcher.evaluate (/usr/src/app/node_modules/vue/dist/vue.runtime.common.js:2565:21)
at VueComponent.computedGetter [as html] (/usr/src/app/node_modules/vue/dist/vue.runtime.common.js:2809:17)
at VueComponent.render (1.server-bundle.js:2194:30)
at VueComponent.Vue._render (/usr/src/app/node_modules/vue/dist/vue.runtime.common.js:3605:22)
at renderComponent (/usr/src/app/node_modules/vue-server-renderer/build.js:6698:25)
at RenderContext.renderNode (/usr/src/app/node_modules/vue-server-renderer/build.js:6681:7)
at RenderContext.next (/usr/src/app/node_modules/vue-server-renderer/build.js:169:14)
at cachedWrite (/usr/src/app/node_modules/vue-server-renderer/build.js:30:9)
at renderElement (/usr/src/app/node_modules/vue-server-renderer/build.js:6741:5)
at RenderContext.renderNode (/usr/src/app/node_modules/vue-server-renderer/build.js:6685:7)
at RenderContext.next (/usr/src/app/node_modules/vue-server-renderer/build.js:169:14)
Instead of displaying "4 weeks ago", show "12 Mar 17" or similar.
Sometimes I start writing a post in the "My stream" view, but don't finish and send it. When I continue browsing, I find it irritating that the unfinished text stays in the textbox.
I'd rather tap/click a "Cancel" button next to the "Post" one that simply deletes the unfinished post.
Totally round avatars frustrates some people. Just having the option to make them square would be nice.
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.