interface:frontend_development
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
| — | interface:frontend_development [2021/12/09 01:19] (current) – created - external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ======= November Iteration ======= | ||
| + | |||
| + | GNU social v3's backend and frontend development is currently taking place. The default interface serves as the groundwork for future user experience endeavors but also, to develop all the necessary tools needed to make plugin development possible in a timely manner. | ||
| + | |||
| + | ===== Twig templates ===== | ||
| + | |||
| + | The Twig template engine is used, making it possible to create reusable interface components. In general, templates take the shape of either whole pages, or small widgets. The latter being used extensively on the former. | ||
| + | |||
| + | If a template page is used, the directory should be named after the page itself under: | ||
| + | < | ||
| + | /templates | ||
| + | </ | ||
| + | |||
| + | On the other hand, widgets should be placed followed by the corresponding name under | ||
| + | < | ||
| + | |||
| + | User system theme is followed by default, however there are plugins available to change the theme colours as desired, see [[frontend_development# | ||
| + | |||
| + | ---- | ||
| + | |||
| + | |||
| + | ====== Page structure ====== | ||
| + | |||
| + | The page is formed by three regions, each one containing their own components/ | ||
| + | |||
| + | The standard page grid regions are: | ||
| + | * left panel | ||
| + | * active page | ||
| + | * right panel | ||
| + | |||
| + | Assuming a LTR layout, the left panel is the first area our eyes are drawn upon, and therefore it provides profile information and the main navigation tab. Placement within this region should only be considered if the context allows and/or is of high importance within the given page. | ||
| + | |||
| + | The active page region, as the name implies, is used by the current route page template. Nonetheless, | ||
| + | |||
| + | Finally, the right panel serves as an area for any plugin that isn't highly specific on context/use or that isn't primordial to the user experience basic functionality. | ||
| + | |||
| + | //Bear in mind that in the following images, the user profile section colours are user defined through the **ProfileColour** plugin.// | ||
| + | |||
| + | |||
| + | ===== Dark default theme ===== | ||
| + | |||
| + | {{interface: | ||
| + | |||
| + | |||
| + | ===== Light default theme ===== | ||
| + | |||
| + | {{interface: | ||
| + | |||
| + | ---- | ||
| + | |||
| + | |||
| + | ====== User panel ====== | ||
| + | |||
| + | Various user panel organisational improvements were done, more specific categorisation being a big part of it. Additionally, | ||
| + | |||
| + | An example of the three-like hierarchy possible: | ||
| + | |||
| + | * Profile | ||
| + | * Personal Info | ||
| + | * Nickname | ||
| + | * Fullname | ||
| + | * Homepage | ||
| + | * Bio | ||
| + | * ... | ||
| + | * Avatar | ||
| + | * Profile colour (plugin) | ||
| + | * Light and Dark theme colours (plugin) | ||
| + | |||
| + | * Password | ||
| + | * Language | ||
| + | * Notifications | ||
| + | |||
| + | * Xmpp | ||
| + | * ... | ||
| + | |||
| + | |||
| + | ===== Dark default theme ===== | ||
| + | |||
| + | {{ interface: | ||
| + | |||
| + | ---- | ||
| + | |||
| + | |||
| + | ====== Language ====== | ||
| + | |||
| + | The user is able to define preferred languages, by default the highest priority language set will be used as a [[https:// | ||
| + | |||
| + | When posting a note, the language option will be available under the **Additional options** details element. | ||
| + | By providing this information, | ||
| + | |||
| + | ===== Language settings page ===== | ||
| + | |||
| + | The user panel section provides a multiple select box, after the language preference selection the user is redirected to order them. | ||
| + | |||
| + | {{interface: | ||
| + | {{ interface: | ||
| + | ---- | ||
| + | |||
| + | |||
| + | ====== Plugins ====== | ||
| + | |||
| + | ---- | ||
| + | ===== Oomox ===== | ||
| + | |||
| + | Theme colour customisation is made possible through the Oomox plugin, the corresponding user panel profile settings section is added with the help of a **// | ||
| + | |||
| + | ---- | ||
| + | ==== Defining theme colours ==== | ||
| + | |||
| + | {{interface: | ||
| + | {{ interface: | ||
| + | |||
| + | ---- | ||
| + | ==== User custom theme example ==== | ||
| + | |||
| + | {{interface: | ||
| + | ---- | ||
interface/frontend_development.txt · Last modified: by 127.0.0.1
