profile
viewpoint
L. P. Soai-Van leosoaivan Washington, D.C. @TheOdinProject moderator and contributor.

leosoaivan/js-book-library 1

An online list of books you've read, with the ability to add/delete books as needed.

leosoaivan/amplify-js 0

A declarative JavaScript library for application development using cloud services.

leosoaivan/basic_rails_config 0

Basic Rails skeleton set up with PostgresQL, RSpec, Capybara, and Database Cleaner

leosoaivan/curriculum 0

The open curriculum for learning web development

leosoaivan/empower 0

Empower is a client advocacy and management system designed to help you cultivate client relationships, manage the delivery of services, and track outcomes and trends.

leosoaivan/etch_a_sketch 0

A simple Etch-A-Sketch built on HTML/CSS/Jquery

leosoaivan/google_homepage 0

Odin Project Practice

leosoaivan/JavaScript30 0

30 Day Vanilla JS Challenge

push eventleosoaivan/teachable-ui

Leonard Soai-Van

commit sha ed6012dde3450928299df7f3a18662769b182292

Add basic tests for UnauthenticatedApp

view details

Leonard Soai-Van

commit sha ec085550188a909064981e5a5450be5dbd1a123a

Add tests for AuthForm

view details

Leonard Soai-Van

commit sha 86dc4466106b689a7868eaf0eda4604c47a14143

Basic stuff

view details

Leonard Soai-Van

commit sha 3d656db44b46a3ef622769cbb26154e11f51bbf6

Implement Error component

view details

push time in 3 days

issue openedstyled-components/styled-components

Duplicate element logged when using styled-components and Enzyme's mount in CRA

I'm posting a usage question here as a last resort, as I have neither been able to find an answer nor received a response on Stack Overflow and Spectrum. Apologies in advance.

TLDR: I have finding that elements and data attributes on styled-components are "duplicated" in Enzyme tests. This makes asserting on data attributes difficult. I don't know if this is due to create-react-app, styled-components + babel-plugin-macros, or Enzyme.

I have a Header component defined and used like so in a Greeting component:

import styled from 'styled-components/macro'

const Header = styled.h1`
  font-size: 36px;
  font-weight: 600;
  text-transform: capitalize;
  color: ${thm.text};
  margin-bottom: 24px;
`;

const Greeting = () => {
  return (
    <Header
      data-test-id="authform-greeting-header"
    >
      {header}
    </Header>
  )
}

Inside an Enzyme unit test for Greeting, when I use mount and find to target the data-test-ids, my tests fail because find returns two nodes. This is what console.log(wrapper.debug()) returns:

<Greeting__Header data-test-id="authform-greeting-header">
  <h1 data-test-id="authform-greeting-header" className="Greeting__Header-m192p8-1 boxZU">
    welcome back
  </h1>
</Greeting__Header>

I should note that the output in the React DevTools is as expected. The component tree looks something like:

  • Greeting
    • Greeting__Root
      • Greeting__Header

Current packages:

"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-scripts": "3.4.1",
"styled-components": "^5.1.1",
"enzyme": "^3.11.0"

created time in 3 days

issue openedaws-amplify/amplify-js

Allow Auth.federatedSign() to take custom attributes

Is your feature request related to a problem? Please describe. I'd like to store a user's sign up location from the app/client (something like window.location.href) in my database. With Auth.signUp(), I can do this by setting a custom attribute and reading that attribute in a post-Confirmation trigger.

Describe the solution you'd like Allow Auth.federatedSign() to take custom attributes as well.

Describe alternatives you've considered I've tried setting data in local/sessionStorage and firing a graphQL call on the relevant Hub auth events. It works, but being able to do it within the Auth class would be nice.

Additional context N/A

created time in 4 days

issue commentaws-amplify/amplify-js

Federated user fails to update mutable attributes with a 400 response: "Access Token does not have required scopes"

@pedramp20 might this be what you are looking?

The aws.cognito.signin.user.admin scope grants access to Amazon Cognito User Pool API operations that require access tokens, such as UpdateUserAttributes and VerifyUserAttribute.

It sounds as though you may be missing the aws.cognito.signin.user.admin in your app client settings.

pedramp20

comment created time in 4 days

push eventleosoaivan/teachable-ui

Leonard Soai-Van

commit sha 34f2bd4d45233f0835fce721bc3a801889fd65fa

Attempts

view details

push time in 9 days

push eventleosoaivan/teachable-ui

Leonard Soai-Van

commit sha d9e10e3e8c8cc3d1b681d337f9da85f3601ff7e4

