My progress in HTML export.

"Paul-Erik Törrönen" poltsi at 777-team.org
Tue Jul 15 02:31:24 PDT 2014


> If you have time and want to implement a worldmap integration to the
> logbook export, it sure would be a nice to have feature. Of course it
> would
> be nice to know if other people are interested in using such feature with
> the HTML export.

Are you referring to 'the worldmap integration' which Gehad did previously
(which showed all the dive locations, but only the latest dive done in
that particular place), or 'a integration' of an unspecified kind?

If the latter, then I as a user would be satisfied by having merely a
GPS-link to Google Maps which pops up a new browser window with the
location. At this point.

Having a real worldmap where you can see all the dive sites (and all the
dives in each site) would be cool, but IMHO is more bells and whistles,
that can be added later on.

FWIW some issues:

When I currently click on the location link of a specific dive (eg.
Helsinki-Meri Oxelhuvud), I get a search result which lists a number of
dives, all starting with 'Helsinki-Meri' (Helsinki-Meri Tiilihylky,
Helsinki-Meri Gustav Adolf, Helsinki-Meri Coolaroo...), but which are
actually different spots outside the Helsinki coast (meri means sea).
Seems that the search does not handle spaces in the search string.

--

The order issue which I reported earlier still exists, in a more
complicated case. It can be seen with the following sequence:

1. Enter a valid search word, get a list of matching dives
2. Expand one of the dives, you see the dive details inline in the list
3. Empty the search, you get the full dive list starting with #1
4. Click on the 'Number' column header, nothing happens
5. Click again on the 'Number' column header, the list order is reversed

--

Changing the number of dives listed in a search list shows all dives

1. Enter a valid search word, get a list of matching dives
2. Change the number of displayed dives from the droplist, all dives are
displayed, even with the search word in the search input

--

Search result is not shown in the previously selected ordering

1. Set the sorting order by clicking on the 'Number' column header
2. Type a search word (which exists in multiple places, eg. tags and
notes) into the search input. The list is now not ordered according to
your previous sorting order

Seems that the search list is populated looking at one source (location,
divemaster, buddy, notes and tags), at a time.

--

The tag-links in 'show more details'-page seems to be broken. Nothing
happens when I click on them.

However if I, in the 'show more details'-page, then click on the 'Back to
List' button, I get an empty list with the search word I clicked last on
in the search input. The footer says something like '388 to 26 of 26
dives' which does not make any sense. Clicking on the left arrow, until
the 388-number is less than the 26, and the dives are displayed. Seems
like the script is using the wrong number here.

--

If there are no notes for the dive, then both the list as well as the
'show more details'-page says 'undefined'. Should probably be just blank.

I used Firefox 30.0 on Linux 64bit.

Poltsi

-- 
Paul-Erik Törrönen   "When science and the Bible differ,
poltsi at 777-team.org   science has obviously misinterpreted
+358 40 703 1231      its data"
http://poltsi.fi/     Henry Morris, father of 'modern creationism'



More information about the subsurface mailing list