Giter Site home page Giter Site logo

Comments (2)

punkish avatar punkish commented on July 28, 2024

this is a website bug. In fact, there are two related website bugs, but first, if the query were to be made correctly, it would be http://z2.punkish.org/v2/treatments?facets=true&stats=true&journalTitle=European%20Jornal%20of%20Taxonomy which would result in 20 record as the facet suggested

{
  "value": {
    "search-criteria": {
      "journalTitle": "European Jornal of Taxonomy",
      "page": "1",
      "path": "treatments",
      "size": "30",
      "sortBy": "treatmentId:ASC",
      "xml": "false"
    },
    "num-of-records": 20,
    "_links": {
      "self": {
        "href": "http://z2.punkish.org/v2/treatments?journalTitle=European Jornal of Taxonomy&page=1&size=30&sortBy=treatmentId:ASC&xml=false"
      },
      "prev": {
        "href": "http://z2.punkish.org/v2/treatments?journalTitle=European Jornal of Taxonomy&page=1&size=30&sortBy=treatmentId:ASC&xml=false"
      },
      "next": {
        "href": "http://z2.punkish.org/v2/treatments?journalTitle=European Jornal of Taxonomy&page=1&size=30&sortBy=treatmentId:ASC&xml=false"
      }
    },

The two problems with the website:

  1. When checking the facet, the query did not change
  2. The website, strangely, reverted back to a page with no results (the standard starting page)

two bonus bugs or issues with the website

  • a relatively minor UI issue, at least on my browser (Safari), I am not able to really click on the facet checkboxes easily. The checkbox works if I click on the label, but I can't seem to click on the box itself. Could be a CSS issue. As a user @myrmoteras should also test these kinds of issues.

  • this second one is a rather problematic one that I just noticed. The website URL doesn't change at all. I find the API call displayed to be very helpful while testing the website, thanks for that, but I hope the website URL will be updated with every click. I website that doesn't update the URL (usually a POST action, although this one does seem to be correctly using GET) would break all tenets of the semantic, linked web. One wouldn't be able to bookmark or share URLs. I hope the current behavior will be changed appropriately.

Note: I will try to assign only @teodorgeorgiev to this

from blr-website.

teodorgeorgiev avatar teodorgeorgiev commented on July 28, 2024

@tcatapano - all fixed, please check.
All query parameters have been added to the URL, so now you can share searches and report problems.
With regards to the Safari issue - we couldn't make to reproduce it, but so far we have tested only on Safari on a virtual box. Sorry, no MAC at home :)

from blr-website.

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.