* Added displayUsername and username update functionality
* fix: move username assignment to safe place
moved the username assignment down a statement so that it doesn't cause exception
* fix: handle missing username or displayUsername
* refactor: remove redundant code
* fix(client,server): usernames should not be a http error code
* feat: reject invalid chars first
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* Implemented pagination on timeline
* Made requested change and removed outline from button
* fix: PropTypes and off-by-one error
* Keep buttons centered in all cases and give fixed height timeline table rows to prevent jerk while changing pages
* First and last page navigation and margin issue fix.
* Explicitly importing specific lodash functions
* Refactored timeline pagination into a separate file.
* Refactored timeline to have total Pages as prop and made text corrections.
* Added proptypes for total pages
* made changes to setState call for lastPage
* Made a11y changes
This commit updates the layouts and the styles to be consistent with the rest of the application. This also ensures now that the gatsby navigation is used for smoother transtions.
- [x] two column layout for the page.
- [x] amount to learning minutes mapping for contribution impact.
- [x] handle one-time and recurring stripe subscription charges.
- [x] server side validation of donate forms.
- [x] prevent multiple subscriptions and onetime donations per user.
This commit removed the donate modal and related wiring,
although some of the state mapping is still around.
The remaining state mapping can either be removed, or kept
for now, because it will be replaced as is for the newer
motivation based donation prompts
* Fixed the issue of icon background
* Removed background from icons
* Reverted the margin in last icon and fixed the slight color change on hover.
* Update client/src/components/profile/components/social-icons.css
Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: null <mathew@sovereignwallet.network>
* fix: Removed MathJax CDN from header and set it up to download whenever a user goes to a Rosetta Code challenge
* Reworked slightly so that MathJax CDN script is only rendered once
* Simplified further
* Resolved conflicts and updated MathJax fallback to work like the one on donate.js
* Escaped backticks in scriptLoaders.js
* refactor: remove reliance on state