Commit graph

53 commits

Author SHA1 Message Date
ghalestrilo
ab93a4c85d 👌 make dropdown list toggle on enter/click 2020-07-30 16:16:47 -03:00
ghalestrilo
8acd6ec189 👌 move hoc to components folder 2020-07-30 14:30:45 -03:00
ghalestrilo
8da6497457 ♻️ create useAsModal HOC 2020-07-29 16:01:40 -03:00
ghalestrilo
8339be1683 ♻️ create useHideOnBlur hook 2020-07-29 15:15:55 -03:00
ghalestrilo
24a26c16c2 🧹 remove needless imports 2020-07-20 19:08:03 -03:00
Cassie Tarakajian
b805754d04
Merge pull request #1452 from andrewn/chore/config-handler
Helpers for config and API client
2020-06-15 12:55:41 -04:00
Andrew Nicolaou
6d90dd2071 Do not log in test environment 2020-06-13 12:51:26 +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
Andrew Nicolaou
65aefcd45b Replace getConfig helper to read value from process.env 2020-06-08 11:46:38 +02:00
Sebas Maagnaldii
0edaa5f555 Fixed a bug that appears on preview when a .js file has a 2 or less name length 2020-06-05 02:51:58 -03:00
Cassie Tarakajian
0d2d099d22 Change helper file name to p5-keywords.js 2020-05-06 14:41:08 -04:00
Mayank Gautam
041a5b37e0 removed unused code from p5-javascript.js and added comment in automatically generated helper file 2020-04-30 16:00:06 +05:30
Mayank Gautam
720a897dca added script to generate and update syntax highlighting files 2020-04-30 12:17:18 +05:30
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
amitch6097
73eca9254b fix #1246, Find modal does not select input text on second Command + F 2020-01-28 16:56:45 -05: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
Apoorv Taneja
5fa806d33e Password limit (#1191)
* changes

* changes

* changes

* changes

* changes

* changez
2019-10-17 12:53:11 -04:00
Andrew Nicolaou
c57ead4c62 Create Collection 2019-09-25 12:06:07 -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
8d0e59efc2
Merge pull request #1151 from davidbmx/master
Add matches search into code mirror fixes #936
2019-09-10 16:45:54 -04:00
davidbmx
6030b355ff Remove num results when don't match find 2019-09-10 12:38:12 -05:00
davidbmx
22f958e50a Add matches search into code mirror 2019-09-10 12:00:27 -05:00
David
876f0b30fc Add matches search into code mirror 2019-09-02 08:02:49 -05:00
Jon Paul Gualdarrama
68c1e48c99 Fix Issue #588. Only highlight runtime errors at the appropriate line… (#1136)
* Fix Issue #588. Only highlight runtime errors at the appropriate line for file in which the error occurred.

* Modifications to handle js in html <script> tag Part 1

* Correctly highlight errors in JavaScript in a <script> tag
2019-08-27 13:02:07 -04:00
Apoorv Taneja
4c1ebdf83d Email Validation added (#1120)
* changes

* changes

* changes

* changes

* changes
2019-07-23 14:16:05 -04:00
Nimish Agrawal
705dd5c796 Focus on find input (#1044) 2019-04-30 17:24:41 -04:00
Ankur Ingale
94eb6f1ac9 Fixed Issue #978 (#1015)
* Fixed Issue #978

* Added more keywords
2019-04-12 12:59:06 -04:00
Gaurang Tandon
2c876cda45 fixes #906 (#931) 2019-03-20 17:53:03 -04:00
Apoorv Taneja
3d248a0573 fixed password length (#901) 2019-03-15 17:35:48 -04:00
Laksh Singla
772a7c9370 Updated client/utils/javascript.js to reflect changes in the CodeMirror's repository (#805)
* Updated client/utils/p5-javascript.js to reflect the latest one in CodeMirror's repository

* Template string bug fixed (#773)
2019-01-25 15:43:01 -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
Cassie Tarakajian
5c83d14b63 fix for #769 2018-11-26 17:45:01 -05:00
Cassie Tarakajian
ef98190e25 for #769 2018-11-20 18:00:54 -05:00
Cassie Tarakajian
d5f2380c31 for #761, fix lint error 2018-11-15 17:28:43 -05:00
Cassie Tarakajian
b70d62164c for #761, add source back to console messages 2018-11-15 17:19:50 -05:00
Cassie Tarakajian
28d7947910 Revert "Revert "fixes #761, but fixes the bigger issue at hand here, which is that log messages were not getting deserialized properly""
This reverts commit f1bc7293ce.
2018-11-15 16:40:37 -05:00
Cassie Tarakajian
f1bc7293ce Revert "fixes #761, but fixes the bigger issue at hand here, which is that log messages were not getting deserialized properly"
This reverts commit 661a367b72.
2018-11-15 15:55:02 -05:00
Cassie Tarakajian
661a367b72 fixes #761, but fixes the bigger issue at hand here, which is that log messages were not getting deserialized properly 2018-11-15 14:26:31 -05:00
Cassie Tarakajian
ead709b256 fix linting error 2018-08-20 14:54:12 -04:00
Liang Tang
617f00653c Improve current console (#656)
* init v2

* make replay work

* fix a failing scenary of react-frame

* fix some bugs

* delete/comment some files

* remove

* fix some bugs && remove more comments

* remove unnecessary lines

* minor tweak

* fix some bugs

* try to hook iframe using webpack

* update

* changes according to cassie

* minor tweak

* fix lint

* extract sass

* add icons

* update webpack config

* update webpack configuration

* update

* tweak

* fix a small bug
2018-07-30 12:20:57 -04:00
Cassie Tarakajian
9958619fc4 fixes #630 and updates codemirror 2018-05-30 15:23:32 -07:00
Cassie Tarakajian
f9d1c601b3 move around static and dist folders to work with server bundle, and make preview generation work with this 2018-05-08 19:16:03 -07:00
Cassie Tarakajian
7f206122a2 add keyboard shortcuts to nav items 2017-09-14 14:52:41 -04:00
Katyayani Singh
fa98306b9a Update Find styling to new design (#401)
* Update Find styling

* Update placeholder text
2017-07-28 17:38:47 +02:00
Andrew Nicolaou
2e62c6b288 Find (#359)
* Styles CodeMirror Search box

* Switch to fork of search add-on

* Styles search box using custom markup

* Prev/Next search behaviour, highlighting current result

* Hide search modifiers until implemented

* Regexp search

* Style RegExp modifier button active state

* Styles search modifiers

* Wires up Case Sensitive search button

* Allows case insenstive regexp search

* Do not show underlying regexp query string when re-opening dialog

* Adds "Whole word" search

* Adds title and aria-label for tooltip and screenreaders

* Whole Word button shows correct active/inactive state

* Disables replace implementation which doesn't work

* Tidies up query parsing so it's less of a hack

- uses state to convert query text into a regexp
- avoids having to fake regexp using "/.../" syntax
- parsing is now in one place

* Uses shared metaKey function for Cmd/Ctrl key

* Adds find function to keyboard shortcuts modals

* Sets aria-checked to true/false to indicate button state

* Sets role=checkbox on checkbox-like buttons
2017-06-06 15:20:21 -04:00
Andrew Nicolaou
313fc856d1 Fixes linting errors (#362) 2017-06-05 22:33:32 -04:00
Andrew Nicolaou
a267837fb7 Persists Redux store to/from sessionStorage (#334)
* Persists Redux store when reloading app for login

* Disable confirmation box when leaving page for login

* Removes extra console.warn

* Sets serveSecure: true for new projects if served over HTTPS

* Clears persisted state on IDEView load

Because when a sketch is created on HTTPS and then the user logs in
the page won't be reloaded

* Appends ?source=<protocol> to URL to track return protocol
2017-04-20 14:05:15 -04:00
Yining Shi
fe6acc90e4 Adding User Settings View (#325)
* added account page showing username and email

* change username and email

* validate current password and add new  password

* reject promise with error for reduxForm submit-validation for current password

* updated user reducer to handle setting sucess and server side async

* warning if there is current password but no new password

* fixes logout button

* import validate function, fixes logout style
2017-03-16 18:25:12 -04:00
Cassie Tarakajian
67dad2b86d fix p5 specific syntax highlighting 2016-12-14 18:07:13 -05:00