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

Srizvi/issue3 #11

Merged
merged 30 commits into from
Nov 10, 2023
Merged

Srizvi/issue3 #11

merged 30 commits into from
Nov 10, 2023

Conversation

srizvi
Copy link

@srizvi srizvi commented Nov 10, 2023

  • chore(tsconfig.json): inital config updates
    • reorganize so easier to read
    • add strictNullChecks to compilerOptions
  • chore: add packages for linting and formatting
    • configure eslint
  • chore: update prettier config
    • made our rules even prettier
    • added scripts to package.json
  • update basic package.json meta because I couldn't resist
  • chore: add commitlint rules
  • chore: add lint-staged and config
  • chore: update project config
    • add tailwind plugin to eslint
    • added some packages to fix overwhelming linting and type issues
    • updated the siteConfig and root layout
    • replaced site icons
    • blocked robots
    • added environment variables
    • added stub README
  • chore: connect db
    • updated prisma schema
    • updated prisma to turso connection
    • added libsql packages and adapter
    • updated client
    • replaced queries to use db
  • chore: lint, format, type-checks
    • added dependabot.yaml
    • left unresolved stripe related errors for next commit
    • resolve lint-staged issues
  • chore: update pricing and plans config
    • added null to types for now
    • removed prisma comments from prisma client
    • tweaked lint-staged config because I forgot the directory for the app
  • chore: add cursor folder and ignore it
  • chore: update subscription to updated schema
    • switched queries from user to usersubscription model
    • return free plan if no subscription found
    • skipped some null checks for now
  • chore: use api route for checkout
    • replaced coupon id for all plans
    • switched from fancy server action to half-baked api for now
    • it's working
  • chore: switch username form to api route
  • chore: update configs
    • removed lint-staged for now, need to review, cannot find "app" directory #wtf
    • make prettier ignore some more files that shouldn't be pretty
    • set nvm to 18.18.2 because it's 2023
  • chore: updated webhook and env vars
    • replaced webhook
    • replaced processable environment variables with t3
  • chore: update lint-staged to eslint instead of next-lint
  • chore: replace fonts
  • added bricolage variable
    • updated root layout and tailwind to use it
    • removed old font variables
    • replaced a couple of fonts on dynamic og, then added a todo because it's broken
  • chore: update marketing index page
    • added stub components for hero, benefits, oss
    • had to star our own repo for some social proof yo
  • style: install shadcn and update styles
    • installed latest utility
    • set default to new-york and slate theme
  • then made the theme redundant by applying the and-voila theme
  • updated the tailwind.config and globals.css so we can use opacity the way it was meant to be
  • style: basic style edits to marketing
    • replaced template logo with ours
    • updated footer with our info
    • minor style updates on colors, which I gotta fix
  • chore: replace lucide icons with phosphor
  • chore: add axios back
    • not sure how it got removed, but it's back
  • style: update pricing page
    • updated styles to make it more and voila
    • updated default isyearly to yearly peeps, otherwise monthly
    • updated faq
    • updated copy
  • style: update public blog
    • took a first pass at refining blog page, post, and mdx components
    • more to come once we figure out whats up with gfm and auto-heading-links etc.
    • added mock images, titles, content
    • also ignoring .mdx because eslint breaks
  • chore: add user teacher and external props to nav
    • updated props to handle use cases
    • user?
    • teacher?
    • external?
    • updated marketing config
    • made the active state perty
  • style: update docs styles and tweak blog
    • changed up sizes, colors, and active states, and voila...it's looking like our own
    • changed sidebar title color
    • changed card color
    • changed page heading size
    • switched button to outline and added some color to icon for pager
    • add mock content in sidebar
    • removed github icon from navbar
    • documentation will become insights
    • docs will become briefs
    • reduced size of latest post headings on blog
    • increased gap to 8
  • style: miscellaneous style edits
    • changed account-nav icon color
    • added bg to open-source widget
    • added star icon then decided not to use it
    • moved dashboard layout to group so useSelectedLayoutSegment will work
    • updated dashboard config items
    • changed active item to brand
    • updated billing and settings styles
    • added stub page for support
  • chore: create support page
    • added a page in dashboard route for support
    • added stubs for discord, email, and guides
    • fixed wrong svg for file icon
    • added some new icons
    • updated loading files to minimize layout shift
  • Closes chore: update project config #3
  • Closes chore: update environment variables #4
  • Closes chore: connect db #5
  • Closes chore: create vercel project #6
  • Closes chore: set-up linting and formatting #7
  • Closes tsconfig #8
  • Closes eslint #9
  • Closes prettier #10

