* search bar function
* Fixes#231, adds searchbar to sketchlist
* Fixes#231, update requested changes to searchbar
* Fixes#231, reset search term after modal closed
* re #168, add totalsize to response from API, add loader to asset list, add totalsize to asset list ui
* re #168, add totalsize to response from API, add loader to asset list, add totalsize to asset list ui
* update asset list copy to remove limit, since that's not implemented yet
* parent b3c3efcec9
author Laksh Singla <lakshsingla@gmail.com> 1549106083 +0530
committer Cassie Tarakajian <ctarakajian@gmail.com> 1560540243 -0400
parent b3c3efcec9
author Laksh Singla <lakshsingla@gmail.com> 1549106083 +0530
committer Cassie Tarakajian <ctarakajian@gmail.com> 1560540198 -0400
parent b3c3efcec9
author Laksh Singla <lakshsingla@gmail.com> 1549106083 +0530
committer Cassie Tarakajian <ctarakajian@gmail.com> 1560539667 -0400
Created initial html structure and styling for new SketchList design
Final styling of ActionDialogueBox commplete
Dropdown menu disappearing while clicking anywhere on the table
Fixed linting issues and renamed variables
Minor tweaks in the SketchList dropdown dialogue UI
Themifyed the dropdown
Made changes in the dropdown: Arrow positioned slightly updwards, Removed blank space and added box-shadow in dropdown, themifyed dropdowns dashed border color
Added Delete and Share functionality to Dialog box
Added Duplicate functionality to Dialog box
Added download functionality to Dialog box
SketchList does not open a sketch if dialogue box is opened
SketchList Rename initial UI completed
Enter key handled for rename project option
[WIP] Updating rename functionality
Download option now working for all the sketches
Duplicate functionality extended for non opened sketches too
Modified overlay behaviour to close only the last overlay
Share modal can now display different projects
Dropdown closes when Share and Delete are closing for a more natural UX
fix broken files from rebasing
Created initial html structure and styling for new SketchList design
Final styling of ActionDialogueBox commplete
Added Delete and Share functionality to Dialog box
Added Duplicate functionality to Dialog box
[WIP] Updating rename functionality
Duplicate functionality extended for non opened sketches too
Modified overlay behaviour to close only the last overlay
Share modal can now display different projects
Final styling of ActionDialogueBox commplete
Fixed linting issues and renamed variables
Minor tweaks in the SketchList dropdown dialogue UI
Themifyed the dropdown
Added Delete and Share functionality to Dialog box
[WIP] Updating rename functionality
Modified overlay behaviour to close only the last overlay
Share modal can now display different projects
Dropdown closes when Share and Delete are closing for a more natural UX
fix broken files from rebasing
Final styling of ActionDialogueBox commplete
Minor tweaks in the SketchList dropdown dialogue UI
Themifyed the dropdown
[WIP] Updating rename functionality
Duplicate functionality extended for non opened sketches too
Modified overlay behaviour to close only the last overlay
Share modal can now display different projects
Dropdown closes when Share and Delete are closing for a more natural UX
* fix bugs in merge commit
* move sketch list dialogue to ul/li
* update sketch option dropdown to use dropdown placeholder, remove unused css
* major refactor of sketchlist component, fix showShareModal action, minor updates ot icon sizing
* fix broken links on asset list
* remove unused image, fix options for different users in sketch list
* parent b3c3efcec9
author Laksh Singla <lakshsingla@gmail.com> 1549106083 +0530
committer Cassie Tarakajian <ctarakajian@gmail.com> 1560540243 -0400
parent b3c3efcec9
author Laksh Singla <lakshsingla@gmail.com> 1549106083 +0530
committer Cassie Tarakajian <ctarakajian@gmail.com> 1560540198 -0400
parent b3c3efcec9
author Laksh Singla <lakshsingla@gmail.com> 1549106083 +0530
committer Cassie Tarakajian <ctarakajian@gmail.com> 1560539667 -0400
Created initial html structure and styling for new SketchList design
Final styling of ActionDialogueBox commplete
Dropdown menu disappearing while clicking anywhere on the table
Fixed linting issues and renamed variables
Minor tweaks in the SketchList dropdown dialogue UI
Themifyed the dropdown
Made changes in the dropdown: Arrow positioned slightly updwards, Removed blank space and added box-shadow in dropdown, themifyed dropdowns dashed border color
Added Delete and Share functionality to Dialog box
Added Duplicate functionality to Dialog box
Added download functionality to Dialog box
SketchList does not open a sketch if dialogue box is opened
SketchList Rename initial UI completed
Enter key handled for rename project option
[WIP] Updating rename functionality
Download option now working for all the sketches
Duplicate functionality extended for non opened sketches too
Modified overlay behaviour to close only the last overlay
Share modal can now display different projects
Dropdown closes when Share and Delete are closing for a more natural UX
fix broken files from rebasing
Created initial html structure and styling for new SketchList design
Final styling of ActionDialogueBox commplete
Added Delete and Share functionality to Dialog box
Added Duplicate functionality to Dialog box
[WIP] Updating rename functionality
Duplicate functionality extended for non opened sketches too
Modified overlay behaviour to close only the last overlay
Share modal can now display different projects
Final styling of ActionDialogueBox commplete
Fixed linting issues and renamed variables
Minor tweaks in the SketchList dropdown dialogue UI
Themifyed the dropdown
Added Delete and Share functionality to Dialog box
[WIP] Updating rename functionality
Modified overlay behaviour to close only the last overlay
Share modal can now display different projects
Dropdown closes when Share and Delete are closing for a more natural UX
fix broken files from rebasing
Final styling of ActionDialogueBox commplete
Minor tweaks in the SketchList dropdown dialogue UI
Themifyed the dropdown
[WIP] Updating rename functionality
Duplicate functionality extended for non opened sketches too
Modified overlay behaviour to close only the last overlay
Share modal can now display different projects
Dropdown closes when Share and Delete are closing for a more natural UX
* fix bugs in merge commit
* move sketch list dialogue to ul/li
* update sketch option dropdown to use dropdown placeholder, remove unused css
* major refactor of sketchlist component, fix showShareModal action, minor updates ot icon sizing
* fix broken links on asset list
* remove unused image, fix options for different users in sketch list
* parent b3c3efcec9
author Laksh Singla <lakshsingla@gmail.com> 1549106083 +0530
committer Cassie Tarakajian <ctarakajian@gmail.com> 1560540243 -0400
parent b3c3efcec9
author Laksh Singla <lakshsingla@gmail.com> 1549106083 +0530
committer Cassie Tarakajian <ctarakajian@gmail.com> 1560540198 -0400
parent b3c3efcec9
author Laksh Singla <lakshsingla@gmail.com> 1549106083 +0530
committer Cassie Tarakajian <ctarakajian@gmail.com> 1560539667 -0400
Created initial html structure and styling for new SketchList design
Final styling of ActionDialogueBox commplete
Dropdown menu disappearing while clicking anywhere on the table
Fixed linting issues and renamed variables
Minor tweaks in the SketchList dropdown dialogue UI
Themifyed the dropdown
Made changes in the dropdown: Arrow positioned slightly updwards, Removed blank space and added box-shadow in dropdown, themifyed dropdowns dashed border color
Added Delete and Share functionality to Dialog box
Added Duplicate functionality to Dialog box
Added download functionality to Dialog box
SketchList does not open a sketch if dialogue box is opened
SketchList Rename initial UI completed
Enter key handled for rename project option
[WIP] Updating rename functionality
Download option now working for all the sketches
Duplicate functionality extended for non opened sketches too
Modified overlay behaviour to close only the last overlay
Share modal can now display different projects
Dropdown closes when Share and Delete are closing for a more natural UX
fix broken files from rebasing
Created initial html structure and styling for new SketchList design
Final styling of ActionDialogueBox commplete
Added Delete and Share functionality to Dialog box
Added Duplicate functionality to Dialog box
[WIP] Updating rename functionality
Duplicate functionality extended for non opened sketches too
Modified overlay behaviour to close only the last overlay
Share modal can now display different projects
Final styling of ActionDialogueBox commplete
Fixed linting issues and renamed variables
Minor tweaks in the SketchList dropdown dialogue UI
Themifyed the dropdown
Added Delete and Share functionality to Dialog box
[WIP] Updating rename functionality
Modified overlay behaviour to close only the last overlay
Share modal can now display different projects
Dropdown closes when Share and Delete are closing for a more natural UX
fix broken files from rebasing
Final styling of ActionDialogueBox commplete
Minor tweaks in the SketchList dropdown dialogue UI
Themifyed the dropdown
[WIP] Updating rename functionality
Duplicate functionality extended for non opened sketches too
Modified overlay behaviour to close only the last overlay
Share modal can now display different projects
Dropdown closes when Share and Delete are closing for a more natural UX
* fix bugs in merge commit
* move sketch list dialogue to ul/li
* update sketch option dropdown to use dropdown placeholder, remove unused css
* major refactor of sketchlist component, fix showShareModal action, minor updates ot icon sizing
* fix broken links on asset list
* remove unused image, fix options for different users in sketch list
* for #950, upgrade babel to v7
* fix linting errors
* for #950, remove @babel/core from devDependencies (so it's only in dependencies) and change babel-loader config to use .babelrc
* for #950, changes to .babelrc to make work
* for #950, include core-js modules in webpack config for IE support with babel/plugin-syntax-dynamic-import
* for #950, update babel and associated packages to LTS
* for #950, upgrade babel to v7
* fix linting errors
* for #950, remove @babel/core from devDependencies (so it's only in dependencies) and change babel-loader config to use .babelrc
* for #950, changes to .babelrc to make work
* for #950, include core-js modules in webpack config for IE support with babel/plugin-syntax-dynamic-import
* for #950, update babel and associated packages to LTS
* 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
* add isSaving to project reducer, move actions to functions, start work to get comprehensive frontend/backend syncing working
* handle making changes while saving project, handle saving from another window
* add change to handle saving new sketch, and adding new changes while saving
* Fix multiple file options showing up (#987)
This change ensures that the file options composite widget is
hidden if and only if none of its components is in focus. This
is achieved by having a variable keep track of the state of
the composite widget (in focus / not in focus).
* Fix#987
Modified fix for #987 according to the requested changes.
Moved isFocused to the components state and created a method
for hadling the function calls executed in onBlur.
* Fix#987 - final touches
Renamed method blurComponent to onBlurComponent. Moved duplicated
code from onFocus callback to a new method called onFocusComponent.
* Client and server side code added for Linewrap option
* Linked linewrap prop with the Editor.jsx property
* linewrap defaults to true
* Renamed 'LineWrap' to 'WordWrap'
* 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
This fixes failing `npm run lint`:
- fixes `max-len` issue in code by reformat of the expression
- exempt ES6 template literals from `max-len` rule using ESLint
configuration change
Thanks!
* Set min & max limits on font-size
Disable the font-size setting button when extremum is reached.
References https://github.com/processing/p5.js-web-editor/issues/689
* handle case for user input to input field, also add min and max for indentation amount
* replaced () with {} to fix implicit return error
* added first version of fetching generative-design examples
* ignore local testing files
* formatting
* updated examples-gg-latest
* updated examples-gg-latest.js
- data files not served via rawgit - hallelujah!
- added jquery
* updated p5 version
* refactoring and code cleanup
* added comment
* comment out link to svgFiles - unused
* moved commented code
* fixed conflicts
* linted examples-gg-latest
* removed console.log of response.data to prevent logging user data to console
* fixed linting error
* 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
- Set the preview canvas to `display:block` to remove vertical spacing
caused by the default value, which was making a full-height canvas cause
vertical scrolling, and the vertical scrollbar caused horizontal
scrolling
- Wrap the preview content in a container with `position:relative` and
no other visible content, so that the full-height iframe excludes the
height of the preview frame header, preventing it from going beyond the
height of the page
Restrict the z-index of the console (and any other preview panes) to the
context of the preview container, thereby preventing any internal
content from overlaying a modal. `z-index:0` is used as a more
browser-compliant form of `isolation:isolate` or `contain:paint` to
create an isolated stacking context.
* Comment out show/hide file options action creators.
* Comment out show/hide file options properties
* Comment out show/hide file options action definitions
* Comment out constants for show/hide options action types
* Comment out props for show/hide options and replace with component state.
* Comment out show/hide edit file name reducers.
* Comment out show/hide edit file name actions.
* comment out show/hide edit file name action types.
* Comment out show/edit file name props from IDEView component
* Replace show/hide edit filename props in FileNode component with local state
* Remove commented out code from previous changes for moving redux state back into component state.
* Add binding to this for new functions. And tidy up of code.
* fixes#384
Positioning and font-size was off.
* Added consistent styling
* Further Changes.
* removed line height.
* fixes#371
* Made minor semantic and code consistency changes.
* anchor tag removed
* add status check
* rename variables and remove unnecessary dependencies
* set unsavedchange when error happens
* set unsavedchange when error happens
* Fixes#497 by adding support for an optional new env variable, S3_BUCKET_URL_BASE
* Add a section to README about optional S3 bucket URL base configuration.
* 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
* Re-introduce Email Verification code
Revert "Revert "Email verification""
This reverts commit d154d8bff259350523a0f139e844db96c43d2ee1.
* Uses MJML to generate Reset Password email
* Sends Password Reset and Email Confirmation emails using MJML template
* Sends verified status along with user data
* API endpoint for resending email verification confirmation
* Displays verification status on Account page and allows resending
* Send back error string
* Passes email address through to sign/verify helper
* Uses enum-style object to set verified state
* Sends minimal info when user verifies since it can be done without login
* Provides /verify UI and sends confirmation token to API
* Better name for JWT secret token env var
* Adds mail config variables to Readme
* Encrypts email address in JWT
The JWT sent as the token in the Confirm Password URL
can be unencoded by anyone, although it's signature can only
be verified by us. To ensure that no passwords are leaked,
we encrypt the email address before creating the token.
* Removes unused mail templates
* Resets verified flag when email is changed and sends another email
* Moves email confirmation functions next to each other
* Extracts random token generator to helper
* Moves email confirmation actions into Redux
- updates the AccountForm label with a message to check inbox
- show status when verifying email token
* Uses generated token stored in DB for email confirmation
* Sets email confirmation status to verified if logging in from Github
* Sends email using new method on account creation
* Fixes linting errors
* Removes replyTo config
* 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
* Checkbox to toggle project's serveSecure flag
This doesn't yet persist or reload the page.
* Help button that shows modal to explain feature
* Extracts protocol redirection to helper
* Returns promise from saveProject() action to allow chaining
* Setting serveSecure flag on project redirects after saving project
* Set serveSecure on Project model in API and client
* Redirect to correct protocol when project is loaded
* 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
* Tries to match user account from list of emails in Github API
Requests the 'user:email' scope from Github which returns the private
emails associated with the user's account.
* Centres GitHub button in layout
* Higher-order component to force some routes to HTTPS
* Force all user-management routes to HTTPS
* Redirect to sourceProtocol as route unmounts.
By default, no redirection occurs if sourceProtocol is not explicitly
defined.
* Sets serveSecure flag on new projects and usea after forcing protocol
The flag is set to `false` on all projects and as the UI has no way to
change this, it always redirects to HTTP after a signup/login action.
* Move HoC to be with other top-level components
* Server should respond to account page request
* Serves AccountView over HTTPS
* Turns HTTPS redirection off in development by default
Will log to the browser console any redirection that would
have happened. Added a line in the README about how to
enable this for testing in development.
* 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
* update eslint and dependencies, fix linting errors that can be fixed with --fix
* fix lots of linting errors
* update eslintrc, fix some linting errors
* fix all server side linting errors, untested
* fix errors that fixing linting errors had caused
* fix client side eslint errors
* fix client side linting errors
* fix refs lint errors
* fix more linting errors
* update eslint and dependencies, fix linting errors that can be fixed with --fix
* fix lots of linting errors
* update eslintrc, fix some linting errors
* fix all server side linting errors, untested
* fix errors that fixing linting errors had caused
* fix client side eslint errors
* fix client side linting errors
* fix refs lint errors
* fix more linting errors
* fix some accessibility linting errors
* fix a lot of linting errors
* fix a billion more linting errors
* hopefully fix all linting errors, still need to test
* fix bugs that fixing linting had caused
* fix UI Detail: color of 'by' in author/account name #299
* Fix color of Title text
* Wrap <code>getThemifyVariable()</code> in <code>@include themify</code>.
* Add missing curly brace