* 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
* 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'
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
* 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.
* 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
* 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
* 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.
* 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
* Changed unsaved changes asterisk to an svg circle. #158
* Fixed#100
Unmatched routes are handled by react-router on the client side
and a single wildcard route on server.routes.js renders the index
html.
When the /:username/sketches route is matched and the username is not
valid, the user will be redirected to the index route and a toast
will explain what happened. When the username is 'p5' (default when
logged out) it will show all sketches. Maybe this should be changed
to just public or 'local' sketches?
* Moved unsaved changes SVG to a separate file.
* User not found is now a 404 error.
* Added server rendered 404 page.
* Removed console.log
* 404 Page now renders a random p5 sketch. TODO: make 404 sketches.
* Added 404 header
404 page now fetches a random example sketch
* Moved circle closer to file name
* Render 404 page in SketchList route if !user
* removing avenir font, using montserrat instead due to licensing issues
* removing old import statement for typeography scss file
* dropdown formatting closes#210
* make login a seperate page
* make signup a another page
* get previousPath
* setPreviousPath between routes
* new desig for login pagen
* new design for signup page
* added login and exit icons
* added signup and exit icons
* refactor form-container.scss
* deleted extra code
* removing avenir font, using montserrat instead due to licensing issues
* updating headings for sketchlist
* removing old import statement for typeography scss file
* implementing new design for sketchbook closes#207
* removing seconds from sketchlist view
* remove outline from active icon