This is the longest PR I've ever wrote so gonna keep 'em small herein.

- reorganize so easier to read
- add strictNullChecks to compilerOptions

Closes #8
- made our rules even prettier
- added scripts to package.json
  - update basic package.json meta because I couldn't resist

Cloes #10 and closes #7
- add tailwind plugin to eslint
- added some packages to fix overwhelming linting and type issues
- updated the siteConfig and root layout
- replaced site icons
- blocked robots
- added environment variables
- added stub README

Closes #3 and closes #4
- updated prisma schema
- updated prisma to turso connection
- added libsql packages and adapter
- updated client
- replaced queries to use `db`

Closes #5
- added dependabot.yaml
- left unresolved stripe related errors for next commit
- added null to types for now
- removed prisma comments from prisma client
- tweaked lint-staged config because I forgot the directory for the app
- switched queries from user to usersubscription model
- return free plan if no subscription found
- skipped some null checks for now
- replaced coupon id for all plans
- switched from fancy server action to half-baked api for now
  - it's working
- removed lint-staged for now, need to review, cannot find "app" directory #wtf
- make prettier ignore some more files that shouldn't be pretty
- set nvm to 18.18.2 because it's 2023
- replaced webhook
- replaced processable environment variables with t3
- added bricolage variable
  - updated root layout and tailwind to use it
  - removed old font variables
- replaced a couple of fonts on dynamic og, then added a todo because it's broken
- added stub components for hero, benefits, oss
  - had to star our own repo for some social proof yo
- installed latest utility
  - set default to new-york and slate theme
- then made the theme redundant by applying the and-voila theme
- updated the tailwind.config and globals.css so we can use opacity the way it was meant to be
- replaced template logo with ours
- updated footer with our info
- minor style updates on colors, which I gotta fix
- not sure how it got removed, but it's back
- updated styles to make it more and voila
- updated default isyearly to yearly peeps, otherwise monthly
- updated faq
- updated copy
- took a first pass at refining blog page, post, and mdx components
  - more to come once we figure out whats up with gfm and auto-heading-links etc.
  - added mock images, titles, content
- also ignoring .mdx because eslint breaks
- updated props to handle use cases
  - user?
  - teacher?
  - external?
- updated marketing config
- made the active state perty
- changed up sizes, colors, and active states, and voila...it's looking like our own
  - changed sidebar title color
  - changed card color
  - changed page heading size
  - switched button to outline and added some color to icon for pager
  - add mock content in sidebar
  - removed github icon from navbar
- documentation will become insights
- docs will become briefs
- reduced size of latest post headings on blog
  - increased gap to 8
- changed account-nav icon color
- added bg to open-source widget
- added star icon then decided not to use it
- moved dashboard layout to group so useSelectedLayoutSegment will work
- updated dashboard config items
- changed active item to brand
- updated billing and settings styles
- added stub page for support
- added a page in dashboard route for support
  - added stubs for discord, email, and guides
- fixed wrong svg for file icon
- added some new icons
- updated loading files to minimize layout shift
@srizvi srizvi added this to the Cycle 1 milestone Nov 10, 2023
@srizvi srizvi self-assigned this Nov 10, 2023
@srizvi
Copy link
Author

srizvi commented Nov 10, 2023

LGTM 😅

@srizvi srizvi merged commit 816b7e8 into main Nov 10, 2023
1 of 2 checks passed
@srizvi srizvi deleted the srizvi/issue3 branch November 10, 2023 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant