Commit graph

195 commits

Author SHA1 Message Date
Andrew Nicolaou
65aefcd45b Replace getConfig helper to read value from process.env 2020-06-08 11:46:38 +02:00
Cassie Tarakajian
67f9824642
Merge pull request #1410 from ghalestrilo/test/file-node
Write tests for name verification logic (<ToolBar />, <FileNode />)
2020-05-22 14:12:31 -04:00
Cassie Tarakajian
a0cb035dd4 Add <main> to all pages, add semantic HTML updates 2020-05-19 15:34:00 -04:00
Cassie Tarakajian
2c3aeee27a Update Nav snapshot with new SVG attributes 2020-05-06 17:03:20 -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
ghalestrilo
914e48b099 🐛 fix problem with name exports 2020-05-01 13:17:59 -03:00
ghalestrilo
587193ae16 🔇 remove unnecessary debug 2020-05-01 11:18:14 -03:00
ghalestrilo
64ce929627 write tests for toolbar 2020-05-01 11:17:21 -03:00
ghalestrilo
90b11844c5 ♻️ export unconnected Toolbar for testability 2020-04-30 13:14:41 -03:00
ghalestrilo
3b74ef9737 add tests for filenode regardless of type 2020-04-30 12:59:41 -03:00
ghalestrilo
a307b0f84c add tests for current filename validation 2020-04-30 12:47:12 -03:00
ghalestrilo
3b2d5ba903 add tests for folder filename 2020-04-30 12:41:48 -03:00
Cassie Tarakajian
4b4b31e117 Update failing tests to match new code 2020-04-28 14:52:41 -04:00
Cassie Tarakajian
edb5187e03 Update high contrast theme 2020-04-24 18:34:26 -04:00
Cassie Tarakajian
7c54b71002 Fix right nav items alignment 2020-04-22 17:06:05 -04:00
Cassie Tarakajian
b70f49ffc5 Remove unused theme variables, redce the number of different grays, light theme WCAG updates 2020-04-22 16:52:47 -04:00
Cassie Tarakajian
41637d2837 Move handleUploadClick from inline function, prevent user from uploading to folder if not authenticated 2020-04-16 16:08:51 -04:00
Cassie Tarakajian
9185447168 Merge master to fix/rename-file-set-unsaved 2020-04-16 15:59:09 -04:00
ghalestrilo
c4d52457e5 write test file for <FileNode /> 2020-04-16 13:03:21 -03:00
David
b249625746 execute test 2020-04-08 23:34:45 -05:00
David
372748eb45 remove title form nav 2020-04-08 23:23:42 -05:00
Cassie Tarakajian
1652d9e158 Fixes #1349 2020-04-07 17:03:19 -04: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
740401d18b Make navigation back to Collection List more obvious 2019-12-11 14:57:19 +01:00
Cassie Tarakajian
5319bbbeb7 merge master into sketch collections, to include updating theming 2019-11-25 10:46:28 -05:00
Andrew Nicolaou
13c45490a2 Merge branch 'feature/public-api' into feature/sketch-collections 2019-11-10 22:12:14 +01:00
Cassie Tarakajian
7135f5fabd update spacing on preview nav 2019-11-07 16:56:46 -05:00
Cassie Tarakajian
0d061a9dea merge in master 2019-11-07 15:03:01 -05:00
Cassie Tarakajian
821b2ea111 remove link to feedback, since we're not using the google doc at all 2019-10-31 15:25:44 -04:00
Cassie Tarakajian
846d2bb7db Merge branch 'feature/public-api' into feature/sketch-collections 2019-10-31 15:02:31 -04:00
Cassie Tarakajian
3d2a7beeb9 merge master to feature/public-api branch 2019-10-22 17:35:20 -04:00
Cassie Tarakajian
f1bcccb1b2 fixes #1189, fixes nav tests so that the app will actually redeploy 2019-10-08 17:46:11 -04:00
Cassie Tarakajian
53241c9180 fixes #1180 2019-10-08 16:36:38 -04:00
Andrew Nicolaou
c84f590290 Fix eslint errors 2019-10-02 17:37:08 +03:00
Cassie Tarakajian
ad93782496 fixes #1170 2019-10-01 16:32:07 -04:00
Andrew Nicolaou
27804acd6a Add sketch to collection from collection view 2019-09-25 12:09:31 -04:00
Andrew Nicolaou
f98919e69b Logged in user can use "Add to collection" menu item 2019-09-25 12:07:17 -04:00
Andrew Nicolaou
af955b1602 Adds collections Nav item behind a feature flag 2019-09-25 12:04:37 -04:00
Cassie Tarakajian
5900e62904 unify navigation for authentication pages, add authorization to front end, fixes #650 2019-09-19 13:38:27 -04:00
Cassie Tarakajian
7f2529a973 merge master 2019-09-11 19:05:15 -04:00
Cassie Tarakajian
3a65afb6da change link to editor back to 'back to editor' 2019-09-11 16:46:56 -04:00
Andrew Nicolaou
125051ccb1 Use Nav with user menu in "dashboard" layout 2019-09-11 20:11:46 +02:00
Andrew Nicolaou
611730c289 Refactor Nav 2019-09-11 19:06:30 +02:00
Andrew Nicolaou
7ea4ae5637 Fix linting errors and warnings 2019-09-08 16:43:16 +02:00
Rick Brown
c75e11b631 Add toast to notify when creating new file. Fixes #1140 (#1147)
* Add toast to notify when creating new file