Add tests for AuthForm

view details

push time in 16 days

push eventleosoaivan/teachable-ui

Leonard Soai-Van

commit sha 5953907b3d0b29ca28cdd23777ae4353f290c92a

Moved a bunch of stuff

view details

push time in 16 days

push eventleosoaivan/teachable-ui

Leonard Soai-Van

commit sha 25609c5b6713652d5338f1a9bf3915f8f77065f5

Condense authforms

view details

push time in 16 days

push eventleosoaivan/teachable-ui

Leonard Soai-Van

commit sha e6215bf69892d6e8412983e37f5272bd32e7b36b

Simplify AuthForm

view details

push time in 16 days

push eventleosoaivan/teachable-ui

Leonard Soai-Van

commit sha 9aeb686cb7b2ad833afeae9f06c3245f3aa545ba

Return AuthForm

view details

push time in 16 days

push eventleosoaivan/teachable-ui

Leonard Soai-Van

commit sha 803155e38a8ee896b976658e4efbafb733d98b5d

Re-organize AuthForm

view details

push time in 16 days

push eventleosoaivan/teachable-ui

Leonard Soai-Van

commit sha 5cc99cd3c46bf933bfdf58a9e0c1ce7f5d5a4401

Fix tests

view details

push time in 16 days

push eventleosoaivan/teachable-ui

Leonard P. Soai-Van

commit sha 582188cfb5e527aeeca6dd87120c8ea24525ed30

Fix styling

view details

Leonard P. Soai-Van

commit sha 86fc7a2d5a74eb522c75677ce260d0fcc6deb805

Change props

view details

Leonard P. Soai-Van

commit sha 92d93c70a9e6da059ec6c0626531e3a04d2c9147

Extract auth form Root

view details

Leonard P. Soai-Van

commit sha 9ca7e4f2fecc6cdba64addbfe406647a778ffd44

Fix Field

view details

Leonard P. Soai-Van

commit sha 715a505a7afe4baf7663a3e6b186b98891597961

Refactor saving point

view details

push time in 17 days

pull request commentTheOdinProject/curriculum

remove block, add pretty_print and additional resources

@rlmoser99

A balanced tree is one where the difference between heights of left subtree and right subtree of every node is not more than 1.

I believe this was the original intention, so this clarification may be necessary.

rlmoser99

comment created time in a month

Pull request review commentTheOdinProject/curriculum

changed definition of step 7 from 'depth' to more accurate 'height'

 You'll build a simple binary search tree in this assignment. In this lesson, our    6. Write `#inorder`, `#preorder`, and `#postorder` methods which accept a block. Each method should traverse the tree in their respective depth-first order and yield each node to the provided block. As a bonus, make the method return an array of values if no block is given. -  7. Write a `#depth` method which accepts a node and returns the depth(number of levels) beneath the node.+  7. Write a `#height` method which accepts a node and returns the height of the node. Height is defined as the number of edges in longest path from a given node to a leaf node.

Grammar-wise, can we change the second part of the first phrase to and returns its height? We're already referring to node in the first half, so this reduces redundancy.

Otherwise LGTM. Thanks @Tenacious-Qi

Tenacious-Qi

comment created time in a month

Pull request review commentTheOdinProject/curriculum

