loading...
Cover image for Experimenting with directNavigation()

Experimenting with directNavigation()

gndclouds profile image William Felker Updated on ใƒป1 min read

In an early build of are.na, you could click on the channel name to edit it. Although it was a little hard to discover this feature and it was ultimately removed. It always felt rather delightful to edit content without the need for clicking on an icon or opening an editor.

So I experimented a bit with how to apply this concept to my wiki and created a new way to navigate. If I want to change pages on my wiki, I just click the page title (which is actually an input field) and enter the page path.

That's where my experiment with directNavagation currently stands but in the future, it would be fun to try:

  • Adding in Search + autocomplete instead of needing to know the page paths.
  • Creating better cursor hover effects similar to mouse support in iPadOS.
  • Creating a way for this to be discovered organically.
  • Add a hover state which also allows you to go back to the home page.

If you have ideas about how to make the code cleaner or any next steps, please let me know. I'm always looking to get better at coding best practices. In the meantime, a demo lives on Glitch.

I have been using my wiki as a way to try out mini code experiments and have been documenting my process on futureland.

Posted on by:

gndclouds profile

William Felker

@gndclouds

๐Ÿ›ธ Indiepreneur @tiny_factories | Used to brainstorm @IDEO & prototype @Intel & @ideocolab & @IFTTT & @PARCinc | EDU @ccaixd

Discussion

markdown guide