Commit graph

176 commits

Author SHA1 Message Date
Andrew Nicolaou
0e1bb3bd44 Allow deleted sketches in collections to be removed (fixes #1465) 2020-06-29 11:39:35 +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
Cassie Tarakajian
0eb48977ee Fixes #1402 - Add Social Auth buttons to LoginView 2020-05-28 14:46:44 -04:00
Cassie Tarakajian
1dcdfd39db
Merge pull request #1244 from andrewn/feature/storybook
Storybook for component development
2020-05-26 16:21:30 -04:00
Cassie Tarakajian
7dabbc531c Change commmon/Icons to common/icons 2020-05-26 16:17:24 -04:00
Andrew Nicolaou
161ac5b3eb Remove duplicate aria-labels 2020-05-26 18:36:07 +02:00
Cassie Tarakajian
a0cb035dd4 Add <main> to all pages, add semantic HTML updates 2020-05-19 15:34:00 -04:00
Cassie Tarakajian
9d68de8dd2 Update Button component with iconBefore and iconAfter, clean up Icons component 2020-05-19 12:31:36 -04:00
Cassie Tarakajian
f359dcec4a Separate Icons from Button component 2020-05-11 16:28:18 -04:00
Cassie Tarakajian
6d749615cc Start integrating accessibility changes to storybook feature 2020-05-09 00:52:48 -04:00
Cassie Tarakajian
148ab78466 Resolve merge conflicts with master 2020-05-07 19:12:44 -04:00
Cassie Tarakajian
c708af1465 Finish adding aria labels 2020-05-06 14:43:46 -04:00
Cassie Tarakajian
cee22c3277 Move through svg icons and add aria labels 2020-05-06 14:43:46 -04:00
Cassie Tarakajian
8bf4008c51 Migrate from React-InlineSVG to SVGR 2020-05-06 14:43:46 -04:00
Cassie Tarakajian
45b9016385
Merge pull request #1404 from shakti97/axios-error-handling
Fix(axios error handling issue)
2020-05-06 13:02:38 -04:00
Andrew Nicolaou
4f1b9e3700
Fix bug when switching collection or sketch lists (fixes #1401) (#1416)
* Update sketch/collection list when URL changes (fixes #1401)

Using the username as the key prop causes the List component to remount
when the username changes. This means we don't have to bother resetting
everything when the user changes.

* Update deprecated SketchList lifecycle methods

From componentWillReceiveProps to componentDidUpdate
2020-05-03 22:51:01 +02:00
Andrew Nicolaou
7cf3a0bea0 <Button /> supports icons directly to style hover states 2020-04-26 15:32:50 +02:00
Andrew Nicolaou
56865047fd Collection primary buttons 2020-04-26 12:43:58 +02:00
Andrew Nicolaou
0d8aeedd4a Convert user account pages to use Button 2020-04-26 11:40:00 +02:00
shakti97
15b3fa8312 Fix(axios error handling issue) 2020-04-25 20:18:39 +05:30
Andrew Nicolaou
96ecb3e4a0 Replace User form buttons with shared Button component 2020-04-19 22:48:39 +02:00
Andrew Nicolaou
bda1ff13f4 Convert LogIn to use shared Button 2020-04-19 22:46:51 +02:00
Cassie Tarakajian
4d7b1ed113 Remove PropTypes errors, fix bug in handling redux action 2020-04-10 13:58:55 -04:00
Cassie Tarakajian
4a64bae376 Fixes #1355 - sketches overflowing on collection page 2020-04-07 19:20:29 -04:00
Cassie Tarakajian
36f7be60da Close Collection Share dropdown when clicking outside of it 2020-02-11 17:29:35 -05:00
Cassie Tarakajian
7ae02beb2d Update styling of Github and Google Buttons, updating styling of Account Settings 2020-02-11 16:58:08 -05:00
Cassie Tarakajian
1ef4b66727 Fix PropType Errors 2020-02-04 18:40:54 -05:00
Cassie Tarakajian
294b297d49 Fix linting and prop type errors 2020-01-29 12:31:33 -05:00
Andrew Nicolaou
8087a3fcb3 Revert "Make navigation back to Collection List more obvious"
This reverts commit 740401d18b.
2020-01-15 18:10:51 +01:00
Andrew Nicolaou
ed481b9a89 Don't allow Collection name to be empty 2020-01-15 12:07:08 +01:00
Andrew Nicolaou
0660031a0c Make "Add sketch" copy consistent
Buttons and menu items should say "Add sketch" (singular) and titles
should say "Add to collection" as it's implied by context that it's
a sketch.
2020-01-15 10:50:17 +01:00
Andrew Nicolaou
903550b41c Collection owner's username links to their sketches page 2020-01-15 10:45:50 +01:00
Andrew Nicolaou
a5b62567ef Fix linter warnings 2019-12-11 15:56:57 +01:00
Andrew Nicolaou
0c68327690 Fixed-height Overlay for QuickAdd views 2019-12-11 15:12:00 +01:00
Andrew Nicolaou
740401d18b Make navigation back to Collection List more obvious 2019-12-11 14:57:19 +01:00
Andrew Nicolaou
20c2c6c38b Merge branch 'feature/sketch-collections' of https://github.com/andrewn/p5.js-web-editor into feature/sketch-collections 2019-12-11 11:37:10 +01:00
Cassie Tarakajian
001a30f140 potentional option for collection sharing 2019-12-10 18:34:37 -05:00
Andrew Nicolaou
ce1c389505 Use same remove icon as in QuickAdd panel 2019-11-25 19:55:39 +01:00
Andrew Nicolaou
df44a6223f Remove sketch from collection via icon button 2019-11-25 14:53:58 +01:00
Andrew Nicolaou
1d4771e10f Show placeholder label when Collection has no description 2019-11-25 14:53:58 +01:00
Cassie Tarakajian
b751353243 collections: add styling changes for dashboard pages 2019-11-14 16:01:33 -05:00
Andrew Nicolaou
212ad64bae Implement CollectionSearchbar in addition to SketchSearchbar 2019-11-10 21:57:11 +01:00
Andrew Nicolaou
ff86e45e0a Put border around lists 2019-11-10 19:35:44 +01:00
Andrew Nicolaou
ad13684fe3 New simplified sketch list when adding from Collection view 2019-11-10 17:08:21 +01:00
Andrew Nicolaou
e738221be6 Style DashboardActions below tabs 2019-11-04 20:30:24 +01:00
Andrew Nicolaou
14a8f48fd5 Fix all linting errors/warnings 2019-10-21 10:35:20 +02:00
Andrew Nicolaou
59469d9f85 Remove unused code 2019-10-21 10:14:55 +02:00
Andrew Nicolaou
935dd12520 Add sketch Searchbar when displaying modal in Collection view 2019-10-21 02:06:06 +02:00
Andrew Nicolaou
7137c7bd73 Increase hit area of dashboard switcher tabs 2019-10-21 00:49:59 +02:00
Andrew Nicolaou
36f305e2e7 Fix bug where "empty" view is shown when loading 2019-10-20 17:21:28 +02:00