remove block, add pretty_print and additional resources

 You'll build a simple binary search tree in this assignment. In this lesson, our    3. Write a `#build_tree` method which takes an array of data (e.g. [1, 7, 4, 23, 8, 9, 4, 3, 5, 7, 9, 67, 6345, 324]) and turns it into a balanced binary tree full of `Node` objects appropriately placed (don't forget to sort and remove duplicates!). The `#build_tree` method should return the level-1 root node. -  3. Write an `#insert` and `#delete` method which accepts a value to insert/delete (you'll have to deal with several cases for delete such as when a node has children or not).+  4. Write an `#insert` and `#delete` method which accepts a value to insert/delete (you'll have to deal with several cases for delete such as when a node has children or not). If you need additional resources, check out these two articles on [inserting](https://www.geeksforgeeks.org/binary-search-tree-set-1-search-and-insertion/?ref=lbp) and [deleting](https://www.geeksforgeeks.org/binary-search-tree-set-2-delete/?ref=lbp), or [this video](https://youtu.be/wcIRPqTR3Kc) with several visual examples. -  4. Write a `#find` method which accepts a value and returns the node with the given value.+  5. Write a `#find` method which accepts a value and returns the node with the given value. -  5. Write a `#level_order` method which accepts a block. The method should traverse the tree in breadth-first level order and yield each node to the provided block. This method can be implemented using either iteration or recursion (try implementing both!). As a bonus, make the method return an array of values if no block is given.-  **Tip:** You will want to use an array acting as a queue to keep track of all the child nodes that you have yet to traverse and to add new ones to the list (as you saw in the [video](https://www.youtube.com/watch?v=86g8jAQug04)).+  6. Write a `#level_order` method that returns an array of values. This method should traverse the tree in breadth-first level order. This method can be implemented using either iteration or recursion (try implementing both!). **Tip:** You will want to use an array acting as a queue to keep track of all the child nodes that you have yet to traverse and to add new ones to the list (as you saw in the [video](https://www.youtube.com/watch?v=86g8jAQug04)). -  6. Write `#inorder`, `#preorder`, and `#postorder` methods which accept a block. Each method should traverse the tree in their respective depth-first order and yield each node to the provided block. As a bonus, make the method return an array of values if no block is given.+  7. Write `#inorder`, `#preorder`, and `#postorder` methods that returns an array of values. Each method should traverse the tree in their respective depth-first order. -  7. Write a `#depth` method which accepts a node and returns the depth(number of levels) beneath the node.+  8. Write a `#depth` method which accepts a node and returns the depth(number of levels) beneath the node. -  8. Write a `#balanced?` method which checks if the tree is balanced. A balanced tree is one where the difference between heights of left subtree and right subtree is not more than 1.+  9. Write a `#balanced?` method which checks if the tree is balanced. A balanced tree is one where the difference between heights of left subtree and right subtree is not more than 1. -  9. Write a `#rebalance!` method which rebalances an unbalanced tree.-  **Tip:** You'll want to create a level-order array of the tree before passing the array back into the `#build_tree` method.+  10. Write a `#rebalance` method which rebalances an unbalanced tree. **Tip:** You'll want to create a level-order array of the tree before passing the array back into the `#build_tree` method. -  10. Write a simple driver script that does the following:+  11. Write a simple driver script that does the following:      1. Create a binary search tree from an array of random numbers (`Array.new(15) { rand(1..100) }`)     2. Confirm that the tree is balanced by calling `#balanced?`     3. Print out all elements in level, pre, post, and in order     4. try to unbalance the tree by adding several numbers > 100     5. Confirm that the tree is unbalanced by calling `#balanced?`-    6. Balance the tree by calling `#rebalance!`+    6. Balance the tree by calling `#rebalance`     7. Confirm that the tree is balanced by calling `#balanced?`     8. Print out all elements in level, pre, post, and in order -Pat yourself on the back! As a super-duper bonus, notice how all the depth-first methods share a similar signature and are basically just a re-arrangement of the same 3 lines... try dynamically declaring the three methods using metaprogamming techniques like `#define_method`.+  **Tip:** If you would like to visualize your binary search tree, here is a `#pretty_print` method that a student wrote and shared on Discord:+    ~~~ruby+    def pretty_print(node = root, prefix="", is_left = true)+      pretty_print(node.right, "#{prefix}#{is_left ? "│ " : " "}", false) if node.right +      puts "#{prefix}#{is_left ? "└── " : "┌── "}#{node.data.to_s}"+      pretty_print(node.left, "#{prefix}#{is_left ? " " : "│ "}", true) if node.left+    end+    ~~~++  ### Super-Duper Bonus+  Did you notice how all the depth-first methods share a similar signature and are basically just a re-arrangement of the same 3 lines? If you would like to challenge yourself even further, here is an opportunity to learn about a metaprogamming technique called `#define_method`. This is not the best example of using metaprogramming, but it is important to know that it exists. You will have to do additional research to fully understand it, but this [Ruby Learning blog post on metaprogamming](http://rubylearning.com/blog/2010/11/23/dont-know-metaprogramming-in-ruby/), [Rubymonk's chapter on dynamic method calls](http://rubymonk.com/learning/books/2-metaprogramming-ruby/chapters/25-dynamic-methods/lessons/65-send#solution4186), and this [stack overflow](https://stackoverflow.com/questions/2306731/using-yield-inside-define-method-in-ruby) will get you started in the right direction.

Writing these links as a list would be helpful. Users could quickly scan the links in a compact way.

rlmoser99

comment created time in a month

Pull request review commentTheOdinProject/curriculum

remove block, add pretty_print and additional resources

 ### Project 1: Binary Search Trees -You learned about [binary search trees](http://en.wikipedia.org/wiki/Binary_search_tree) -- where you take a group of data items and turn them into a tree full of nodes where each left node is "lower" than each right node.  The tree starts with the "root node" and any node with no children is called a "leaf node".+You have learned about [binary search trees](http://en.wikipedia.org/wiki/Binary_search_tree) -- where you take a group of data items and turn them into a tree full of nodes where each left node is "lower" than each right node.  The tree starts with the "root node" and any node with no children is called a "leaf node". You have also learned about tree traversal algorithms like breadth-first and depth-first. -You also learned about tree traversal algorithms like breadth-first and depth-first which we'll attempt to implement here.+Now, let's take a look at balanced binary search trees. Read [this article](https://www.geeksforgeeks.org/sorted-array-to-balanced-bst/) and watch [this video](https://youtu.be/VCTP81Ij-EM) to understand the basic algorithm used to build a balanced BST. Although these two resources do not use Ruby, you should understand it enough to develop your own pseudocode.  ### Assignment 1-You'll build a simple binary search tree in this assignment. In this lesson, our tree won't handle duplicate values as they are more complicated and result in trees that are much harder to balance. Be sure to always remove duplicate values or check for an existing value before inserting.+You'll build a balanced binary search tree in this assignment. Do not use duplicate values because they make it more complicated and result in trees that are much harder to balance. Therefore, be sure to always remove duplicate values or check for an existing value before inserting.

Can use BST here

rlmoser99

comment created time in a month

Pull request review commentTheOdinProject/curriculum

remove block, add pretty_print and additional resources

 ### Project 1: Binary Search Trees -You learned about [binary search trees](http://en.wikipedia.org/wiki/Binary_search_tree) -- where you take a group of data items and turn them into a tree full of nodes where each left node is "lower" than each right node.  The tree starts with the "root node" and any node with no children is called a "leaf node".+You have learned about [binary search trees](http://en.wikipedia.org/wiki/Binary_search_tree) -- where you take a group of data items and turn them into a tree full of nodes where each left node is "lower" than each right node.  The tree starts with the "root node" and any node with no children is called a "leaf node". You have also learned about tree traversal algorithms like breadth-first and depth-first. -You also learned about tree traversal algorithms like breadth-first and depth-first which we'll attempt to implement here.+Now, let's take a look at balanced binary search trees. Read [this article](https://www.geeksforgeeks.org/sorted-array-to-balanced-bst/) and watch [this video](https://youtu.be/VCTP81Ij-EM) to understand the basic algorithm used to build a balanced BST. Although these two resources do not use Ruby, you should understand it enough to develop your own pseudocode.

Grammatical, but the acronym should be defined after the fully written words: Now, let's take a look at balanced binary search trees (BST).

After that, it can be used freely.

rlmoser99

comment created time in a month

push eventleosoaivan/teachable-ui

Leonard P. Soai-Van

commit sha 3a9a569b9ba1d495b20fb2ed5d9d33095009df5a

Begin error field

view details

push time in a month

push eventleosoaivan/teachable-ui

Leonard P. Soai-Van

commit sha 8c115c66f965422428b06227c3cfb407a16aecb5

Adjust padding

view details

Leonard P. Soai-Van

commit sha 4a69256bb43a28b06f9e3689b331669564d1da47

Add signup component

view details

push time in a month

push eventleosoaivan/teachable-ui

Leonard P. Soai-Van

commit sha 98d7436018e763d2408325ef6efee1a067fe646e

Add header section

view details

push time in a month

push eventleosoaivan/teachable-ui

Leonard P. Soai-Van

commit sha dbdbf231d94f04a1e6e48d18f933ff597d9eba7b

Rename Login to SignIn

view details

Leonard P. Soai-Van

commit sha a6b4fd15fc92cc1a950430dfe417585b3b226f83

Rename Field components

view details

push time in a month

push eventleosoaivan/teachable-ui

Leonard P. Soai-Van

commit sha 7d7aff03d117658095d92f2d7bf7a3bcb9a0bb50

Add button

view details

Leonard P. Soai-Van

commit sha 0e4bf71b8b8c3eab00e671771a8739b677409201

Remove node-sass

view details

push time in a month

push eventleosoaivan/teachable-ui

Leonard P. Soai-Van

commit sha 037c96692ba6c962da2397f0fd1ec107847bf5b4

Change structure of theme file

view details

Leonard P. Soai-Van

commit sha 27d9af47111c93c015cfcf676f4b1b23017c3e55

Implement Button component

view details

push time in a month

create barnchleosoaivan/teachable-ui

branch : create-unauthenticated-app

created branch time in a month

push eventTheOdinProject/discussions

L. P. Soai-Van

commit sha 54252e643287f64afdd07a6b85d084318b688b3f

Update 2020-06-30.md Add Leo's updates

view details

push time in a month

push eventleosoaivan/teachable-ui

Leonard P. Soai-Van

commit sha 1865340a998d7ec5fd6bdede0b9a3af54e755a98

Add basic global styling, media queries, and theme

view details

Leonard P. Soai-Van

commit sha 5036a4cb22ab9367b576bc1a41260738afaf5174

Fix linting issues

view details

Leonard P. Soai-Van

commit sha 86df81517b81c54f2c3b5dca3a88705ac7bc680c

Add basic color palette

view details

L. P. Soai-Van

commit sha c072f647b98a030054d03ea6ee4404bf4d6e3989

Merge pull request #6 from leosoaivan/setup/media-queries Setup media queries and theming

view details

push time in a month

push eventleosoaivan/teachable-ui

Leonard P. Soai-Van

commit sha 86df81517b81c54f2c3b5dca3a88705ac7bc680c

Add basic color palette

view details

push time in a month

push eventleosoaivan/teachable-ui

Leonard P. Soai-Van

commit sha 5036a4cb22ab9367b576bc1a41260738afaf5174

Fix linting issues

view details

push time in a month

create barnchleosoaivan/teachable-ui

branch : setup/media-queries

created branch time in a month

push eventleosoaivan/teachable-ui

Leonard P. Soai-Van

commit sha e27a01c936c14cd2b66f19bcce18a78ff90fbee4

Remove watchAll flag for tests

view details

L. P. Soai-Van

commit sha 67ffd3a5c7ef2fd0a151bf48c2c8dc55f1c82392

Merge pull request #5 from leosoaivan/setup/travis Remove watchAll flag for tests

view details

push time in a month

PR opened leosoaivan/teachable-ui

Remove watchAll flag for tests
+11 -1

0 comment

1 changed file

pr created time in a month

push eventleosoaivan/teachable-ui

L. P. Soai-Van

commit sha ddafea6206a00d1d9c024950167f73d102db2ad2

Setup Travis CI/CD

view details

Leonard P. Soai-Van

commit sha e27a01c936c14cd2b66f19bcce18a78ff90fbee4

Remove watchAll flag for tests

view details

push time in a month

push eventleosoaivan/teachable-ui

Leonard P. Soai-Van

commit sha 0e8f6fb3cf3876eb3e0739e1cc977bb8272b285b

Prepare basic Travis config file

view details

Leonard P. Soai-Van

commit sha 710684da7073d4246bb1fa955807f28eac1e520e

Setup for testing

view details

Leonard P. Soai-Van

commit sha 32d112432688b39e7382e3db433b65d90afc9177

Add smoke test

view details

Leonard P. Soai-Van

commit sha 86b738c3ec92bb7280142e3f98ba4d7e629280ee

Set CI=false to prevent failures on warnings in Travis

view details

L. P. Soai-Van

commit sha ddafea6206a00d1d9c024950167f73d102db2ad2

Setup Travis CI/CD

view details

push time in a month

push eventleosoaivan/teachable-ui

Leonard P. Soai-Van

commit sha 86b738c3ec92bb7280142e3f98ba4d7e629280ee

Set CI=false to prevent failures on warnings in Travis

view details

push time in a month

push eventleosoaivan/teachable-ui

Leonard P. Soai-Van

commit sha 710684da7073d4246bb1fa955807f28eac1e520e

Setup for testing

view details

Leonard P. Soai-Van

commit sha 32d112432688b39e7382e3db433b65d90afc9177

Add smoke test

view details

push time in a month

create barnchleosoaivan/teachable-ui

branch : setup/travis

created branch time in a month

push eventleosoaivan/teachable-ui

Leonard P. Soai-Van

commit sha e3049489ed8c493ef7798106aca0253b02d0b9c8

Fix minor linting issues

view details

Leonard P. Soai-Van

commit sha 33461d1754a239da31d0d60afbbcde702c95c738

Rename Login form

view details

Leonard P. Soai-Van

commit sha 3de56c58b7f50963ca47d222645a02492a303ae7

Add basic authform

view details

L. P. Soai-Van

commit sha 698b26093532c50b4544cd5ad9b039f82e527ed9

Merge pull request #3 from leosoaivan/feature/add-unauthenticated-app-with-login Feature/add unauthenticated app with login

view details

push time in a month

push eventleosoaivan/teachable-ui

Leonard P. Soai-Van

commit sha 3de56c58b7f50963ca47d222645a02492a303ae7

Add basic authform

view details

push time in a month

push eventleosoaivan/teachable-api

L. P. Soai-Van

commit sha fbd7926a37096fbca79a3f058fd32fac88b126d7

Freeze simplecov gem to 0.17 for CC (#9)

view details

push time in a month

push eventleosoaivan/teachable-api

L. P. Soai-Van

commit sha 4844dcca72927f155ca57a4bf0470869fd534041

Serve gradebooks json (#8) * Initial setup * Switch data response to Gradebooks controller * Fix Gemfile.lock * Remove Simplecov coverage of ExceptionHandler until actually used * Remove unused users_request_spec.rb * Remove unused UsersController * Edit SimpleCov coverage * Remove unneeded SimpleCov category * Move SimpleCov

view details

Leonard P. Soai-Van

commit sha a153c31e9a6fc49be4b43be08080e49251a1286f

Merge branch 'master' of github.com:leosoaivan/teachable-api into serve-gradebooks-json

view details

push time in a month

push eventleosoaivan/teachable-api

Leonard P. Soai-Van

commit sha eab8129728fac5f0c77227bfe25f22b03ce0b63a

Try specifying version of SimpleCov

view details

push time in a month

push eventleosoaivan/teachable-api

L. P. Soai-Van

commit sha 4844dcca72927f155ca57a4bf0470869fd534041

Serve gradebooks json (#8) * Initial setup * Switch data response to Gradebooks controller * Fix Gemfile.lock * Remove Simplecov coverage of ExceptionHandler until actually used * Remove unused users_request_spec.rb * Remove unused UsersController * Edit SimpleCov coverage * Remove unneeded SimpleCov category * Move SimpleCov

view details

push time in a month

pull request commentleosoaivan/teachable-api

Serve gradebooks json

ok to test

leosoaivan

comment created time in a month

push eventleosoaivan/teachable-api

Leonard P. Soai-Van

commit sha 35765011ad2edf2f61427ca32f132f73c5d06504

Move SimpleCov

view details

push time in a month

push eventleosoaivan/teachable-api

Leonard P. Soai-Van

commit sha 9728dd06499830372a66b447f08d517ae2134ba4

Remove unneeded SimpleCov category

view details

push time in a month

push eventleosoaivan/teachable-api

Leonard P. Soai-Van

commit sha 9b928cfd8677f2bba2c27f6759bf6717750d9dbf

Remove unused UsersController

view details

Leonard P. Soai-Van

commit sha ce5d07b6e1bfceb182c9aa1d6233558120f55407

Edit SimpleCov coverage

view details

push time in a month

push eventleosoaivan/teachable-api

Leonard P. Soai-Van

commit sha ee242d257e55ee8ed08c370b79698eeba1515260

Remove unused users_request_spec.rb

view details

push time in a month

push eventleosoaivan/teachable-api

Leonard P. Soai-Van

commit sha b448be2c86ee7cd7a3b8a27e4e1e39b884bfd874

Remove Simplecov coverage of ExceptionHandler until actually used

view details

push time in a month

push eventleosoaivan/teachable-api

Leonard P. Soai-Van

commit sha bf7e335b23a3b93510224590ff1943aa4623f96c

Fix Gemfile.lock

view details

push time in a month

PR opened leosoaivan/teachable-api

Serve gradebooks json
+114 -8

0 comment

13 changed files

pr created time in a month

push eventleosoaivan/teachable-api

Leonard P. Soai-Van

commit sha c6a5763d40f6c6f7d97f8cba6750dd7bac27577e

Switch data response to Gradebooks controller

view details

push time in a month

create barnchleosoaivan/teachable-api

branch : serve-gradebooks-json

created branch time in a month

push eventleosoaivan/teachable-api

Leonard P. Soai-Van

commit sha 2b9a464d941bf7ea45655ec795a26a49f699b038

Downgrade simplecov to < 0.18 for CC

view details

push time in a month

push eventleosoaivan/teachable-api

Leonard P. Soai-Van

commit sha c7c21423450626b6a2cde5cb2f210e91215dd5be

Fix Rubocop issues

view details

push time in a month

push eventleosoaivan/teachable-api

Leonard P. Soai-Van

commit sha 92d738fe056e69de9cb83e707805dd4070867c79

Add SimpleCov for CC

view details

push time in a month

push eventleosoaivan/teachable-api

Leonard P. Soai-Van

commit sha ce792a7ce8f122b3f30293c8e1b48d70737fcb8d

Setup CC test coverage

view details

push time in a month

push eventleosoaivan/teachable-api

Leonard P. Soai-Van

commit sha 9bf4650e37be49e32501d807bafce33e74399abf

Minor edits

view details

push time in a month

push eventleosoaivan/teachable-api

L. P. Soai-Van

commit sha e350ebcbf3011bc0d292faf404c22a71610f472b

Configure Rubocop and address issues (#7) * Configure Rubocop and address issues

view details

push time in a month

push eventleosoaivan/teachable-api

Leonard P. Soai-Van

commit sha 3b87c56ba8028b1a5ac8b33543bf4a645d407229

Add end line

view details

push time in a month

create barnchleosoaivan/teachable-api

branch : setup/rubocop

created branch time in a month

push eventleosoaivan/teachable-api

L. P. Soai-Van

commit sha f36ef1cb8af46340e0005b2e5a4012e48b5359cb

Add seeding (#6) * Fix factories as needed * Fix models as needed

view details

push time in a month

PR merged leosoaivan/teachable-api

Add seeding
  • Fix factories as needed
  • Fix models as needed
+52 -6

0 comment

6 changed files

leosoaivan

pr closed time in a month

PR opened leosoaivan/teachable-api

Add seeding
  • Fix factories as needed
  • Fix models as needed
+52 -6

0 comment

6 changed files

pr created time in a month

create barnchleosoaivan/teachable-api

branch : feature/add-seeding

created branch time in a month

push eventleosoaivan/teachable-api

Leonard P. Soai-Van

commit sha 0220c8488ba02167986037fec20125acb70b75aa

Fix action-pack vulnerability with suggested work-around

view details

push time in a month

push eventleosoaivan/teachable-api

L. P. Soai-Van

commit sha 24b4da8acdaa02a34629082560992316aaa00b03

Feature/gradebook (#5) * Change column 'subject' to 'title' * Setup testing for Gradebook model * Add factory * Add basic unit test * Rename factory file

view details

push time in a month

PR opened leosoaivan/teachable-api

Feature/gradebook
+0 -0

0 comment

1 changed file

pr created time in a month

push eventleosoaivan/teachable-api

L. P. Soai-Van

commit sha 7d11358de85d045cdde4aed669e7e9f7775e8f05

Implement Gradebook model (#3) * Add factory * Add basic unit test

view details

dependabot[bot]

commit sha 3322489cab1b8c72f2e1f23711d85320e430690e

Bump rack from 2.2.2 to 2.2.3 (#4) Bumps [rack](https://github.com/rack/rack) from 2.2.2 to 2.2.3. - [Release notes](https://github.com/rack/rack/releases) - [Changelog](https://github.com/rack/rack/blob/master/CHANGELOG.md) - [Commits](https://github.com/rack/rack/compare/v2.2.2...2.2.3) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

view details

Leonard P. Soai-Van

commit sha 4bc1f46efd7d17aef0d736583a98e5bec32fa745

Change factory name

view details

push time in a month

push eventleosoaivan/teachable-api

dependabot[bot]

commit sha 3322489cab1b8c72f2e1f23711d85320e430690e

Bump rack from 2.2.2 to 2.2.3 (#4) Bumps [rack](https://github.com/rack/rack) from 2.2.2 to 2.2.3. - [Release notes](https://github.com/rack/rack/releases) - [Changelog](https://github.com/rack/rack/blob/master/CHANGELOG.md) - [Commits](https://github.com/rack/rack/compare/v2.2.2...2.2.3) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

view details

push time in a month

PR merged leosoaivan/teachable-api

Bump rack from 2.2.2 to 2.2.3 dependencies

Bumps rack from 2.2.2 to 2.2.3. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/rack/rack/blob/master/CHANGELOG.md">rack's changelog</a>.</em></p> <blockquote> <h1>Changelog</h1> <p>All notable changes to this project will be documented in this file. For info on how to format all future additions to this file please reference <a href="https://keepachangelog.com/en/1.0.0/">Keep A Changelog</a>.</p> <h2>[3.0.0] - Unreleased</h2> <h3>Changed</h3> <ul> <li>BREAKING CHANGE: Require <code>status</code> to be an Integer. (<a href="https://github-redirect.dependabot.com/rack/rack/pull/1662">#1662</a>, <a href="https://github.com/olleolleolle">@olleolleolle</a>)</li> <li>Relax validations around <code>Rack::Request#host</code> and <code>Rack::Request#hostname</code>. (<a href="https://github-redirect.dependabot.com/rack/rack/issues/1606">#1606</a>, <a href="https://github.com/pvande">@pvande</a>)</li> <li>Removed antiquated handlers: FCGI, LSWS, SCGI, Thin. (<a href="https://github-redirect.dependabot.com/rack/rack/pull/1658">#1658</a>, <a href="https://github.com/ioquatix">@ioquatix</a>)</li> <li>Removed options from <code>Rack::Builder.parse_file</code> and <code>Rack::Builder.load_file</code>. (<a href="https://github-redirect.dependabot.com/rack/rack/pull/1663">#1663</a>, <a href="https://github.com/ioquatix">@ioquatix</a>)</li> </ul> <h3>Fixed</h3> <ul> <li>Fix using Rack::Session::Cookie with coder: Rack::Session::Cookie::Base64::{JSON,Zip}. (<a href="https://github-redirect.dependabot.com/rack/rack/issues/1666">#1666</a>, <a href="https://github.com/jeremyevans">@jeremyevans</a>)</li> <li>Avoid NoMethodError when accessing Rack::Session::Cookie without requiring delegate first. (<a href="https://github-redirect.dependabot.com/rack/rack/issues/1610">#1610</a>, <a href="https://github.com/onigra">@onigra</a>)</li> <li>Handle cookies with values that end in '=' (<a href="https://github-redirect.dependabot.com/rack/rack/pull/1645">#1645</a>, <a href="https://github.com/lukaso">@lukaso</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rack/rack/commit/1741c580d71cfca8e541e96cc372305c8892ee74"><code>1741c58</code></a> bump version</li> <li><a href="https://github.com/rack/rack/commit/5ccca4722668083732ea2d35c56565fcc25312f8"><code>5ccca47</code></a> When parsing cookies, only decode the values</li> <li>See full diff in <a href="https://github.com/rack/rack/compare/v2.2.2...2.2.3">compare view</a></li> </ul> </details> <br />

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

</details>

+1 -1

0 comment

1 changed file

dependabot[bot]

pr closed time in a month

push eventleosoaivan/teachable-api

Leonard P. Soai-Van

commit sha e71ab46123c1b7b3c596eaecdddecdf85061eff3

Rename factory file

view details

push time in a month

push eventleosoaivan/teachable-api

L. P. Soai-Van

commit sha 7d11358de85d045cdde4aed669e7e9f7775e8f05

Implement Gradebook model (#3) * Add factory * Add basic unit test

view details

push time in a month

PR opened leosoaivan/teachable-api

Feature/gradebook
+50 -7

0 comment

10 changed files

pr created time in a month

push eventleosoaivan/teachable-api

Leonard P. Soai-Van

commit sha 8fabb74cb75e674dc136eb6f2b2c4d9b40c715a7

Setup testing for Gradebook model * Add factory * Add basic unit test

view details

push time in a month

create barnchleosoaivan/teachable-api

branch : feature/gradebook

created branch time in a month

push eventleosoaivan/teachable-api

Leonard Soai-Van

commit sha 6e1666cae67304bb5f13bca65fbb557767a27e80

Generate Gradebook model

view details

push time in a month

push eventTheOdinProject/discussions

L. P. Soai-Van

commit sha 4223858ae48f3ea5a2bf8664081530b246fe9349

Update with @timato's prior livestream.

view details

push time in a month

push eventleosoaivan/teachable-ui

Leonard P. Soai-Van

commit sha 04b7a137ec6667af4767bc23dbdcdc75ebc4f8e5

Add minor fix to Formik form submission

view details

L. P. Soai-Van

commit sha 67634e91005e627518c8c04f8422536eef261a19

Merge pull request #2 from leosoaivan/feature/authenticated-app Add minor fix to Formik form submission

view details

push time in a month

push eventleosoaivan/teachable-ui

Leonard P. Soai-Van

commit sha 04b7a137ec6667af4767bc23dbdcdc75ebc4f8e5

Add minor fix to Formik form submission

view details

push time in a month

push eventleosoaivan/teachable-ui

Leonard P. Soai-Van

commit sha 0015718da76707cafac168b02a39e4e6bf17e2c6

Add basic authenticated app

view details

L. P. Soai-Van

commit sha cb9cba37796380bfc9f46f3292545c598de3f48d

Merge pull request #1 from leosoaivan/feature/authenticated-app Add basic authenticated app

view details

push time in a month

more