Commit Graph

28 Commits

Author SHA1 Message Date
ov 3333dd41fa
Persistence Language Functionality to Store Language in User Preferences (#1536)
* Entry points to introduce persistence in language selection
* setLanguage action changes both the state and the i18next language
* Ensure language change applies to all pages on load

Co-authored-by: Andrew Nicolaou <me@andrewnicolaou.co.uk>
2020-08-17 11:23:58 +02:00
Andrew Nicolaou a225d28f75 Use apiClient instance instead of directly calling Axios
Reduces the amount of duplication and provides a single place where
we can configure base URL, crendentials and other headers
2020-06-08 12:31:30 +02:00
shakti97 15b3fa8312 Fix(axios error handling issue) 2020-04-25 20:18:39 +05:30
Rick Brown 5695830361 add ability to toggle line numbers to accessibility settings. Fixes #1138 (#1146)
* Added SET_LINE_NUMBERS constant

* Added setLineNumbers()

* Added lineNumber prop

* Added functionality to Preferences

* Passing props

* handle case SET_LINE_NUMBERS

* add lineNumber default value to the schema
2019-08-30 12:36:34 -04:00
Cassie Tarakajian 2d77ddb650
Merge branch 'master' into feature/remove-indentation-options 2019-03-26 15:38:58 -04:00
Laksh Singla 24302b56de Added softwrap preference for users. (#970)
* Client and server side code added for Linewrap option

* Linked linewrap prop with the Editor.jsx property

* linewrap defaults to true

* Renamed 'LineWrap' to 'WordWrap'
2019-03-26 15:37:44 -04:00
cdr d1ce054abf Remove indentation config from actions, reducers, and constants 2019-03-21 21:08:59 -04:00
Cassie Tarakajian 6705e4c3f8 load client-side environment variables at runtime 2018-08-24 17:41:23 -04:00
Cassie Tarakajian 8322282269 add turning on and off accessible output to nav 2017-09-15 12:10:54 -04:00
Mathura MG 82207a50d3 Accessibility (#361)
* add p5 interceptor submodule

* update package

* remoce interceptor

* update interceptor;

* merge scripts

* change postinstall script

* refactor interceptor files

* remove merge conflicts

* change source files

* add registry class

* provide seperate outputs for text and grid

* switch textOutput to boolean

* make both modules usable together

* update interceptor for safari

* fix grid label

* add sound output as well

* change file strucure

* change constants

* change input lables

* switch submodule branch

* change variable name

* change grid to table

* remove role from table elements

* switch submodule branch
2017-05-31 15:23:30 -04:00
Andrew Nicolaou 6af92a4a32 Exposes API endpoint URL to client via env variable (#323) 2017-03-16 00:34:14 -04:00
Cassie Tarakajian e87390adb9 update eslint to latest version, fix lots of linting errors (#308)
* update eslint and dependencies, fix linting errors that can be fixed with --fix

* fix lots of linting errors

* update eslintrc, fix some linting errors

* fix all server side linting errors, untested

* fix errors that fixing linting errors had caused

* fix client side eslint errors

* fix client side linting errors

* fix refs lint errors

* fix more linting errors

* update eslint and dependencies, fix linting errors that can be fixed with --fix

* fix lots of linting errors

* update eslintrc, fix some linting errors

* fix all server side linting errors, untested

* fix errors that fixing linting errors had caused

* fix client side eslint errors

* fix client side linting errors

* fix refs lint errors

* fix more linting errors

* fix some accessibility linting errors

* fix a lot of linting errors

* fix a billion more linting errors

* hopefully fix all linting errors, still need to test

* fix bugs that fixing linting had caused
2017-02-22 14:29:35 -05:00
Cassie Tarakajian 7fb85c251b auto autorefresh to preferences, save autorefresh server side 2016-09-28 18:09:37 -04:00
catarak 103ebd2014 add theme to preferences, add backbone of themes to scss 2016-09-20 23:57:27 -04:00
MathuraMG bcd2a39f9d add preferences to include text output 2016-08-12 15:50:33 -04:00
MathuraMG d789c9a8f3 move lint warning to preferences 2016-08-11 14:09:59 -04:00
catarak afc86740b3 fix preferences font size text size bug 2016-08-09 18:45:59 -04:00
catarak 42b15d06de add autosave to preferences 2016-08-09 16:15:28 -04:00
catarak 9f9425c5e9 update preferences server side 2016-08-09 14:20:54 -04:00
catarak c76b1353c3 put preferences to server, need to look at mongoose docs tho because is wrong 2016-08-04 21:43:13 -04:00
catarak b542f72d33 remove code bloat from preferences, add preferences to user schema 2016-08-03 23:45:49 -04:00
catarak a2072d9b0c move preference action creators to preferences component 2016-08-01 13:55:49 -04:00
mathuramg 1332b7abad convert input to integer 2016-07-13 12:59:58 -04:00
mathuramg 65bd8c2e63 include space and tab 2016-07-10 22:52:48 -04:00
mathuramg 3bdd02e859 make preference value input tag 2016-07-10 20:13:37 -04:00
mathuramg 1b56f8ce54 add more preferences 2016-07-06 11:27:39 -04:00
catarak 3d42da18a8 fix a ton of eslint errors 2016-06-23 18:29:55 -04:00
catarak 81aabddeb1 restructure redux files 2016-06-22 15:58:23 -04:00