Skip to content

Commit

Permalink
Feature/forum get post (#445)
Browse files Browse the repository at this point in the history
* feat: create single-spa app-parcel for Forum

* Add explanation for adding new app-parcel in WasedaTime

* Comment out routing for Career

* Initialize components for Forum

* feat: install tailwind in Forum

* Add required utilities to Forum

* Add Forum icon to navbar

* feature/forum-basic-styling (#415)

* feat: added basic styling + dummy data for forum incl. board, comments and comment form

* fix: arrangement between each section in Forum

* fix: code style by eslint

Co-authored-by: YHhaoareyou <[email protected]>

* Feature/forum-basic-routing (#416)

* feat: added basic styling + dummy data for forum incl. board, comments and comment form

* pulled forum-basic into this branch

* feat: filter posts by boardid, boardmenu routing

* feat: "basic routing for posts + boards"

* Run pnpm fix

* fix: available boards

Co-authored-by: YHhaoareyou <[email protected]>

* Recoil installation and defining global states (#417)

* created tag modal component

* added recoil in root.components.tsx

* feat: define recoil state

Co-authored-by: Kyoungjun Han <[email protected]>

* Feature/forum-create-thread-basic (#418)

* feat: conditional create thread text area basic

* feat: added tags + group buttons w/ basic toggle

* feat: added submit btn (not functional)

* changed default state of expanded thread input

* feat: menuitems json, createthread styling

* added number type for boardindex function

* Run pnpm fix

* Define boards & tags; change structure of dummy threads & comments

* Group filter for Forum (#419)

* feature: group filter styling

* Update groups

* feat: Toggle global states for groups when clicking on items in group menu

* fix group items structure

* feature: filtering function

* fix: move filter functions to another file

* init School filter form and add scholl icons

* feat: switch open status of school filter modal

* feat: tab item title, normal and active style

* feat: toggle selected group by school filter

* feat: moved forum folder to apps

* User auth for Forum (#421)

* feat: User login & verify auth when opening thread form and creating new thread

* chore: add todo message for implementing submitting new thread API

* feat: Add auth for comment form

* feat: value and onChange func for new thread form

* Customize Header for Forum (will replace Header component in other apps)

* fix: default host of each microfrontend

* added recoil in root.components.tsx

* error report to Hao

* fix: modal not showing due to wrong classname and attributes

* update for jan 5 2023

* sorry it took so long

* debug: recover tags modal display after adopting turbo

* feat: set header input form as tag modal button

* fix: removed bit from forum

* fix: updated eslint config

* choreL updated package json

* fix: remove bit details from npmrc

* fix: remove bit token form npmrc

* feat: restarting branch

* feat: adding changes to new branch

* feat: testing

* feat: adding dependency localforage

* chores: small edits

* feat: finishing migrate from branch to branch

* feat: deleting two view sections.

* feat: adding tags to post model

* fix: fixed tag posting

* feat: creating school choosing dropdown

* chores: small adjustments

* feat: updating dropdown will need to change it to something else

* Feature/forum update delete post (#444)

* feat: add edit and delete button & call delete api

* feat: confirm delete thread modal

* feat: thread edit modal (form not yet)

* feat: edit thread form completed

* fix: fixing out API

* feat: figuring shit out

* fix: undefined colors variable

* feat: adding some actions too

* Feature/new layout (#441)

* feat: new layout

* feat: whole new layout will merge to parent branch to get inifinte scroll

* fix: fixing actions to compatible version

* feat: infinite scroll to load more threads (#442)

Co-authored-by: YHhaoareyou <[email protected]>

* feat: forum restructuring  (#443)

* feat: initiating new branch for hastags

* feat: working on forum homepage now can call all data

* feat: forum home func

* yo

* chorse: getting rid of stuff

* feat: major changes added some refresh functionalities

---------

Co-authored-by: Kyoungjun Han <[email protected]>

* feat: new prop fromRoot for link condition

* chore: comment out thread edit function and button

* chores: deleting comments

* feat: display all threads on forum home page

* feat: adding comment delete with refresh

* feat: adding icon for views

---------

Co-authored-by: YHhaoareyou <[email protected]>
Co-authored-by: Kyoungjun Han <[email protected]>

---------

Co-authored-by: YHhaoareyou <[email protected]>
Co-authored-by: Michael Kaminski <[email protected]>
Co-authored-by: Kyoungjun Han <[email protected]>
Co-authored-by: Nicholas Narmada <[email protected]>
  • Loading branch information
5 people authored Sep 8, 2023
1 parent 8b4c0a6 commit e1ebd56
Show file tree
Hide file tree
Showing 55 changed files with 11,240 additions and 8,998 deletions.
2 changes: 1 addition & 1 deletion .github/actions/microapp/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ runs:
shell: bash
working-directory: ${{ inputs.path }}
run: |
npm install -g pnpm@6
npm install -g pnpm
pnpm install --filter .
# - name: Test
Expand Down
33 changes: 33 additions & 0 deletions .github/workflows/forum.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Node.js CI - Forum

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

jobs:
build:
runs-on: ubuntu-latest
env:
REACT_APP_API_BASE_URL: ${{ secrets.REACT_APP_API_BASE_URL_M }}
BIT_TOKEN: ${{ secrets.BIT_TOKEN }}
VITE_MF_FORUM_BASE_PATH: http://localhost:8084
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16.x
uses: actions/[email protected]
with:
node-version: 16.x
- name: Cache .pnpm-store
uses: actions/cache@v2
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-node16-${{ hashFiles('**/pnpm-lock.yaml') }}
- uses: ./.github/actions/microapp
with:
path: "apps/forum"
11 changes: 6 additions & 5 deletions .github/workflows/root.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ name: Node.js CI - Root

on:
push:
branches: [ '**' ]
branches: ["**"]
paths:
- 'apps/root/**'
- "apps/root/**"
pull_request:
branches: [ 'master', 'develop' ]
branches: ["master", "develop"]
paths:
- 'apps/root/**'
- "apps/root/**"

jobs:
build:
Expand All @@ -19,6 +19,7 @@ jobs:
REACT_APP_BLOG_S3_BASE_URL: https://wasedatime-feeds.s3-ap-northeast-1.amazonaws.com
VITE_MF_SYLLABUS_BASE_PATH: http://localhost:8080
VITE_MF_CAMPUS_BASE_PATH: http://localhost:8081
VITE_MF_FORUM_BASE_PATH: http://localhost:8084
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16.x
Expand All @@ -32,4 +33,4 @@ jobs:
key: ${{ runner.os }}-node16-${{ hashFiles('**/pnpm-lock.yaml') }}
- uses: ./.github/actions/microapp
with:
path: 'apps/root'
path: "apps/root"
Loading

0 comments on commit e1ebd56

Please sign in to comment.