Author Topic: Use of the Browser History API  (Read 3201 times)

xian

  • Newbie
  • *
  • Posts: 5
    • View Profile
    • Email
Use of the Browser History API
« on: May 16, 2016, 11:42:21 AM »
Given that Feng is ajax driven it would make a TON of sense to update the URL and browser history.  We know that generated emails will send direct URLs to tasks or whatever so there's no reason that the JS can't update the URI with these direct links making it easier for colleagues to simply copy/paste their browser url in an email or IM to share a given task or note, or whatever.

I imagine this would be rather low hanging fruit too.

https://css-tricks.com/using-the-html5-history-api/

natalia.martinez

  • Administrator
  • Jr. Member
  • *****
  • Posts: 69
    • View Profile
Re: Use of the Browser History API
« Reply #1 on: August 04, 2016, 12:31:53 PM »
Hi Xian,

Many thanks for this suggestion!

Currently, you have a configuration for showing the direct URL on every object view.
You can enable this going to: user preferences - general - show direct object urls
If this is enabled, when opening an object (a note, for example), you will find the direct url below the note content section.

Hope this helps  :)

Natalia

williamvhale

  • Newbie
  • *
  • Posts: 1
    • View Profile
    • Cheap essay writing service
Re: Use of the Browser History API
« Reply #2 on: March 16, 2020, 08:05:13 AM »
History API gives developers the ability to modify a website's URL without a full page refresh. This is particularly useful for loading portions of a page with JavaScript, such that the content is significantly different and warrants a new URL.

 

anything