scripting / Scripting-News

I'm starting to use GitHub for work on my blog. Why not? It's got good communication and collaboration tools. Why not hook it up to a blog?
121 stars 10 forks source link

Tagging in Scripting News #218

Open scripting opened 3 years ago

scripting commented 3 years ago

A new feature this morning, tagging.

http://scripting.com/2021/07/22/135636.html?title=taggingInMyBlog

Please post any questions or comments in this thread.

mistersugar commented 3 years ago

Awesome new feature.

FYI, when I click on a tag, I get the dialog window and in the text I see the tag with additional brackets like this:

&lsb;[[[RSS]]]]

and

&lsb;[[[FeedBurner]]]]

I am on a Mac using Firefox.

scripting commented 3 years ago

You have to force a reload of the page.

scripting commented 3 years ago

@mistersugar -- did that fix the problem?

mistersugar commented 3 years ago

@scripting yes, a force reload fixed the problem.

fmcpherson commented 3 years ago

I think square brackets around text in a web page hurts readability. In published, HTML mode, this is really a hyperlink for which there is prior art. I would place tags, generally prefixed with a hash, at the end of a block of text. (Double or square brackets in Logseq and Roam are editing markup constructs not publishing.)

scripting commented 3 years ago

Thanks for the feedback Frank. I am aware that there is a tradeoff, and made the choice deliberately. Give it some time, these things are jarring at first but sometimes the strangeness fades. That's why I did this first on [[scripting news]] before deploying it in other contexts.

drewkime commented 3 years ago

Love the new feature. Minor UI issues.

  1. The RSS link has several items under it. I first clicked the link on my phone in landscape mode. The fixed height of the modal meant the last (one-line) item was off the bottom of the screen, as was the "Close" button.

  2. It looks like you're not doing any kind of overflow/read-more type functionality. Since each of these tags seems to display the entire containing doc, this will be uncomfortably long for anyone who does more long-form writing.

scripting commented 3 years ago

Thanks for the comment and encouragement @drewkime. 👍

ReallySean commented 3 years ago

On mac in safari, once I click on a tag, then click the close button, it reloads the page instead of taking me back to where I was...

cadars commented 3 years ago

On mac in safari, once I click on a tag, then click the close button, it reloads the page instead of taking me back to where I was...

Changing the close button link to #_ would prevent the jump to the top of the page.

(See this technique in action here, in this case for a CSS-only image lightbox)

scripting commented 3 years ago

@ReallySean -- thanks for the report.

I was able to fix the problem as @cadars suggested.

Be sure to do a full reload to get the new version of the dialog.

This is a really good thing to get right.