* Add toast for opposite conditional #1147

* Replaced New file created with New sketch created

* re #1140, change copy to 'opened new sketch' to make it clear that the new sketch isn't saved
2019-09-05 14:56:18 -04:00
Andrew Nicolaou
b1bfb91f80 Serve assets from /:username/assets, redirecting old path 2019-08-24 13:38:01 +02:00
Shan Rauf
1ef07ed7a6 Fix hover effect on Log in and Sign up nav items (#1085)
* Fix hover effect on Log in and Sign up nav items

* Fix Login and Signup unequal spacing

* Fix HTML syntax and right nav__item-header hover
2019-06-11 17:47:14 -04:00
Shan Rauf
eb82968a9f Fix hover effect on Log in and Sign up nav items (#1085)
* Fix hover effect on Log in and Sign up nav items

* Fix Login and Signup unequal spacing

* Fix HTML syntax and right nav__item-header hover
2019-06-11 17:46:37 -04:00
Andrew Nicolaou
4679d6a0bd Show "Back to the editor" in nav on Account view page 2019-06-11 16:24:26 -04:00
Andrew Nicolaou
b16cb26a4b Makes Account view a modal 2019-06-11 16:24:26 -04:00
Andrew Nicolaou
89babdc8c0 Update test snapshots 2019-05-29 12:51:50 -04:00
Andrew Nicolaou
137ea783ea Experiment with "Checks" in Travis output (#1081)
* Run tests on CI

* Create a lint error on purpose

* Splits build into test and deploy stages

lint and test jobs will run in parallel and if both are successful
(and branch is master), deploy will run.

* Revert "Create a lint error on purpose"

This reverts commit 306c91c4278631fa1c1dcd40f0b23f7f9e5f000d.

* Updating snapshot

* Run deploy only on master branch (not PRs)

* Use global deploy config item to avoid building on PRs
2019-05-24 12:16:15 -04:00
Cassie Tarakajian
61d6e13c78
fixes #1018 (#1019) 2019-04-05 17:14:00 -04:00
Cassie Tarakajian
cdb4e0687e remove accessible options from nav for #768 2019-04-03 14:29:58 -04:00
Cassie Tarakajian
6d998d5f73
Merge branch 'master' into master 2019-04-03 11:38:39 -04:00
Apoorv Taneja
391a92a1fd Logo color changes with theme. Fix #916 (#997)
* color changes with theme

* color changes with theme

* color changes with theme

* color changes with theme
2019-03-28 14:21:43 -04:00
siddhant
9433d188fc Added autoOpen items on hover (#900)
* AutoOpen Header

* removed nav heading

* Fixed #908

* Fixed Styles

* Fixed styles

* Refactor editor

* Issues Fixed

* keyup -> keyown
2019-03-27 12:50:55 -04:00
Pranav Tharoor
92c4c9a30f Fixes issue with drop-down arrow not being clickable (#982) 2019-03-26 13:38:19 -04:00
nik72619c
ec00f32a5b added requested changes 2019-03-26 21:30:43 +05:30
Nikhil Sharma
52291c69f2
fixed non-optimal function declarations 2019-03-17 14:49:45 +05:30
Cassie Tarakajian
2cc0d578fb
for #790, when saving a sketch, pull from codemirror window (#847)
* for #790, when saving a sketch, pull from codemirror window

* fix lint errors
2019-02-25 16:45:20 -05:00
Oliver Wright
61f20d1d4c Refactor Nav Props - See #824 (#846) 2019-02-25 15:11:07 -05:00
Oliver Wright
e8639a6ed0
Update snapshot 2019-02-10 01:00:24 +00:00
Oliver Wright
1df469bdeb
Update test 2019-02-10 01:00:20 +00:00
Sepand Ansari
189cc586c6 Add jest snapshot testing to Nav.jsx 2019-01-25 17:26:56 -05:00
Sepand Ansari
e1ef323e9b Add jest/enzyme and a simple unit test 2019-01-25 17:21:10 -05:00
Francis Li
31abeb9455 Serve up an empty 404 page if no examples user (#766)
* Rebase/squash

* Fix 404 page showing when refreshing Examples list

* Fix linter error

* Revert special-case handling of the p5 user for examples

* Add additional env var for enabling/disabling examples
2019-01-25 14:12:39 -05:00
Cassie Tarakajian
7bd016bac3
fixes #785, update node, and everything else that comes along with that (#810) 2019-01-16 17:56:18 -05:00
Francis Li
9fe34504e9 Disable login/save (#778) 2018-12-11 16:21:37 -05:00
Laksh Singla
9105249c23 Add New File and New Folder buttons in Navbar (feature: #758) (#763)
* Add New File and New Folder buttons in Navbar (feature: #758)

* Moved the Add File and Add Folder butons from File to Sketch (feature: #758)
2018-11-15 14:37:44 -05:00
Basile Pesin
996a1b988a Fixes #692 (#713)
* Got the basis covered, now I need to style all this

* Corrected and upgraded Share window

* Changed the routes again, and set correct design

* Made some of the requested changes

* Removed PreviewFrame errors

* Redesigned Preview Header

* Corrected style of the FullView

* Corrected most of the css mistakes

* Corrected logo size
2018-10-18 14:10:37 -04:00
Liang Tang
d5856ba923 Remove authorization from specific routes (#642)
* fixes #569

* update listObjectsInS3ForUser

* update client-side routes

* update aws controller

* update

* redirect to /login when unlogged in
2018-05-29 21:37:10 -07:00
Liang Tang
7a48899862 make keyboard nav accessible (#628) 2018-05-11 17:07:29 -07:00
Cassie Tarakajian
5057a901fe fix a few linting errors 2018-05-08 19:16:04 -07:00
Cassie Tarakajian
c90dac55b7 update eslint and fix linting errors 2018-05-08 19:16:04 -07:00
Liang Tang
1335985ab8 fixes #610, fixes #604 (#611) 2018-04-02 17:58:21 -07:00
Himanshu
41fd31e6a5 Issue#591 (#592)
* fixes #555

* fixes #591

* Update README.md

* Update examples.js

* Update examples.js
2018-03-08 16:34:21 -05:00
Himanshu
074e654b64 fixes #525 (#549)
* fixes #525

On clicking on the links itself, the menu can be closed.

* fixes #525

Account click added.
2018-02-20 14:32:09 -05:00
Mr.tang
6f5472020c Fixes #517 (#530)
* update download file's name

* fix lint error

* use moment.js

* slugify filename

* fix lint error
2018-02-13 11:28:06 -05:00
Cassie Tarakajian
daeed8749d
fixes #528 (#536) 2018-02-09 16:32:06 -05:00
Dhruvdutt Jadhav
e7abb55ee7 Fixes #515 Update React to 16 and other dependencies (#519)
* Update to react, react-dom 16.2.0

* Update react-redux

* Update react-tabs

* Update redux-devtools

* Update redux-devtools-dock-monitor

* Update redux-devtools-log-monitor

* Add prop-types package

* Update gitignore

* Update all files to use prop-types package

* Update react-router

* Update react-inlinesvg
2018-02-07 13:06:07 -05:00
Cassie Tarakajian
48cbd79ca8 fixes #443 2017-10-11 12:56:44 -04:00
Cassie Tarakajian
9253d7e1ec fix reversed keyboard shortcuts on nav, fix wording on keyboard shortcut modal 2017-09-15 12:14:01 -04:00
Cassie Tarakajian
8322282269 add turning on and off accessible output to nav 2017-09-15 12:10:54 -04:00
Cassie Tarakajian
a92f4f5b3c refactor stop and stop sketch actions, add start and stop sketch to nav 2017-09-14 17:57:09 -04:00
Cassie Tarakajian
34cf86326b add find next and find previous commands to nav 2017-09-14 16:58:59 -04:00
Cassie Tarakajian
7f206122a2 add keyboard shortcuts to nav items 2017-09-14 14:52:41 -04:00
Cassie Tarakajian
251ab99ac7 move items from editor dropdown to nav 2017-09-14 14:52:41 -04:00
Cassie Tarakajian
7a399f859a remove unimplemented nav items, fix nav styling 2017-09-14 14:52:41 -04:00
Cassie Tarakajian
5cadf8986c fix logo styling, add link to keybaord shortcuts 2017-09-14 14:52:40 -04:00
Cassie Tarakajian
087f319a8a make nav keyboard accessible 2017-09-14 14:52:40 -04:00
Cassie Tarakajian
7d449e63b9 start to make nav accessible 2017-09-14 14:52:40 -04:00
Cassie Tarakajian
65b009077b many updates to nav style 2017-09-14 14:52:40 -04:00
Cassie Tarakajian
394772c32c more nav restyling 2017-09-14 14:52:40 -04:00
Cassie Tarakajian
fd26279fed start to restyle nav 2017-09-14 14:52:40 -04:00
Cassie Tarakajian
e140702784 Create Asset List View and refactor overlay code (#356)
* start to create asset list

* begin refactoring overlay component to remove duplicate code

* refactoring of overlays, asset list styles

* changes to add size to asset list

* fixes to asset list

* handle case in which a user hasn't uploaded any assets

* fix bug in which asset list only grabbed first asset

* remove console.log

* update overlay exit styling to use icon mixin
2017-07-11 17:37:43 +02:00
Zach Rispoli
7403b2b2d6 Current sketch will stop playing if a new example is opened (issue #357) (#365)
* Current sketch will stop playing if a new example is opened (#357)

* stopSketch dispatches on route change

* Remove extra stopSketcch calls
2017-06-18 17:11:23 -04:00
Andrew Nicolaou
313fc856d1 Fixes linting errors (#362) 2017-06-05 22:33:32 -04:00
Kevin Dodge
6518bf14bf Fix typo in preview version/bug reporting announcement (space needed between 'bugs' and 'here'). (#345) 2017-05-03 11:57:33 -04:00