Skip to content
This repository has been archived by the owner on Mar 23, 2024. It is now read-only.

Icons clean up #135

Closed
wants to merge 31 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
9160fd6
fix: πŸš‘ ci (#102)
velenyx Sep 24, 2023
4487510
feature: ✨ storybook pallete icons docs (#106)
velenyx Sep 24, 2023
a946bd3
feat: ✨ shared flex icon wrapper (#107)
velenyx Sep 24, 2023
de7fec8
docs: :memo: add .md doc for how to use storybook (#108)
velenyx Sep 24, 2023
db4e68c
feature: ✨ add util - get-elapsed-time (#111)
velenyx Sep 25, 2023
d04a207
feat: ✨ add useGetScreenWidth hook (#112)
velenyx Sep 25, 2023
e84ea2d
test: βœ… init jest, and add 1 test, add to ci (#113)
velenyx Sep 25, 2023
e056736
feat: ✨ add skeleton (#117)
velenyx Sep 25, 2023
21b1fc0
fix: shared components
nmashchenko Oct 5, 2023
8ebf67f
docs: updated skeleton
nmashchenko Oct 5, 2023
80db214
feat: added teameights-types
nmashchenko Oct 5, 2023
9eb15c9
feat: added loader
nmashchenko Oct 6, 2023
abe8162
feat: added drawer, sonner
nmashchenko Oct 10, 2023
3e3f4c9
feat: settings are added (#123)
dmtrack Oct 11, 2023
bbb652e
feat: added select-autocomplete & debounce
nmashchenko Oct 12, 2023
13d2116
feat: new badge component and updated iconwrapper (#125)
dmtrack Oct 15, 2023
53c80c4
refactor: added new backend (#101)
nmashchenko Oct 16, 2023
4ef91bf
fix: port for server
nmashchenko Oct 16, 2023
15578e2
feat: updated auth based on new design
nmashchenko Oct 18, 2023
6fcc6ec
fix: design issues
nmashchenko Oct 19, 2023
aa17772
feat: updated experience type
nmashchenko Oct 19, 2023
54e60fc
feat: added @teameights/types
nmashchenko Oct 19, 2023
ea96a69
feature: reusable modals (#121)
LanselonX Oct 25, 2023
4f3a262
fix: add events for flex component (#128)
merankori Oct 27, 2023
3afa747
fix: πŸ› flex (#130)
merankori Oct 27, 2023
dbc86d8
refactor(mocks): ✨ enhance user mock data generation with notificatfi…
velenyx Nov 3, 2023
639523f
feat: new search bar (#133) 🀟🏻
merankori Nov 13, 2023
9d85fc2
feat: clean up the icons
LanselonX Nov 24, 2023
37ad0de
feat: added new icons/skills (#132)
nmashchenko Nov 29, 2023
bfee5d5
feat: transfer old react-query hooks (#109)
nmashchenko Nov 30, 2023
6ab331d
fix: transfer logos to a new folder
LanselonX Dec 2, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Binary file added .DS_Store
Binary file not shown.
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@
*.css text
*.scss text
*.sass text

/.yarn/releases/** binary
/.yarn/plugins/** binary
13 changes: 10 additions & 3 deletions .github/workflows/client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@ run-name: ${{ github.actor }} is starting sueta at the frontend code ☺️
on:
push:
branches:
- dev-nextjs
- develop
- master
paths:
- "client/**"
pull_request:
branches:
- dev-nextjs
- develop
- master
paths:
- "client/**"

Expand Down Expand Up @@ -48,6 +50,11 @@ jobs:
yarn lint:ts:check
yarn prettier:check

- name: Unit testing πŸ’€πŸ’€
working-directory: ./client
run: |
yarn test:unit

- name: Build project
working-directory: ./client
run: yarn build
Expand Down Expand Up @@ -86,4 +93,4 @@ jobs:
vercel-org-id: ${{ secrets.ORG_ID }}
github-token: ${{ secrets.GITHUB_TOKEN }}
vercel-project-id: ${{ secrets.PROJECT_ID_STORYBOOK }}
vercel-args: ${{ steps.vercel_args.outputs.args }}
vercel-args: ${{ steps.vercel_args.outputs.args }}
22 changes: 22 additions & 0 deletions .github/workflows/docker-e2e.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Backend checker, will punish for bad code πŸͺ“πŸ˜΅β€πŸ’«
run-name: ${{ github.actor }} is starting sueta at the backend code ☺️

on:
push:
branches: [develop, master]
paths:
- "server/**"
pull_request:
branches: [develop, master]
paths:
- "server/**"

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Run e2e tests
working-directory: ./server
run: docker compose -f docker-compose.ci.yaml --env-file env-example -p ci up --build --exit-code-from api
12 changes: 11 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,12 @@
/.idea
/.vscode
/.vscode

.yarn/*
!.yarn/patches
!.yarn/releases
!.yarn/plugins
!.yarn/sdks
!.yarn/versions
.pnp.*

/database
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# πŸš€ Teameights

Refer to following link to find all info you need!

πŸ”— [Notion](https://teameights.notion.site/ad80d7c691ba47a09be954dc992752ec?v=cffe6ca69a8d4c4b91675b35cfd733ad)

![Logo T8S (8)](https://github.com/nmashchenko/teameights/assets/52038455/b1898e79-8515-4d50-a9ab-8b3d0cf5d042)
2 changes: 2 additions & 0 deletions client/.env.local.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
NEXT_PUBLIC_GOOGLE_API_OAUTH_TOKEN=
NEXT_PUBLIC_GITHUB_API_OAUTH_TOKEN=
25 changes: 21 additions & 4 deletions client/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
{
"env": {
"browser": true,
"es2021": true,
"jest": true
},
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"plugins": ["@typescript-eslint", "@tanstack/query"],
"extends": [
"next",
"next/core-web-vitals",
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:storybook/recommended"
"plugin:storybook/recommended",
"plugin:@tanstack/eslint-plugin-query/recommended"
],
"globals": {
"React": "readonly"
Expand All @@ -21,9 +27,20 @@
}
],
"rules": {
"react/display-name": 0,
// I suggest you add those two rules:
"@typescript-eslint/no-unused-vars": "error",
"@typescript-eslint/no-unused-vars": [
"error",
{
"argsIgnorePattern": "^_",
"caughtErrorsIgnorePattern": "^_",
"varsIgnorePattern": "^_"
}
],
"@typescript-eslint/no-explicit-any": "error",
"@typescript-eslint/no-var-requires": "off"
"@typescript-eslint/no-var-requires": "off",
// query rules
"@tanstack/query/exhaustive-deps": "error",
"@tanstack/query/stable-query-client": "error"
}
}
10 changes: 7 additions & 3 deletions client/.storybook/main.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
import type { StorybookConfig } from '@storybook/nextjs';
import path from 'path';
import * as path from 'path';

const config: StorybookConfig = {
stories: ['../src/**/*.stories.@(js|jsx|mjs|ts|tsx)'],
stories: [
'../src/**/*.stories.@(js|jsx|mjs|ts|tsx|mdx)',
'../docs/**/*.stories.@(js|jsx|mjs|ts|tsx|mdx)',
],
staticDirs: ['../public'],
addons: [
'@storybook/addon-links',
'@storybook/addon-essentials',
'@storybook/addon-interactions',
'@storybook/addon-a11y',
{
name: '@storybook/addon-styling',
options: {
Expand All @@ -25,7 +29,7 @@ const config: StorybookConfig = {
},
},
docs: {
autodocs: 'tag',
autodocs: true,
},
core: {
builder: '@storybook/builder-webpack5',
Expand Down
26 changes: 0 additions & 26 deletions client/.storybook/preview.ts

This file was deleted.

84 changes: 84 additions & 0 deletions client/.storybook/preview.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
import type { StoryFn } from '@storybook/react';
import '../src/app/styles/globals.scss';
import './font.scss';

export const parameters = {
actions: { argTypesRegex: '^on[A-Z].*' },
viewMode: 'docs',
previewTabs: {
canvas: {
title: 'Story',
},
},
controls: {
matchers: {
color: /(background|color)$/i,
},
},
backgrounds: {
default: 'main',
values: [
{
name: 'main',
value: '#26292b',
},
{
name: 'white',
value: '#fff',
},
{
name: 'additional white',
value: '#fafafa',
},
],
},
viewport: {
viewports: {
'360': {
name: '360',
styles: {
width: '360px',
height: '780px',
},
},
'768': {
name: '768',
styles: {
width: '768px',
height: '1664px',
},
},
'1024': {
name: '1024',
styles: {
width: '1024px',
height: '576px',
},
},
'1600+': {
name: '1600+',
styles: {
width: '1600px',
height: '900px',
},
},
},
},
};

export const decorators = [
(Story: StoryFn) => (
<div
style={{
margin: 10,
display: 'flex',
justifyContent: 'start',
alignItems: 'start',
flexDirection: 'column',
gap: '20px',
}}
>
<Story />
</div>
),
];
Loading
Loading