[#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:
Franck Villaume
Last Modified: 2021-05-12 17:01
Date Closed: 2021-05-12 17:01
Permalink: https://fusionforge.org/tracker/a_follow.php/852
Actions
Monitor
Votes: 0/1 (0%)
Internal Fields
Data Type: Feature requests
Assigned to: Ralf Habacker (rhabacker)
State: Closed
Priority: 3
Extra Fields
Resolution:
Accepted
Difficulty:
Simple
Target release:
6.2
Follow-up tabs
Message  ↓
Date: 2021-05-12 17:01
Sender: Franck Villaume

Merged in master. Thank you for your contribution.

Date: 2021-05-10 09:30
Sender: Ralf Habacker

The required changes are very small, so I included both styles in listpackages.php. - See https://scm.fusionforge.org/anonscm/gitweb?p=fusionforge/users/rhabacker.git;a=shortlog;h=refs/heads/master-ticket-852

Date: 2017-05-08 11:49
Sender: Franck Villaume

> Where should this settings be located ? Something like usefrstabs=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 usefrstabs=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
107 KiBScreenshot_20210510_112954.png2021-05-10 09:30
Ralf Habacker
Screenshot_20210510_112954.png

No related commits.

Field Old Value Date By
status_idOpen2021-05-12 17:01
Franck Villaume
close_dateNone2021-05-12 17:01
Franck Villaume
priority12021-05-12 17:01
Franck Villaume
assigned_tonone2021-05-12 17:01
Franck Villaume
ResolutionNone2021-05-12 17:01
Franck Villaume
DifficultyNone2021-05-12 17:01
Franck Villaume
Target releaseNone2021-05-12 17:01
Franck Villaume
File Added548: Screenshot_20210510_112954.png2021-05-10 09:30
Ralf Habacker
Datei gelöscht525: frs-style.png2021-05-10 09:30
Ralf Habacker
priority32018-04-22 08:59
Franck Villaume
File Added525: frs-style.png2017-05-05 08:13
Ralf Habacker

No relations found.