Skip to content

Added announcements module and configuration#6

Open
Hardik-hi wants to merge 15 commits intoshiksha-platform:mainfrom
Hardik-hi:features/announcement
Open

Added announcements module and configuration#6
Hardik-hi wants to merge 15 commits intoshiksha-platform:mainfrom
Hardik-hi:features/announcement

Conversation

@Hardik-hi
Copy link

@Hardik-hi Hardik-hi commented Jul 18, 2022

Changes

  1. Added configuration schema for announcements module
  2. Added announcements module
  3. Added ViewAnnouncements page (for viewing announcements)
  4. Added EditAnnouncements and CreateAnnouncement components

cc: @coolbung

function App() {
const routes: RouteProps[] = [
{
path: "/",
Copy link
Collaborator

Choose a reason for hiding this comment

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

The URLs that will be seen in the browser should be
/announcements
/announcements/create
/announcements/edit/:id

Copy link
Contributor

Choose a reason for hiding this comment

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

this module is not yet used in console app. the these routes are only used when app runs as standalone.
the urls are
https://sandbox.shikshaplatform.io/modules/announcements/...

Copy link
Collaborator

Choose a reason for hiding this comment

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

Got it. Do update the routes anyway @Hardik-hi and also ensure appropriate routes are used when this module is imported into the parent admin ui app.

Copy link
Author

Choose a reason for hiding this comment

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

Sure @coolbung

@@ -0,0 +1,13 @@
body {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is the CSS necessary, does it not import the CSS from the parent app ?

cc @arajput

Copy link
Contributor

Choose a reason for hiding this comment

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

this is default file by CRA. it is used only when module runs as stand alone.

@Hardik-hi Hardik-hi marked this pull request as draft July 24, 2022 09:13
@Hardik-hi Hardik-hi force-pushed the features/announcement branch from 8804ce5 to 4f349e1 Compare July 25, 2022 18:48
@Hardik-hi

This comment was marked as resolved.

@Hardik-hi Hardik-hi force-pushed the features/announcement branch from 0988013 to 1d00b46 Compare August 4, 2022 18:16
@Hardik-hi Hardik-hi force-pushed the features/announcement branch from 1d00b46 to 86911ab Compare August 4, 2022 18:20
@Hardik-hi Hardik-hi marked this pull request as ready for review August 4, 2022 18:21
@Hardik-hi
Copy link
Author

@coolbung @arajput Have fixed integration changes, please review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants