Hide last authors
Ecaterina Moraru (Valica) 1.1 1 {{toc start="2"/}}
2
3 == Requirement ==
4
5 > Make discoverable the logo change feature
6
7 == Need ==
8
Ecaterina Moraru (Valica) 2.4 9 * O: Logo change and basic configuration is one of the first task the evaluator would like to do (also because we claim that XWiki strength is personalization). Changing the logo + get access to the panel requires the knowledge + performing multiple clicks. Is doesn't give a feeling of . ease of use to the evaluator => these actions should be more straightforward
Ecaterina Moraru (Valica) 1.1 10 * O: For example using a hover on the logo or on the panel area an edit button could show up that is clickable and would bring you either to the place where you can perform the action or directly allow the action (for example change the logo)
Ecaterina Moraru (Valica) 1.3 11 * O: direct link to change the logo
12 * O: Hard to change the logo from the ColorTheme. Attachment zone doesn't give a success message, doesn't redirect back, page needs refresh
Ecaterina Moraru (Valica) 1.1 13
14 == Notes ==
15
Ecaterina Moraru (Valica) 3.2 16 * Improve Administration description to include "logo"
Ecaterina Moraru (Valica) 3.3 17 * Add attachment selector to CT
Ecaterina Moraru (Valica) 9.2 18 * Add logo preview in Skin
Ecaterina Moraru (Valica) 3.2 19
Ecaterina Moraru (Valica) 1.1 20 == Solutions ==
21
Ecaterina Moraru (Valica) 1.3 22 === Solution 1 ===
23
Ecaterina Moraru (Valica) 6.4 24 Create a separate entry for Logo change in Administration.
Ecaterina Moraru (Valica) 1.3 25
Vincent Massol 11.1 26 Use cases needed:
27
28 UC1: I want to define a default logo so that when I create a new wiki, this logo is used by default
29 UC2: I want to define a default logo for a group of subwikis
30 UC3: I want to be able to define a custom logo for a given subwiki.
31 UC4: I want to be able to define a custom logo for a page + its children
32 UC5: I want to be able to define a custom logo for a single page
33
34 Here's the solution to implement UC1-5:
35
Vincent Massol 11.2 36 {{code language="none"}}
Vincent Massol 11.1 37 System Default logo (defined in the base skin on the FS)
Vincent Massol 11.2 38 |_ System User-defined default system logo (Admin UI)
39 |_ Wiki Skin logo (Skin)
40 |_ Wiki Color Theme logo (CT)
41 |_ Space Skin logo (Skin) (Future: Nested Page Skin logo)
42 |_ Space Color Theme logo (Future: Nested Page CT logo)
43 {{/code}}
Vincent Massol 11.1 44
45 The algorithm to choose which logo to display is the following:
46
47 * Is there a space color theme in use and does it define a custom logo? If so, use the logo
48 * Is there a space skin in use and does it define a custom logo? If so, use the logo
49 * Is there a wiki color theme in use and does it define a custom logo? If so, use the logo
50 * Is there a wiki skin in use and does it define a custom logo? If so, use the logo
51 * Is there a system default logo defined by the user? If so, use the logo
52 * Use the baseskin default logo from the FS.
53
Ecaterina Moraru (Valica) 1.3 54 === Solution 2 ===
55
Ecaterina Moraru (Valica) 6.4 56 Improve the CT logo process. {{warning}}{{jira url="https://jira.xwiki.org" style="enum"}}XWIKI-10779{{/jira}} improved for 9.5{{/warning}}
Ecaterina Moraru (Valica) 6.5 57
58 == Proposals ==
59
Ecaterina Moraru (Valica) 9.4 60 === Solution 1 ===
Ecaterina Moraru (Valica) 6.5 61
62 (% class="row" %)
63 (((
64 (% class="col-xs-12 col-sm-6" %)
65 (((
66 Before (10.0)
67 [[[[image:before.png||style="border:1px solid #E8E8E8" width="100%"]]>>attach:before.png]]
68 )))
69
70 (% class="col-xs-12 col-sm-6" %)
71 (((
72 After
73 [[[[image:after.png||style="border:1px solid #E8E8E8" width="100%"]]>>attach:after.png]]
74 )))
75 )))

Get Connected