Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: navigate multiple level at the same time #136

Closed
schneiderlin opened this issue Aug 28, 2022 · 1 comment
Closed

Feature request: navigate multiple level at the same time #136

schneiderlin opened this issue Aug 28, 2022 · 1 comment

Comments

@schneiderlin
Copy link

thanks for the great tool!

screenshot from hacker news demo
image
currently, if I click on the item id. it would just return the id as a value.

I want the user to be able to supply a nav function in meta similar to this

(defn nav-multiple [_coll k v]
    (if (= k [:submitted :nth])
      (let [item-id v]
        (nav-item item-id))
      v))

when the id is clicked, invoke nav-item. achieve the same effect as clicking on the submitted vector, then click on the id.

might be related to #77

@djblue djblue closed this as completed in e78a175 Aug 30, 2022
@djblue
Copy link
Owner

djblue commented Aug 30, 2022

@schneiderlin Good catch, I think attaching metadata directly to the sub collections should do the trick 👌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants