Code Monkey home page Code Monkey logo

Comments (5)

peteretelej avatar peteretelej commented on May 18, 2024

A user who wants to reload could just use "F5" - unless I misunderstand what that link does

the reload button doesn't perform a page reload. It updates the bookmark results via ajax

from shiori.

skx avatar skx commented on May 18, 2024

Ahh I misunderstood its purpose then! But regardless it would be nice to see a tag list/cloud page.

Looking at the code I think this will be pretty simple. I will submit a pull-request later in the day.

Edit: This turned out to be harder than I thought. I updated sqlite.go + database.go to add a new function:

      // FetchTags returns all the unique tags, and their use-count
      FetchTags() (map[string]int, error)

Then I updated the server to use that:

      router.GET("/tags", serveTagsPage)

However that's probably not the right way to go. I suspect instead I should be using an AJAX call beneath /api/tags and that is beyond me because fileb0x fails to regenerate my assets ("Token too long").

I'll leave this open as a wishlist, and hope it is accepted in the future.

:)

from shiori.

skx avatar skx commented on May 18, 2024

Looks like this has been implemented in :

I'll close.

from shiori.

RadhiFadlillah avatar RadhiFadlillah commented on May 18, 2024

@skx I've merged it in eee3dc7. Could you check it out ?

from shiori.

skx avatar skx commented on May 18, 2024

Looks great, I'm happy to close this.

I'm sure I'm not alone in appreciating how responsive you've been to issues and pull-requests. :)

from shiori.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.