Alex Gleason
5a9f17ebac
Start refactoring AdminAPI actions
2020-08-23 12:48:45 -05:00
crockwave
d966107f1b
Add default copyright value to reducer
...
Fixed checkbox processing
2020-08-14 19:03:11 -05:00
crockwave
cf260ec793
Handles virgin rendering, default soapbox object if soapbox.json missing, local state used only for UI changes, and retention of settings in both DB and store as soapbox object
...
Need to monitor for soapbox object dispatch events so that hitting Back causes re-render of timeline page
Need to explore refactoring update of soapbox object before being passed to API
2020-08-14 16:51:04 -05:00
Curtis ROck
b127ffa158
Added brandcolor tooltip on brand color button hover
...
Component renders well from virgin use
State updates well
Still breaks on Save
2020-08-13 22:25:06 -05:00
Curtis ROck
06186f85c8
continued debugging
2020-08-12 20:52:32 -05:00
crockwave
cea7723fc3
refactored to improve default soapbox object for store
...
refactored to render with local state if avail or with props
refactored to build soapbox object for api and store from local state if avail or with props
2020-08-12 17:24:14 -05:00
crockwave
0f70fde172
action_bar had a poor merge conflict correction fixed.
...
Still experimenting with updating nested state
2020-08-11 18:41:03 -05:00
Curtis ROck
207750aef4
Trying immutable functions to modify state object
2020-08-11 06:30:54 -05:00
crockwave
e6d009d4f2
Trying to update nested state on element change events
2020-08-10 19:29:38 -05:00
crockwave
a001fa2dfe
Merge branch 'admin_cfg' of https://gitlab.com/soapbox-pub/soapbox-fe into admin_cfg
2020-08-10 15:33:34 -05:00
Curtis ROck
72a4a38fec
Refactoring to use soapbox object as state. Still buggy
2020-08-09 11:03:24 -05:00
crockwave
d83ac121a8
Removed console logging from features/configuration
2020-08-03 10:53:08 -05:00
Curtis
4717638ea8
Merge branch 'add-copyright-footer-admin-settings' into 'admin_cfg'
...
Add copyright footer setting
See merge request soapbox-pub/soapbox-fe!121
2020-08-03 02:05:53 +00:00
Sean King
86d3340426
Fix typo
2020-08-02 19:10:32 -06:00
Sean King
f21f713f9a
Add copyright footer setting
2020-08-02 18:44:04 -06:00
Curtis ROck
f205ff5334
Added tests to reducers/soapbox
2020-08-02 18:45:39 -05:00
Sean King
49b8ecd639
Fix merge conflict.
2020-08-02 20:47:52 +00:00
Sean King
f398dde5cb
Color picker for admin config
2020-08-02 14:41:26 -06:00
crockwave
1f6ca55366
Limit logo upload to either SVG or PNG
2020-08-02 14:07:13 -05:00
crockwave
ba18c3a643
SB settings Save works and brandcolor renders. Logo/banner paths are issues, and adding new homefooter/customCSS are issues
2020-08-01 16:38:29 -05:00
crockwave
43f28a30ba
linter fix
2020-07-31 18:06:16 -05:00
crockwave
0b9eeccbc3
commented out to try to push an empty soapbox payload into Admin API
2020-07-31 17:35:14 -05:00
crockwave
12caa8e0ce
Added console to debug portion of soapbox settings object that should be pushed to Redux store
2020-07-30 19:42:50 -05:00
crockwave
c6f3816f77
Drafted pushing soapbox object to Redux store on SOAPBOX_POST_SUCCESS
2020-07-30 19:39:41 -05:00
Curtis ROck
bba5be4463
refactored methods and can now generate the JSON object required for AdminAPI
2020-07-29 22:38:24 -05:00
crockwave
c28c086ae7
Setup proof-of-concept on dynamically creating soapbox config JSON object suitable for pushing into Pleroma Admin-FE
2020-07-29 19:09:44 -05:00
Curtis ROck
e60fe8a709
identified data object structure to be able to create JSON object for storing soapbox config in Pleroma DB
2020-07-28 23:30:16 -05:00
crockwave
7d41967cad
corrected editing error in features/edit_profile. edited getFormdata to start producing a JSON data format. Changed actions/soapbox to use post instead of patch
2020-07-28 19:29:20 -05:00
Curtis ROck
b95e6a53eb
Debugged missing soapbox.json use case
2020-07-27 21:54:45 -05:00
crockwave
a0befffab0
modified to process customCss soapbox.json list element per Neenster format
2020-07-27 19:16:02 -05:00
Curtis ROck
abe8b28b69
added handlers for add new list item. Probs with homeFooter and customCSS item add functions
2020-07-25 23:31:39 -05:00
crockwave
ac17b79253
debugged non-existent soapbox elements and missing soapbox.json. Debugged element state changes. Modified labels and translations.
2020-07-25 18:27:39 -05:00
crockwave
d6ce92bfb3
custom CSS works by adding bind statement
2020-07-25 15:25:33 -05:00
Curtis ROck
e2a0da5717
commented out custom CSS rendering section
2020-07-25 10:41:01 -05:00
Curtis ROck
d772983278
edited features/configuration
2020-07-25 09:55:01 -05:00
crockwave
abd2f6ad83
edit features/configuration and translations
2020-07-24 19:30:33 -05:00
Sean King
53c02cd010
Comment out MAX_FIELDS since we don't know if we need them
2020-07-23 22:07:58 -06:00
Sean King
789c735369
Fix checked parameter and remove Display name and bio
2020-07-23 22:04:29 -06:00
crockwave
b962c9f848
edit features/configuration
2020-07-23 19:45:34 -05:00
Curtis ROck
c8eb29a7d9
edited features/configuration
2020-07-23 09:14:28 -05:00
Curtis ROck
9220e251db
fix linter error
2020-07-22 21:59:52 -05:00
Curtis ROck
ad316e0912
fix linter errors
2020-07-22 21:50:41 -05:00
crockwave
34c87bca7e
edited features/configuration and associated translations
2020-07-22 19:31:41 -05:00
crockwave
eef32c96e3
Added branding_preview. Edited index
2020-07-21 18:38:10 -05:00
Curtis ROck
2af5149ed3
edited features/configuration
2020-07-21 08:30:51 -05:00
crockwave
9365b99ad4
Moved settings_checkbox to components primary folder. Created features/configuration.
2020-07-20 18:18:54 -05:00