Show last authors
1 {{toc start="2"/}}
2
3 == Requirement ==
4
5 > Make discoverable the logo change feature
6
7 == Need ==
8
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
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)
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
13
14 == Notes ==
15
16 * Improve Administration description to include "logo"
17 * Add attachment selector to CT
18 * Add logo preview in Skin
19
20 == Solutions ==
21
22 === Solution 1 ===
23
24 Create a separate entry for Logo change in Administration.
25
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
36 {{code language="none"}}
37 System Default logo (defined in the base skin on the FS)
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}}
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
54 === Solution 2 ===
55
56 Improve the CT logo process. {{warning}}{{jira url="https://jira.xwiki.org" style="enum"}}XWIKI-10779{{/jira}} improved for 9.5{{/warning}}
57
58 == Proposals ==
59
60 === Solution 1 ===
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