Loading...
 
Skip to main content

History: CartoGraf

Source of version: 354 (current)

Copy to clipboard
-=About=-
This page is about development of the [http://profiles.tiki.org/CartoGraf|CartoGraf profile].


Testing happens at:
* http://demo.tiki.org/showcases_and_experiments/cartograf-aquops/


! How to report visual or browser issues
CartoGraf is a quite visual app and it pushes the limits of some browsers. So it's quite difficult to explain an issue in a traditional textual bug report. You can use a desktop screen recording software and upload to our ((doc:Kaltura)) instance or for short videos, use Tiki ((doc:Screencast)) to record directly. We will then have access to the video, which makes it easier to understand the issue and to resolve quickly. -> ((CartoGraf Browser and visual issues))


! Todos 

!! Jonny

!!! Result from the test made april 18-23

I set some priorities, i don't know how much time you have left for this project.  1  are essential, we could have some problem in a short term.  2 are from a user point of view "must have'", they are nice features but we could (it's painful to say it) live with out it.  3 just details and 4 a long term task that will have to be done.

Great work Jonny. Catograf rocks.  We are having a test monday 10h30 to 11h30 with many users.  There are 2 bugs that could make a problem {sign user="stevequirion" datetime="2013-05-02T18:15:40+00:00"}

!!!! 1 Safari  MAC
In safari, user's can not create a map,

* Seems ok for me - i just created [http://cartograf.recitus.qc.ca/Carte?mapId=1167&coordinates=0%2C0%2C3&shareCode=&mapName=jonny%20testing%20in%20safari|this one] as admin - where does it fail for your users? {sign user="jonnybradley" datetime="2013-05-09T17:24:17+00:00"}

* It's on safari 5 on OSX 10.6 , i ask for some more test, so i ll confirm that.  User's can open the app, but when they click on creat, nothing happens...  Impossible to upgrade to sarafi 6, stuck at version 5 for 10.6 {sign user="stevequirion" datetime="2013-05-09T20:18:19+00:00"}

* Hmm, i don't have access to a 10.6 machine - i do have a 10.4 Mac at home but not sure when i'll be back there... if we could get an error message from the JavaScript console it might help? {sign user="jonnybradley" datetime="2013-05-10T10:00:47+00:00"}

* Paul will make some tests and send us the results {sign user="stevequirion" datetime="2013-05-13T15:31:00+00:00"}
!!!! 1 Share
We experience stange bug with the share option.  All theses maps dont have de poi and some of them even can be modify direcly.

1- http://cartograf.recitus.qc.ca/Carte?coordinates=14.0625%2C28.92163128242307%2C2&shareCode=calgaryareatest123&mapName=UrbanRegionforLearntest3&sourceId=799#Carte

2- http://cartograf.recitus.qc.ca/Carte?coordinates=14.0625%2C28.92163128242307%2C2&shareCode=region_03_12&mapName=Test%20Cartograf%20-%20Alain%20Houle&sourceId=514#Carte

3- http://cartograf.recitus.qc.ca/Carte?coordinates=14.0625%2C28.92163128242307%2C2&mapId=785&mapName=Un%20territoire%20urbain%2C%20r%C3%A9gion%20ou%20agricole%3F%20copielise&shareCode=lise5#Share

4- http://cartograf.recitus.qc.ca/Carte?coordinates=14.0625%2C28.92163128242307%2C2&mapId=558&mapName=Test%203%20-%20Un%20territoire%20urbain%2C%20r%C3%A9gion%20ou%20agricole%3F%20copy&shareCode=test3#Share

* Certainly mysterious - #4 on the list above isn't a "share" url (possibly #3 as well) as it has the "mapId" in the url, rather than the "sourceId" - the share link for that should be %%% [http://cartograf.recitus.qc.ca/Carte?coordinates=14.0625%2C28.921631282423046%2C2&shareCode=test3&mapName=Test%203%20-%20Un%20territoire%20urbain%2C%20région%20ou%20agricole%3F%20copy&sourceId=558] (which i got from the "Lien pour partake" box) - maybe people have been sharing by using the URL from the browser? 
* #1 has the wrong share code in it - should be ''shareCode=calgaryareatest'' not ''shareCode=calgaryareatest123'' - possibly similar issues with the others? {sign user="jonnybradley" datetime="2013-05-09T17:42:09+00:00"}  
* i think it's because when you check the boxe (duplicate) the link is changing, you dont have to click on modify, so the user copy a link with a share code that doesnt exist. {sign user="stevequirion" datetime="2013-05-09T19:54:24+00:00"}

What i understand of all these problems:

1- Problem with some caracters used in the title like "-" because they are in the url...  Do we need the title in the url?
* Yes, it's designed that way
* So, is it possible to prevent user to use - and _ and other caracters that could cause some problem in the title?  But we need éàä etc. in other langage.  But it seems to me that we could have problems in the futur in other langage.  {sign user="stevequirion" datetime="2013-05-13T15:36:18+00:00"}

2- The share check box change the url with out saving it. + User's will use the url in the browser, it's not the same url?
* The share URL is never saved but calculated in the page - it's only the URL that is "public" (nojoin) or not - again, this is "by design" so not easily changed without significant changes

{sign user="stevequirion" datetime="2013-05-09T19:54:24+00:00"}
!!!!- --1 fixe in SVG edit et Firefox--

The fixe of firefox and svg edit is not updated.

{sign user="stevequirion" datetime="2013-05-09T12:15:44+00:00"}


Steve: That is a bug introduced by Firefox and we need to wait for them to solve it. The bug was reported to them {sign user="marclaporte" datetime="2013-05-09T15:49:21+00:00"}

The problem is solved in Firefox 21:
https://groups.google.com/d/msg/svg-edit/6qhMS-Utkxs/YVSSrhgoEn4J



!!!!- --Bug ELfinder--
Can not access to elfinder with the user admin...
{img src="display238"}

{flash type="url" movie="display239" width="1071" height="473"}


Fixed with http://sourceforge.net/p/tikiwiki/code/45872
!!!!- --Duplicating a public map, and try to add a POI (regression)--
This was caused when there was an accent in the map name (would make a weird URL)

When you duplicate a "public map" or a map of an other user and you want to add a POI, the app bugs.
You can test with the user test1 and pw test1 and copy the map in the public maps section

It seem the bug is also on the original map with the user who created it.  It's in the admin account and the map is Un territoire urbain, agricole ou région? 

{img src="display236"}
I never seen this bug before, only on cartograf.recitus.qc.ca?

Video of bug 1 : [http://dev.recitus.qc.ca/temporaire/bug1.mov]

{kaltura id="1_5xrhniez"}

!!!! 1 BUG error (regression)
When you delete a POI (not every time) there's an error.  Look like a debug thing, maybe turn it off?  Maybe related to the first bug whit the POI.
{img src="display237"}
I never seen this bug before, only on cartograf.recitus.qc.ca? 

@Steve: I reset all permissions and it looks OK to me. Can you try again? {sign user="marclaporte" datetime="2013-05-02T20:24:13+00:00"}

Not working, but the problem is difficult to reproduce, i'm trying to find out what is the sequence. {sign user="stevequirion" datetime="2013-05-02T22:10:27+00:00"}

[http://dev.recitus.qc.ca/temporaire/bug2.mov]

I am unable to reproduce {sign user="marclaporte" datetime="2013-05-07T16:58:57+00:00"}

!!!!- --1- Coordinates--

The coordinates are not in the same order on the map and in edit menu, let's go the openstreetmaps way.
{img src="display229"}

Here is commit to revert: http://sourceforge.net/p/tikiwiki/code/42936/ {sign user="marclaporte" datetime="2013-04-27T02:12:45+00:00"}

Fixed in http://sourceforge.net/p/tikiwiki/code/45736  {sign user="marclaporte" datetime="2013-04-27T03:24:26+00:00"}
!!!!- 1- --Elfinder is in english--

fr is available here: https://github.com/Studio-42/elFinder/blob/2.1/js/i18n/elfinder.fr.js  {sign user="marclaporte" datetime="2013-04-27T02:20:46+00:00"}

Some translation missing.  In TIki? 
{img src="display233"}
{sign user="stevequirion" datetime="2013-04-29T16:45:25+00:00"}

* Done in 11.x in [http://sourceforge.net/p/tikiwiki/code/45825|r45825] (the title of the dialog "Browse Files" is in javascript so needs translating in language.js (or custom.js))  {sign user="jonnybradley" datetime="2013-05-01T16:04:58+00:00"}

I sent some improvements to elfinder: https://github.com/marclaporte/elFinder/commit/fe4834f7e7790c9df64daba9478fc3aac121d637 {sign user="marclaporte" datetime="2013-05-02T02:17:11+00:00"}
!!!!- --1- Labels of maps are in english--

fixed by http://sourceforge.net/p/tikiwiki/code/45735

{sign user="marclaporte" datetime="2013-04-27T03:11:50+00:00"}

!!!!- --1- CAS connection--
When CAS connexion is activated, the register button doesn't work.  It should redirect the user to the same page then the connexion button.

You can change that link via the menu:
tiki-admin_menu_options.php?menuId=44
!!!!- --2-links--
We talked about putting a check box for the "nojoin" option

Another option was to add a second share link and change label for current one

Link 1 is as now, 
"Collaborate and Duplicate" "Collaborer et Dupliquer"

Link 2 (add "&nojoin" to the URL, before the #)
Label "Duplicate" "Dupliquer"

* Have added the checkbox - can be seen [http://demo.tiki.org/cartograf-11x-en/Map?coordinates=-73.98639678955072%2C40.738152838823595%2C12&mapId=94&mapName=NYC&shareCode=nyc#Share|here] (logged in as admin) %%% Hope that's ok, doesn't get saved in the tracker but changes to the url generated in the share boxes {sign user="jonnybradley" datetime="2013-05-01T16:31:49+00:00"}



@Steve: done on http://cartograf.recitus.qc.ca/Carte?coordinates=58.271484375001%2C29.764377375163%2C3&mapId=54&shareCode=agricole&mapName=Territoire+agricole+%C3%A0+risque#Carte  Please confirm {sign user="marclaporte" datetime="2013-05-02T02:19:22+00:00"}
!!!!- --2- LEGEND picker to be more contextual--
When adding a POI/Zone and selecting the icon, ideally it should first offer the list of all icons of the current map and perhaps all the icons that have already been added to the map (even if not yet in the legend).

* Done, mostly in custom.js, and uploaded to [http://demo.tiki.org/cartograf-11x-en|cartograf-11x-en] (note: requires at least one icon in the root icon gallery, and __ r45826__) {sign user="jonnybradley" datetime="2013-05-01T17:42:56+00:00"}

{flash type="url" movie="display235" width="979" height="692"}

Now done, where it also grabs icons from visible map {sign user="marclaporte" datetime="2013-05-07T16:28:42+00:00"}
!!!!- --2- Mouse over icon in icon picker--
Is it possible to have the names of the icon on mouse over, it's a big problem for the country flags, there's about 250 flags...however it's a good way to learn the flags, ahhh maybe not...

* Done in __r45830__ in 11.x (also some new code in custom.js now up at [http://demo.tiki.org/cartograf-11x-en|demo.t.o]) {sign user="jonnybradley" datetime="2013-05-01T18:28:23+00:00"}

It is now on http://cartograf.recitus.qc.ca/
{flash type="url" movie="display234" width="442" height="183"}


!!!! --2- Print mode--
Steve :  regression, firefox, no redirect to map after printing
Confirmed for me too {sign user="marclaporte" datetime="2013-05-03T22:42:57+00:00"}

So the behavior in various browsers was different. A workaround was found. {sign user="marclaporte" datetime="2013-05-09T15:45:43+00:00"}
!!!!- --3- share edit window (details)--
The details button is not suppose to be there
{img src="display230"}

Hide the tracker's

That is because your user has admin rights. Registered users don't see this.
{img fileId="232"}



!French version bug

!!- --Add marker--
When you add a marker and clic ok, the active button shoud be the blue hand

{flash type="url" movie="display231" width="532" height="547"}
works for me {sign user="marclaporte" datetime="2013-04-27T03:34:43+00:00"}


! Phase 2
!! Where will future development take place?
Theme code is temporarily managed on a semi-private SVN. We will change later when we decide where it should live. (ask Jonny or Marc for access in the mean time). Once in a while, we attach a zip to the profile page. This was OK for phase 1, but will need to change in phase 2.
The options are:
* GitHub
** Pros: nice UI
** Cons: not FOSS, and Git instead of SVN
* Mods
** Pros: can designed for this
** Cons: not maintained
* A new SourceForge.net project, with Allura
** Pros: Allura is FOSS, clear distinction so good marketing
** Cons: extra maintenance (who will do it?)
* on profiles.tiki.org with ((doc:PluginArchiveBuilder))
** Pros: web-based commits
** Cons: not a real SCM
* Fossil: http://fossil-scm.org/index.html/doc/trunk/www/fossil-v-git.wiki which is like Github-in-a-box
** Pros: Simple
** Cons: Not well-known
* elsewhere

2012-11-25: Louis-Philippe is devising a system for Citadel Rock, so we will likely use this when it's ready.

!! CAS
* https://sourceforge.net/p/tikiwiki/code/46388/
* https://sourceforge.net/p/tikiwiki/code/45969/



!! When a user duplicates his/her own maps
When a user makes a copy of his own maps, all the images are duplicated: is it possible to do like a public image and make just a link to the existing image?

Seems to me this is the safest to have everything as consistent as possible, no?  If I duplicate a map, I may want a different drawing for each {sign user="marclaporte" datetime="2013-04-30T12:35:57+00:00"}

If we look at the way the public image works, the user can draw  a different drawing on a same image but if a user copy the maps of an other user, the images are copied in is account. (Steve)

We could talk about this on the phone Marc {sign user="stevequirion" datetime="2013-05-02T20:10:00+00:00"}

So I discussed with Jonny and it's just too difficult/risky for this phase of the project, so moving to phase 2.
!! When a user copies a map, an option to grab all POIs (not just own)
!! Handling of deletions
* When a map is deleted, associated markers, zones and legends should as well, but this could be an issue if map was shared/joined.
* Have a web service to delete users (because they are deleted in another system)
** When a user is deleted, so are the maps (and from the maps, the markers, zones and legends as well

!!! Deleted maps, deleted image (long term, eventually needed)
Cron job to delete image's that are not linked to a map


!! Legend picker UI
* When you add a POI and pick an icon, it checks what is currently in the legend and currently on the map (great) and that is added to the choices at the top. However, if you click to another category and you come back, they are gone. This is not trivial to fix and an not in the happy path, so pushing to phase 2

!! Drawing when there is no background image
* A way to start a drawing when there is no image in the background?

!! Coordinates when adding a marker
We can set the coordinates manually (or by copy-paste) when editing a marker, but it would be even better to also be able to do this when adding a marker.
{img src="display227"}
{img src="display228"}


!! SVG-edit
* --Help community with: https://code.google.com/p/svg-edit/wiki/CommunityConferenceCall-- done
* --Get commit access for Robert so things like this can be resolved-- done
** --[http://code.google.com/p/svg-edit/issues/detail?id=973|was having difficulty using zoomChanged, also opacity was hidden and not clickable] (asked Mark to review)-- done
* Find a way to use http://code.google.com/p/svg-edit/wiki/ConfigOptions
** Default opacity should be configurable via Tiki (we want 50% for CartoGraf)
*** It was tried and [http://tikiwiki.svn.sourceforge.net/viewvc/tikiwiki?view=revision&revision=43794|rolled back]

!! jCapture-applet
* [http://sourceforge.net/p/jcapture-applet/tickets/17/|Make features/actions optional and have a way to override jCapture defaults]
* [http://sourceforge.net/p/jcapture-applet/tickets/14/|An option to save image or video to desktop (maybe?)]

!! Export and sharing
* Evaluate how to share map data between two cartograf applications or with other mapping apps

!! elFinder
* elFinder: Perhaps thumbnails could be bigger than now, so as to not have to preview each image
** Tried, would need complex css changes to stop layout breaking up badly
*** Ok, leave as is, then for phase 1 and we re-investigate for phase 2

!! Other ideas
* tracker logging in profile?
* A way to delete old/inactive users and all their data (including tracker data)
* See if there would be a way to not limit usernames to A-Z, 0-9 and _ (underscore) which is because we are using Zend_Search_Lucene
* --Login box pop-up confusion. You mouse-over and click so you see box and then page refreshes...-- this was fixed already
* Setup page should not be prolly visible to anonymous visitors (see http://demo.luciash.eu/tiki10x-cartograf/Setup)
* When there is no map yet (fresh install) there is ^No results for query.^ box on HomePage - better to hide ?

!! Community building
* A started profile with realistic course data
* More videos
* More docs
* A microsite would be nice but need to think of maintainability

!! TimeMap
* http://dev.tiki.org/TimeMap

!! Help popups
* ((Help|#Help_popups|Help popups))


!! Image visible just after upload
* --Ideally, in tracker file/image upload, make the image visible after upload (right now, it's just the text of the name of the file)-- Done in phase 1 (miniature image)

!! UI for small screens
* If easy, jQuery pop-up make smaller when there is not a lot of content (better for small screens) . For example, when you delete an item.

!! Maps layers handling
* Should they be part of the URL?
* Print mode doesn't show the right background

!! Print mode: add description
This is not in current HTML, and would require some AJAX.

!! The legend should be visible when you share a map by sending the link. As it is now, if the person you've send the link to is not logged and doesn't copy the map, the legend dosen't appear. And it's bad, mkay ?

!! Related
Show PHP error messages