Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Shortcuts to Analog #1236

Open
wants to merge 53 commits into
base: master
Choose a base branch
from
Open

Added Shortcuts to Analog #1236

wants to merge 53 commits into from

Commits on Feb 10, 2023

  1. Adding Examples

    Added series RC and RLC example circuits
    AmolK987 committed Feb 10, 2023
    Configuration menu
    Copy the full SHA
    7004762 View commit details
    Browse the repository at this point in the history
  2. Changed Examples

    - Added images files
    - Added example files
    julianchen215 committed Feb 10, 2023
    Configuration menu
    Copy the full SHA
    7d5c4a6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    da564d6 View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2023

  1. Created VoltageSourceHandler

    Handler for keyboard shortcut "v" to quickly create a new voltage source
    AmolK987 committed Feb 17, 2023
    Configuration menu
    Copy the full SHA
    f9b294a View commit details
    Browse the repository at this point in the history
  2. Created ResistorHandler.ts

    An unfinished attempt at a keyboard shortcut for the resistor component.
    julianchen215 committed Feb 17, 2023
    Configuration menu
    Copy the full SHA
    f5282b2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    aff01e3 View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2023

  1. Changed keyboard shortcut implementation

    Instead of using "Handlers" we will augment the current "ItemNav" and "AnalogItemNav" to support keyboard shortcuts
    AmolK987 committed Feb 24, 2023
    Configuration menu
    Copy the full SHA
    23072db View commit details
    Browse the repository at this point in the history
  2. Added Comments to ItemNav

    Added some explanatory comments for added code.
    
    Also, added placeholder functionality for any keyboard input
    AmolK987 committed Feb 24, 2023
    Configuration menu
    Copy the full SHA
    eb234c2 View commit details
    Browse the repository at this point in the history
  3. Keyboard Popup and Keyboard Shortcut Prohress

    Changed keyboard popup redo to "ctrl + y" instead of "ctrl + shift + z". Also added a 2d array in the analogItemNav. Added a loop that will travers through the 2d array, looking if ev key matches any shorcut keys.
    julianchen215 committed Feb 24, 2023
    Configuration menu
    Copy the full SHA
    f65b28b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f32d841 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2023

  1. Bring up icons for shortcuts

    Can now bring up appropriate icon for input keyboard shortcut.
    
    Also, completed set of common components.
    AmolK987 committed Feb 28, 2023
    Configuration menu
    Copy the full SHA
    ac829df View commit details
    Browse the repository at this point in the history
  2. SHortcut

    julianchen215 committed Feb 28, 2023
    Configuration menu
    Copy the full SHA
    e92c6b4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    26ed986 View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2023

  1. Create Documentation on Future Quality of Life Improvements

    Detailed plan for future improvements to the analog OpenCircuits
    AmolK987 committed Mar 3, 2023
    Configuration menu
    Copy the full SHA
    7e47c19 View commit details
    Browse the repository at this point in the history
  2. Created DC Analysis Documentation

    Included detailed documentation on how a DC Analysis could be performed.
    AmolK987 committed Mar 3, 2023
    Configuration menu
    Copy the full SHA
    d4e3bfb View commit details
    Browse the repository at this point in the history
  3. Added another future functionality

    Detailed future functionality of uploading component files and being able to use that component in your circuit.
    AmolK987 committed Mar 3, 2023
    Configuration menu
    Copy the full SHA
    ea3bc05 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1d0063c View commit details
    Browse the repository at this point in the history
  5. Updated DC_Analysis

    Added description of output report functionality
    AmolK987 committed Mar 3, 2023
    Configuration menu
    Copy the full SHA
    f6723fd View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    fee73d8 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f7f9260 View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2023

  1. Shortcut for placing on item

    The keyboard shortcuts now work for spawning and placing one instance of a selected component.
    AmolK987 committed Mar 17, 2023
    Configuration menu
    Copy the full SHA
    c9ef735 View commit details
    Browse the repository at this point in the history
  2. Added short_cut flag

    Added a boolean called shortcut_flag that will remain true until escape is pressed. Still trying to figure out how to do this.
    julianchen215 committed Mar 17, 2023
    Configuration menu
    Copy the full SHA
    c935eee View commit details
    Browse the repository at this point in the history
  3. Implemented Multiple Placements

    The keyboard shortcuts will support the placement of multiple placements of a component (on repeat clicks) until "Esc" is pressed.
    AmolK987 committed Mar 17, 2023
    Configuration menu
    Copy the full SHA
    fc748c9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d9917bf View commit details
    Browse the repository at this point in the history
  5. Removed Debug Prints

    AmolK987 committed Mar 17, 2023
    Configuration menu
    Copy the full SHA
    baede46 View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2023

  1. Minor changes

    Fixed small error in declaring shortcut_flag and added comment to the event of dropping a component for the unique case of using a shortcut.
    AmolK987 committed Mar 19, 2023
    Configuration menu
    Copy the full SHA
    306a2a2 View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2023

  1. Fixed Shorcuts messing up Digital

    When shortcut was added to analog, digital did not work. Fixed it.
    julianchen215 committed Mar 21, 2023
    Configuration menu
    Copy the full SHA
    356eaef View commit details
    Browse the repository at this point in the history
  2. Testing pull origin

    Random commit to test/debug pulling from origin
    AmolK987 committed Mar 21, 2023
    Configuration menu
    Copy the full SHA
    2e2f64b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f0e7fea View commit details
    Browse the repository at this point in the history
  4. test

    julianchen215 committed Mar 21, 2023
    Configuration menu
    Copy the full SHA
    edbb90b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    07129e3 View commit details
    Browse the repository at this point in the history
  6. Added Shortcut Parameter to Digital

    Added shortcut parameters to Digital navbar.
    julianchen215 committed Mar 21, 2023
    Configuration menu
    Copy the full SHA
    5366f66 View commit details
    Browse the repository at this point in the history
  7. Updated Shortcuts pop up for Analog

    Added shortcuts to the analog popup that reflects what was added.
    julianchen215 committed Mar 21, 2023
    Configuration menu
    Copy the full SHA
    16ade67 View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2023

  1. Update src/site/shared/containers/ItemNav/index.tsx

    Co-authored-by: Trevor Crystal <TGCrystal@users.noreply.github.com>
    julianchen215 and TGCrystal committed Mar 24, 2023
    Configuration menu
    Copy the full SHA
    f7676e0 View commit details
    Browse the repository at this point in the history
  2. Implemented Some Requested Changes

    Implemented some of the requested changes.
    julianchen215 committed Mar 24, 2023
    Configuration menu
    Copy the full SHA
    dc58924 View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2023

  1. Fixed "No item" bug

    Fixed a bug where the user stops using a shortcut, but code thinks shortcut was pressed for some element.
    
    Also includes debug prints
    AmolK987 committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    9363902 View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2023

  1. Debugging useState

    Trying to debug and attempt to fix the bug where the shortcut flag only works after the first initial placement.
    julianchen215 committed Apr 1, 2023
    Configuration menu
    Copy the full SHA
    a946c42 View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2023

  1. Fixed all Bugs with Shortcuts

    Fixed all bugs with the shortcut feature after swapping to using state variables.
    
    This includes the bugs with getting stuck in the shortcut state even after exiting.
    AmolK987 committed Apr 4, 2023
    Configuration menu
    Copy the full SHA
    378fa44 View commit details
    Browse the repository at this point in the history
  2. Fixed Lint Errors

    Fixed some of the lint errors and got rid of ocnsole log statements.
    julianchen215 committed Apr 4, 2023
    Configuration menu
    Copy the full SHA
    7ffdb05 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    80a69c9 View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2023

  1. Added another exit option

    Now, users can exit the shortcut by pressing the same key again as well as pressing escape
    AmolK987 committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    61c11d9 View commit details
    Browse the repository at this point in the history
  2. Updated shortcut behavior

    Now, if a user opens the ItemNav with a shortcut active and selects the same component as the shortcut then the shortcut state is exited and the code will act like a normal ItemNav selection.
    AmolK987 committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    c324979 View commit details
    Browse the repository at this point in the history
  3. Update index.tsx

    julianchen215 committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    3261af5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d5ab908 View commit details
    Browse the repository at this point in the history
  5. Update index.tsx

    julianchen215 committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    bcfab3c View commit details
    Browse the repository at this point in the history
  6. Lint

    julianchen215 committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    7ac5c3a View commit details
    Browse the repository at this point in the history
  7. Update index.tsx

    julianchen215 committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    0216058 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    f1decfd View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    463c21e View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    c8d4807 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    babad5c View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2023

  1. Fixing Documentation Error

    AmolK987 committed Apr 18, 2023
    Configuration menu
    Copy the full SHA
    065af2d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c97919f View commit details
    Browse the repository at this point in the history