Skip to content

Commit

Permalink
chore: refactor code and implement admin part of the clarification fe…
Browse files Browse the repository at this point in the history
…ature
  • Loading branch information
bacali95 committed Oct 7, 2021
1 parent 11be005 commit a532fcf
Show file tree
Hide file tree
Showing 314 changed files with 2,029 additions and 826 deletions.
15 changes: 4 additions & 11 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
server/.env
server/dist
server/node_modules

client/.env
client/build
client/node_modules

judge/.env
judge/dist
judge/node_modules
**/*/.env
**/*/dist
**/*/build
**/*/node_modules
3 changes: 3 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
- name: Yarn Install
run: yarn install

- name: Lint
run: yarn lint

- name: Prettier
run: yarn prettier

Expand Down
4 changes: 4 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"printWidth": 100,
"singleQuote": true
}
14 changes: 14 additions & 0 deletions .run/client_start.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="client:start" type="js.build_tools.npm">
<package-json value="$PROJECT_DIR$/projects/client/package.json" />
<command value="run" />
<scripts>
<script value="start" />
</scripts>
<node-interpreter value="project" />
<envs>
<env name="HOST" value="localhost" />
</envs>
<method v="2" />
</configuration>
</component>
12 changes: 12 additions & 0 deletions .run/judge_start.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="judge:start" type="js.build_tools.npm">
<package-json value="$PROJECT_DIR$/projects/judge/package.json" />
<command value="run" />
<scripts>
<script value="start:dev" />
</scripts>
<node-interpreter value="project" />
<envs />
<method v="2" />
</configuration>
</component>
12 changes: 12 additions & 0 deletions .run/server_start.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="server:start" type="js.build_tools.npm">
<package-json value="$PROJECT_DIR$/projects/server/package.json" />
<command value="run" />
<scripts>
<script value="start:dev" />
</scripts>
<node-interpreter value="project" />
<envs />
<method v="2" />
</configuration>
</component>
12 changes: 0 additions & 12 deletions client/.prettierrc

This file was deleted.

32 changes: 0 additions & 32 deletions client/src/core/stores/ClarificationsStore.ts

This file was deleted.

44 changes: 0 additions & 44 deletions client/src/pages/admin/AdminNavbar.tsx

This file was deleted.

30 changes: 0 additions & 30 deletions client/src/pages/admin/views/clarifications/ClarificationsList.tsx

This file was deleted.

77 changes: 0 additions & 77 deletions client/src/pages/admin/views/problems/ProblemView.tsx

This file was deleted.

8 changes: 0 additions & 8 deletions client/src/pages/public/views/HomeView.tsx

This file was deleted.

33 changes: 0 additions & 33 deletions client/src/pages/shared/chat-box/ChatBox.tsx

This file was deleted.

33 changes: 0 additions & 33 deletions client/src/pages/shared/chat-box/ChatBoxMessageList.tsx

This file was deleted.

Loading

0 comments on commit a532fcf

Please sign in to comment.