[#852] Tabbed frs packages

Description

Summary:

Detailed description

In 2011 we installed fusionforge at https://support.cegit.sag.de and extended it to solve our and our customer needs (see branch 'branch-5.0-sag' in my personal fusionforge repo). Currently we are in the progress to update to fusionforge 6 and are looking for a way to add those extensions to the recent fusionforge sources to not been forced to maintain an independent branch.

In frs for example we changed the style to display packages in tabs (see appended screenshot). Looking into the recent source we found that src/common/frs/views/listpackages.php contains the related code.

Because the recent style may be mandatory there is the option to add an additional frs style e.g. in a listpackages-tabs.php or similar which could be selected sitewide in the application config. Another option would be to change the default style to use tabs.

General Information
Submitted by:
Ralf Habacker
Date Submitted: 2017-05-05 08:13
Last Modified by: Nobody
Last Modified: 2017-11-02 20:00
Permalink: https://fusionforge.org/tracker/a_follow.php/852
Actions
Internal Fields
Data Type: Feature requests
Assigned to: Nobody (None)
State: Open
Priority: 3
Extra Fields
Resolution:
none
Difficulty:
none
Target release:
none
Follow-up tabs
Message  ↓
Date: 2017-05-08 11:49
Sender: Franck Villaume

> Where should this settings be located ? Something like use_frs_tabs=yes|no in /etc/fusionforge/config.ini.d/defaults.ini Yes. > I will ask the developers. If not I guess src/common/frs/views/listpackages.php needs to be copied to listpackages-tabs.php or similar which contains the tab related implementation and is selected in src/common/frs/views/views.php if tabs are enabled. Yes.

Date: 2017-05-08 10:56
Sender: Ralf Habacker

> having a sitewide option to define the default display would be nice. Where should this settings be located ? Something like use_frs_tabs=yes|no in /etc/fusionforge/config.ini.d/defaults.ini > I'm not sure that css only can transform list into tabs. I will ask the developers. If not I guess src/common/frs/views/listpackages.php needs to be copied to listpackages-tabs.php or similar which contains the tab related implementation and is selected in src/common/frs/views/views.php if tabs are enabled.

Date: 2017-05-08 10:01
Sender: Franck Villaume

Hi, sorry, I was not precise enough. I was refering to https://fusionforge.org/activity/?group_id=6 where theming modifies the ordering of elements in the page. However on second thought, I'm not sure that css only can transform list into tabs. Offering an option per project to select 'actual flat' vs. 'tabs' display in FRS would be nice and having a sitewide option to define the default display would be nice.

Date: 2017-05-08 07:22
Sender: Ralf Habacker

To be sure: Which 'activity tab' you are refering ? The tabs in a ticket or something else ? In the first choice, you are suggesting to refactor frs package display to use tabs as default ?

Date: 2017-05-05 11:25
Sender: Franck Villaume

My 2 cents on this topic: one solution would be to leverage fusionforge theme feature thru CSS and adapt the listpackages.php to use css. Such approach has been done for the activity tab. It should not be too hard to implement.

Attachments:
Size Name Date By Download
67 KiBfrs-style.png2017-05-05 08:13
Ralf Habacker
frs-style.png

No related commits.

Field Old Value Date By
File Added525: frs-style.png2017-05-05 08:13
Ralf Habacker

No relations found.