#Shimatta

Showing all posts tagged with #Shimatta on Self portrait 01 big Daniel Puglisi's profile

Ok. #tags auto linking is now live. #tags within the post are only used for referencing and do not tag the post itself. This might lead to confusion in the future. Will definitely keep an eye on this in terms of usability.

One reason for this is that we don't want users to spam #tags at the end of a post. That's why we limited tag usage to three. Another reason is if I want this post to show up under /daniel/tags/Shimatta I would have to explicitly add a #Shimatta tag. What if that word doesn't even appear in the content of the post? Having a separate tags field gets rid of artificially adding #tags and makes categorizing posts and the content itself a lot cleaner.

or Cancel

An update to the referencing posts feature:

Actually the timestamp URL could be used. The question is how do you reference other posts? I was thinking that you somehow use the unique ID of a post (e.g. post:3041). But wouldn't that be too complicated? Why not just enter the link to another post and let the parsing of the content take care of the rest. But then again, the timestamp URL maybe not be the best solution. Because what if in the future your are able to move a post from your personal feed to another? The timestamp URL had no chance to stay linked with the new location. With the ID URL it would still work.

or Cancel

I want to add support for referencing posts in the future. Similar to how commits can be referenced on GitHub with its SHA id. The old slug was a combination of the feed slug and the posts timestamp. This wouldn't allow for referencing posts globally. I thought about adding a solution which generates a unique random string like this (inspired from here):

# NOTE: We hardcode this for better performance
chars = [
  "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z",
  "0", "1", "2", "3", "4", "5", "6", "7", "8", "9"
]
[].fill(0,7){chars.sample}.join

but in the end I think this would have been an overkill and we just settled for using the regular ID of a post.

or Cancel

Optimizations for the #tags input field are now live.

w00t

or Cancel

I'm currently improving the user experience for the #tags input field. It mostly comes down to some JavaScript functions that only allow certain characters, inserting a hash (#) when starting to type a tag and only allowing three tags to be added.

Here are some links I've used during development:

And here is a snippet that only allows letters and digits to be inputted into an input field:

$("body").on 'keypress', "input[type=text]", (e) ->
  if /^([a-zA-Z0-9\s#])$/.test(String.fromCharCode(parseInt(e.keyCode)))
    return true
  else
    return false
or Cancel

A basic editing feature is live now. Moved the #tags from the left side to the bottom of the note to match with the editor. Not perfectly happy with it but I think it works for now.

or Cancel

Well, adding a good edit system is harder than I thought. Just using the same form for creating posts does not really cut it. One possibility would be to create an overlay editor that opens up when creating a new post or editing one but I don't know. I kinda like just opening up Shimatta and using the current editor because it feels so simple and merges into the feed perfectly. I guess I'll sleep on this for now and rethink that whole thing.

or Cancel

Next up on Shimatta will be an edit feature for notes.

In the beginning I didn't want to add edit functionality because I wanted users to focus on publishing thoughts and not on editing them. The thing is I don't care that much about grammar or typos as long as the content can be understood and absorbed. If you're not happy with a note just delete it and create a new one. Which in retrospect isn't really user friendly. I think there are and will be some use cases in the future that makes editing your posts helpful.

Just to make one example:

You're on a train commuting to work and want to write down some quick thoughts. This has to go fast because your train arrives in a few minutes. Not having the ability to edit your notes later might cause you not to post the thoughts on Shimatta in the first place because you can't dive deeper into them when you have the time later that day.

There is also the argument that users think twice before they hit publish if they can't edit that post later. But that argument goes both ways.

Anyway, edit will come. Stay tuned.

or Cancel

#tags are now live!

Users on Shimatta can now add up to three tags to their notes. We added that restriction so users only use tags which actually have relevance. At least that's the case for me. My Evernote is full with tags I've used a single time. Not really useful. I'll add auto completion sometime in the future when I've the time.

Tags within the body of a note are just for referencing for now (actually referencing does not work yet but will soon hehe).

or Cancel

Since the beginning of this year I started to get more serious with taking notes while reading. I started using the Notes app that ships with iOS because it felt so easy just creating new notes and tapping away. While the app is great for capturing my thoughts I never really look them up again. I also want to have all my thoughts in the same place.

So while reading Sapiens today I was thinking "yeah, write that down here on Shimatta." But I didn't. Just posting a learning from a random book kind of seemed weird to me. I need something that I can categorise my posts with:

#tags

Tadaaa.

I know... Not that innovative you might think. True, but it's simple. It's the simplest solution that gets me from taking notes on the Notes app to posting them here because I don't feel like they will get lost in a random stream of thoughts anymore.

or Cancel