recordnavmenu behaviour (logically)

A place for users and developers of the Xataface to discuss and receive support.

Postby Scott » Tue Apr 10, 2007 2:26 pm

i was playing around with the recordnavmenu.
technically it works great!
but i noticed a minor annoyance (only endusers would would be confused).

consider this test situation:

we have our known "getting started" tables:
program (with a relationship set to course via programcourses)
course (with a relationship set to program via programcourses)
programcourses (links program and course together)

the relationships are set both ways so we can add programs to courses but we can also add courses to programs in the gui.

now if we add a program to a course and check out the very cool recordnavmenu (while viewing course details or program details) then it can be exanded infinitely because the expand functionality is smart, but in a generic way ;)

maybe it would be good not to be able to expand a node that represents the record we are currently seeing in the details.

so for instance when we are in the program details screen viewing a program record:
1- we expand the prgram's "courses" in the recordnavmenu.
2- then we see a list of courses attached this program.
3- these courses can be expanded too and we get a list of programs
4- these program nodes should be able to be expanded too, EXCEPT if it represents the program we are looking at in the details.

in short, a childnode which represents the "current record" should not be expandable imho.
Scott
 
Posts: 30
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Tue Apr 10, 2007 4:06 pm

Good observation, Scott.. It has been a while since i've delved into the code for the record nav menu - but I don't think this should be a difficult change... i'll see if I can get to it some time soon..

-Steve

--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 32 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved