View Issue Details

This bug affects 1 person(s).
 10
IDProjectCategoryView StatusLast Update
17667Feature requestsSurvey editingpublic2022-05-10 16:51
ReporterDenisChenu Assigned Togabrieljenik  
PrioritynoneSeverityfeature 
Status ready for testingResolutionopen 
Summary17667: Add information on title HTML in admin GUI
Description

Hard to see difference between each tab + hard to see history link : same title for all page.

Have a better title can be really great.

Additional Information

usage of tab browser is really need for big survey with lot of group and question, then a better title HTML headser is really needed too.

Need :

  • Where i am (Survey management, qyuestion management, global setting … etc …)
  • What is the current survey
  • Like to have current last part (question, group)

The 1st step is find the way to set it, the way for controller to set (for example) $this->title

TagsNo tags attached.
Attached Files
Bug heat10
Story point estimate
Users affected %

Users monitoring this issue

arsieg

Activities

arsieg

arsieg

2022-03-21 08:55

reporter   ~68750

Something like that?

image.png (125,040 bytes)
DenisChenu

DenisChenu

2022-03-21 08:58

developer   ~68751

Last edited: 2022-03-30 10:23

On your sample : «LimeSurvey - Label sets list» ?

arsieg

arsieg

2022-03-21 09:46

reporter   ~68752

Last edited: 2022-03-30 10:23

On my sample different tabs.
One of them "LimeSurvey->Label sets list"

DenisChenu

DenisChenu

2022-03-21 09:47

developer   ~68753

Last edited: 2022-03-30 10:23

Oh : yes !!

Sorry,

Not the -> : it's bad, just - or :

tammo

tammo

2022-03-21 09:52

partner   ~68754

Last edited: 2022-03-30 10:23

I like the idea. When you are in the backend, the word LimeSurvey in the title might be too long.

Perhaps better: "LS5.3.5: Label sets"?

arsieg

arsieg

2022-03-21 09:54

reporter   ~68755

Last edited: 2022-03-30 10:23

LimeSurvey is taken from $sitename.
And which separator you prefer '-' or ':' ?

tammo

tammo

2022-03-21 09:55

partner   ~68756

Last edited: 2022-03-30 10:23

If you user has a long sitename, the resulting title might become too long.

tammo

tammo

2022-03-21 09:56

partner   ~68757

Last edited: 2022-03-30 10:23

I think a "-" shows a little better in the title than a ":". Personal opinion, no research done.

arsieg

arsieg

2022-03-21 09:57

reporter   ~68758

Last edited: 2022-03-30 10:23

Yes, it can...
Both are not good in my opinion...
Maybe :: ?

image-2.png (87,365 bytes)   
image-2.png (87,365 bytes)   
image-3.png (115,304 bytes)
tammo

tammo

2022-03-21 09:58

partner   ~68759

Last edited: 2022-03-30 10:23

By forcing the LimeSurvey icon, you can also omit the word LimeSurvey of the letters LS.

arsieg

arsieg

2022-03-21 10:00

reporter   ~68760

Last edited: 2022-03-30 10:23

Thats how it looks using ::

image-4.png (88,207 bytes)   
image-4.png (88,207 bytes)   
arsieg

arsieg

2022-03-21 10:03

reporter   ~68761

Last edited: 2022-03-30 10:23

Do you recommend not using $sitename at all?
Just LS::My Account ?

DenisChenu

DenisChenu

2022-03-21 10:03

developer   ~68762

Last edited: 2022-03-30 10:23

If you user has a long sitename, the resulting title might become too long.

True, limit to 20 character with … ?

But the 1st step is

The 1st step is find the way to set it, the way for controller to set (for example) $this->title

Both are not good in my opinion...

https://en.wikipedia.org/wiki/Dash ( –) is used a lot on forum or website ( wordpress for the weel kinow) .
Think it's the best solution.

tammo

tammo

2022-03-21 10:03

partner   ~68763

Last edited: 2022-03-30 10:23

Somehow the :: looks very "nerdy", like in https://developer.mozilla.org/en-US/docs/Web/CSS/Pseudo-elements

arsieg

arsieg

2022-03-21 10:04

reporter   ~68764

Last edited: 2022-03-30 10:23

Yes it looks :)

tammo

tammo

2022-03-21 10:05

partner   ~68765

Last edited: 2022-03-30 10:23

The dash (-) is lower than the letters on the left and right of it, so it creates a visual gap, exactly what it needs to do...

DenisChenu

DenisChenu

2022-03-21 10:05

developer   ~68766

Last edited: 2022-03-30 10:23

https://en.wikipedia.org/wiki/Dash#Colon-like_use

arsieg

arsieg

2022-03-21 10:19

reporter   ~68772

Last edited: 2022-03-30 10:23

But the 1st step is

The 1st step is find the way to set it, the way for controller to set (for example) $this->title

I tried this way:
LayoutHelper class and SurveyCommonAction class,
in function showHeaders() added line:
Yii::app()->setConfig('pageTitle', $aData['pageTitle'] ? : $aData['title_bar']['title']);
And later in header.php I can use Yii::app()->getConfig('pageTitle')

DenisChenu

DenisChenu

2022-03-30 10:38

developer   ~68825

showHeaders must be deprecated ? No ?

Else before setConfig , maybe you must check if it's not already set ?

Else : using setConfig/getConfoig is near using global var

gabrieljenik

gabrieljenik

2022-05-10 16:46

manager   ~69549

PR from arsieg
https://github.com/LimeSurvey/LimeSurvey/pull/2309

Issue History

Date Modified Username Field Change
2021-10-19 08:30 DenisChenu New Issue
2021-10-19 08:30 DenisChenu File Added: Capture d’écran du 2021-10-19 08-26-54.png
2022-03-20 11:20 arsieg Issue Monitored: arsieg
2022-03-20 11:20 arsieg Bug heat 0 => 2
2022-03-21 08:55 arsieg Note Added: 68750
2022-03-21 08:55 arsieg File Added: image.png
2022-03-21 08:55 arsieg Bug heat 2 => 4
2022-03-21 08:58 DenisChenu Note Added: 68751
2022-03-21 08:58 DenisChenu Bug heat 4 => 6
2022-03-21 09:46 arsieg Note Added: 68752
2022-03-21 09:47 DenisChenu Note Added: 68753
2022-03-21 09:52 tammo Note Added: 68754
2022-03-21 09:52 tammo Bug heat 6 => 8
2022-03-21 09:54 arsieg Note Added: 68755
2022-03-21 09:55 tammo Note Added: 68756
2022-03-21 09:56 tammo Note Added: 68757
2022-03-21 09:57 arsieg Note Added: 68758
2022-03-21 09:57 arsieg File Added: image-2.png
2022-03-21 09:57 arsieg File Added: image-3.png
2022-03-21 09:58 tammo Note Added: 68759
2022-03-21 10:00 arsieg Note Added: 68760
2022-03-21 10:00 arsieg File Added: image-4.png
2022-03-21 10:03 arsieg Note Added: 68761
2022-03-21 10:03 DenisChenu Note Added: 68762
2022-03-21 10:03 tammo Note Added: 68763
2022-03-21 10:04 arsieg Note Added: 68764
2022-03-21 10:05 tammo Note Added: 68765
2022-03-21 10:05 DenisChenu Note Added: 68766
2022-03-21 10:19 arsieg Note Added: 68772
2022-03-30 10:23 galads Status new => acknowledged
2022-03-30 10:23 galads Zoho Project Synchronization => |Yes|
2022-03-30 10:23 LimeBot Zoho Projects ID => 85781000001773001
2022-03-30 10:23 LimeBot Zoho Projects URL => https://projects.limesurvey.org/portal/limesurvey#taskdetail/85781000001335039/85781000001348001/85781000001773001
2022-03-30 10:38 DenisChenu Note Added: 68825
2022-04-01 10:05 galads Zoho Project Synchronization Yes =>
2022-04-01 10:05 galads Zoho Projects ID 85781000001773001 =>
2022-05-10 16:46 gabrieljenik Note Added: 69549
2022-05-10 16:46 gabrieljenik Bug heat 8 => 10
2022-05-10 16:51 gabrieljenik Assigned To => gabrieljenik
2022-05-10 16:51 gabrieljenik Status acknowledged => ready for testing