gitlab-org--gitlab-foss/doc/user/profile/preferences.md
haghighi_ahmad cf4bbd4fe1 Add Saturday to first day of the week
fix #58023

docs for adding Saturday for first day of the week
add related settings for Saturday as first day of the week
firstDayOfWeek: Use enumeration, replace day's numbers with corresponding names
make some variables lowercase (follow camelCase)
add CHANGELOG entry

Author:    haghighi_ahmad <haghighi.ahmad@gmail.com>

modified:   app/assets/javascripts/pages/users/activity_calendar.js
modified:   app/helpers/preferences_helper.rb
new file:   changelogs/unreleased/58023-add-Saturday-to-localization-first-day-of-the-week.yml
modified:   doc/api/settings.md
modified:   doc/user/profile/preferences.md
modified:   locale/gitlab.pot
modified:   spec/helpers/preferences_helper_spec.rb
2019-03-04 07:52:15 +03:30

112 lines
3.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Profile preferences
A user's profile preferences page allows the user to customize various aspects
of GitLab to their liking.
To navigate to your profile's preferences, click your avatar icon in the top
right corner, select **Settings** and then choose **Preferences** from the
left sidebar.
## Navigation theme
The GitLab navigation theme setting allows you to personalize your GitLab experience.
You can choose from several color themes that add unique colors to the top navigation
and left side navigation.
Using individual color themes might help you differentiate between your different
GitLab instances.
The default palette is Indigo. You can choose between 10 different themes:
- Indigo
- Light Indigo
- Blue
- Light Blue
- Green
- Light Green
- Red
- Light Red
- Dark
- Light
![Profile preferences navigation themes](img/profil-preferences-navigation-theme.png)
## Syntax highlighting theme
NOTE: **Note:**
GitLab uses the [rouge Ruby library](http://rouge.jneen.net/ "Rouge website")
for syntax highlighting. For a list of supported languages visit the rouge website.
Changing this setting allows you to customize the color theme when viewing any
syntax highlighted code on GitLab.
The default syntax theme is White, and you can choose among 5 different colors:
- White
- Dark
- Solarized light
- Solarized dark
- Monokai
![Profile preferences syntax highlighting themes](img/profile-preferences-syntax-themes.png)
## Behavior
The following settings allow you to customize the behavior of GitLab's layout
and default views of your dashboard and the projects' landing pages.
### Layout width
GitLab can be set up to use different widths depending on your liking. Choose
between the fixed (max. `1280px`) and the fluid (`100%`) application layout.
NOTE: **Note:**
While `1280px` is the standard max width when using fixed layout, some pages still use 100% width, depending on the content.
### Default dashboard
For users who have access to a large number of projects but only keep up with a
select few, the amount of activity on the default Dashboard page can be
overwhelming. Changing this setting allows you to redefine what your default
dashboard will be.
You have 8 options here that you can use for your default dashboard view:
- Your projects (default)
- Starred projects
- Your projects' activity
- Starred projects' activity
- Your groups
- Your [Todos](../../workflow/todos.md)
- Assigned Issues
- Assigned Merge Requests
### Project overview content
The project overview content setting allows you to choose what content you want to
see on a projects home page.
You can choose between 3 options:
- Files and Readme (default)
- Readme
- Activity
## Localization
### Language
Select your preferred language from a list of supported languages.
*This feature is experimental and translations are not complete yet.*
### First day of the week
The first day of the week can be customised for calendar views and date pickers.
You can choose one of the following options as the first day of the week:
- Saturday
- Sunday
- Monday
If you select **System Default**, the system-wide default setting will be used.