Open Source Training Seminar FreePBX Paid Support

Ticket #1094 (closed Bugs: fixed)

Opened 2 years ago

Last modified 2 years ago

gui element section headings not added in order created

Reported by: p_lindheimer Assigned to: wozto1s
Priority: blocker Milestone: 2.2
Component: Core Version: 2.2beta2
Keywords: Cc:
Confirmation: SVN Revision (if applicable):
Backend Engine: All Backend Engine Version:

Description

This may simply be lack of documentation or my own loack of understanding of this new gui element stuff you wrote. But ... it appears that sections are displayed in alphabetical vs. the order they are created. In any event, it doesn't seem like you can specify and order which is obviously important.

I added the new fax and privacy directdid routing stuff to the users page when in deviceanduser mode. I think I got it right, but that is where I noticed it. It just so happens that alphabetical is correct for this page but this should be looked at if it is doing this.

Change History

09/13/06 15:28:07 changed by wozto1s

is it important to sort in a non alphabetic order? what's the general thoughts on this?

09/15/06 19:23:59 changed by RobThomas

  • type changed from Bugs to Feature Requests.
  • milestone deleted.

I think sorting it in alphabetic order is the correct way, personally, but I'm open to suggestions.

09/15/06 20:31:37 changed by p_lindheimer

  • type changed from Feature Requests to Bugs.
  • milestone set to 2.2.

I humbly disagree. Sections should NOT be forced to be put in alphabetic order. When you design a GUI, there is a logical flow that is desired. That flow is not alphabetical unless chance happens to make it that way. There needs to be a way to define the order of sections just like you can define the order of elements within a section.

This is not a feature request, it is a bug. It hink it is great to be building a framework to make it easier to desing the GUIs, but not at the expense of losing control on their layout.

09/16/06 04:58:04 changed by wozto1s

It's a fair comment.

I'm open to suggestions on this one. Imagine you have 5 modules all hooking into the Users page.....which bit from which module should be first?

09/19/06 21:55:16 changed by p_lindheimer

I only looked at this problem from my experience working on the users module. In that case, it was all coming from my one module and I was expecting it to be in the order that I defined the sections. Now when you introduce multiple sections inserting content, well ...

I'll throw out a suggestion. You can have an optional integer. If not specified, make it default to max (65536 or what not). Now you can sort based on that ordinal integer and if you have a tie, you can sort alphbetically like you already are. Then - common 'ediquate' can be used. If you are providing elements for your own module, you can set your order with 1, 2, 3 ... If you are inserting content into a 'foreign' module, you can use high valued numbers (or let it default) so it appears towards the end.

just some brainstorming thoughts ...

11/15/06 20:06:25 changed by p_lindheimer

  • priority changed from minor to blocker.
  • version changed from SVN-HEAD to 2.2beta2.

11/20/06 14:53:42 changed by RobThomas

  • status changed from new to closed.
  • resolution set to fixed.

Added a placement option, and moved all the built in ones above the default. That should resolve this to everyone's satisfaction! See r3120 to r3123

01/08/07 11:46:44 changed by

  • milestone deleted.

Milestone 2.2 deleted

01/08/07 12:57:26 changed by vgster

  • milestone set to 2.2.
Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads