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

news add modal ui (fixes: #342) #410

Open
wants to merge 28 commits into
base: main
Choose a base branch
from
Open

news add modal ui (fixes: #342) #410

wants to merge 28 commits into from

Conversation

SujalLama
Copy link
Contributor

@SujalLama SujalLama commented Jul 29, 2021

Fixes #342

Description

color of modal changed
used the common modals from AddContent.jsx
linked the news table to videos, photos and texts tbl

Screenshots

changed modal:
newsad

Links and Curls

http://localhost:3000/community-page-news/sdfgsdf/undefined
route changed to
http://localhost:3000/community-news/title

modified:
src/App.jsx
src/components/newAddModal/NewsAddModal.jsx
src/screens/communityNews/newsAdd/NewsAdd.jsx
src/screens/courseManager/addLesson/AddContent.jsx
api/src/models/newsModel.js
api/src/controllers/newsController.js
api/src/models/newsModel.js
api/src/models/photoModel.js
api/src/models/textModel.js
api/src/models/videoModel.js
api/src/routes/newsRouter.js

added:
src/components/contentAdd/
migration file:
api/src/migrations/20210805052503-alter-videos-texts-photos-tbl-newsId.js

@SujalLama SujalLama requested review from lmmrssa and dogi July 29, 2021 12:03
@SujalLama SujalLama self-assigned this Jul 29, 2021
Copy link
Member

@lmmrssa lmmrssa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if this issue is fixing border off as I still see preview bottom border same
image

@SujalLama SujalLama added the WIP label Aug 2, 2021
@SujalLama SujalLama requested a review from lmmrssa August 3, 2021 08:59
@SujalLama SujalLama added WIP and removed WIP labels Aug 3, 2021
@lmmrssa lmmrssa added the todo label Aug 9, 2021
@lmmrssa lmmrssa added duplicate This issue or pull request already exists and removed todo labels Aug 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

Successfully merging this pull request may close these issues.

community news add modal different than other modal
2 participants