summaryrefslogtreecommitdiffstats
path: root/model/preference_test.go
Commit message (Collapse)AuthorAgeFilesLines
* avoid t.Fatal() in tests (#9189)Jesse Hallam2018-08-091-36/+16
| | | | | | I've been burned a few times by tests that simply fatal, requiring me to run another build to learn more about what the mismatch was. Avoid this. This is part of a long running goal of mine to make testing "better".
* PLT-5860 Updated copyright date (#6058)Harrison Healey2017-04-121-1/+1
| | | | | | | | | | | | * PLT-5860 Updated copyright date in about modal * PLT-5860 Updated copyright notice in JSX files * PLT-5860 Updated copyright notice in go files * Fixed misc copyright dates * Fixed component snapshots
* PLT-2992 Added the ability to use different themes for each team (#3411)Harrison Healey2016-07-141-3/+36
| | | | | | | | | | | | | | | | | | | | | | * Cleaned up user_settings_theme.jsx and import_theme_modal.jsx * Made ImportThemeModal use a callback to return the theme to the user settings modal instead of saving it directly * Moved user theme from model to preferences * Added serverside API to delete preferences TODO update package with client stuff * Changed constants.jsx so that Preferences and ActionTypes can be imported on their own * Updated ThemeProps migration code to properly rename solarized code themes * Fixed warnings thrown by AppDispatcher * Added clientside UI to support team-specific themes * Removed debugging code from test * Fixed setting a user's theme when they haven't set their theme before
* Fixed issue with Team Settings modal saving items instead of cancelling; ↵Reed Garmsen2015-12-101-1/+1
| | | | changed remaining copyrights
* Made further changes based on feedbackhmhealey2015-10-131-8/+3
|
* Removed Preference.AltIdhmhealey2015-10-131-15/+14
|
* Renamed show_hide preference to showhmhealey2015-10-131-1/+1
|
* Added model class for user preferences objecthmhealey2015-10-131-0/+62