- Fix gender downcase on signup (OK)
- 403 / 500 error on donation_history (maybe new user / new install) -> Social Auth user, with no actual user created
- Maybe social login user?
- Test social Auth same email validation (OK)
- Social Auth uses name as email (OK)
- Add exception for IG Auth users (OK)
- Add exception for find existing user on social auth (not by email) (OK)
- Add social_id column to user (OK)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body, html { | |
margin: 0; | |
padding: 0; | |
font-size: 1rem; | |
font-family: "Montserrat"; | |
font-weight: 300; | |
background-color: #FFFFFF; | |
} | |
.container { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Adventure Co.</title> | |
<link rel="stylesheet" href="./styles/index.css"> | |
</head> | |
<body> | |
<main class="container"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {SingleBar, Presets} from 'cli-progress' | |
import {yellow, green, cyan} from 'chalk' | |
import {sleep} from '../lib/util' | |
interface PizzaData { | |
crust: string; | |
toppings: string[]; | |
extraSauce: boolean; | |
count: number; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
async getInteractiveArgs() { | |
const answer = await prompt([ | |
{ | |
type: 'number', | |
name: 'count', | |
message: 'How many pizza you want to create', | |
default: 1, | |
validate(value) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { prompt } from 'inquirer' | |
... | |
async run() { | |
const userInput = prompt([ | |
{ | |
type: 'number', | |
name: 'count', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
async run() { | |
const {args, flags} = this.parse(Create) | |
this.log(JSON.stringify(args)) | |
this.log(JSON.stringify(flags)) | |
this.log('Your pizza is ready!') | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static flags = { | |
help: flags.help({char: 'h'}), | |
crust: flags.string({char: 'c', description: 'Type of Crust (Thin/Thick)'}), | |
toppings: flags.string({char: 't', description: 'Toppings to add', options: ['pepperoni', 'mushroom', 'bacon', 'pineapple'], multiple: true}), | |
extraSauce: flags.boolean({char: 'x', description: 'Do you want extra sauce?'}), | |
} | |
static args = [ | |
{ | |
name: 'count', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static description = 'Create a new Pizza' | |
static examples = [ | |
`$ pizza create | |
Your pizza is ready! | |
`, | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* eslint-disable no-await-in-loop */ | |
import {Command, flags} from '@oclif/command' | |
import {prompt} from 'inquirer' | |
import {SingleBar, Presets} from 'cli-progress' | |
import {yellow, green, cyan} from 'chalk' | |
import {sleep} from '../lib/util' | |
interface PizzaData { | |
crust: string; | |
toppings: string[]; |
NewerOlder