-
Notifications
You must be signed in to change notification settings - Fork 58
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
Feature: Add announcement module #156
base: main
Are you sure you want to change the base?
Feature: Add announcement module #156
Conversation
Looking great @Hardik-hi Can you also update the description with a few uses for the benefit of other reviewers. @sagarihanda @RinkleDang -- request you to take a look at the demo and share feedback on the UI. One thing I'd certainly like is for the pinned notifications (the one in the yellow background is a pinned one) sitting all the way on the top on all pages |
Hello @Hardik-hi This good great and hindi translation is also impressive! I just had 2 inputs :
Thank you! |
Hi @RinkleDang. Thanks for the inputs.
@coolbung Please provide any points which I might have missed. Thanks |
@RinkleDang It looks like this with the pin icon: |
This looks good. Can you move the pinned announcements to the very top of the screen @Hardik-hi i.e. on top of the back icon. What would that need ? cc @arajput |
494d064
to
315f52e
Compare
Hey @coolbung I've pushed the changes |
Hey @Hardik-hi build is faliing can you please run |
@Hardik-hi , please run |
|
||
module.exports = { | ||
devServer: { | ||
port: 3008, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you please check if this port does not conflicts with port in other packages?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Checked, changed port to 4002
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
keep the pot number in 3000 series only
|
||
module.exports = { | ||
devServer: { | ||
port: 3008, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is port used by some other modules?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pls go trough the comments and update
315f52e
to
3bb753c
Compare
@Shruti3004 @arajput I have updated the code and pushed, please review |
@@ -25,6 +25,7 @@ export default function AppBar({ | |||
onPressBackButton, | |||
rightIcon, | |||
isShowNotificationButton, | |||
showPinnedAnnouncements, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this variable used?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pls correct the port number too 3000 series.
fix code format issues using yarn format
fdcd8e4
to
7885da0
Compare
@arajput Changed port to 3010 now, please review |
7885da0
to
54e1316
Compare
3b577f0
to
73c8a1f
Compare
a70b94f
to
744ea8f
Compare
Description
Added Announcements Module.
Changes
How to test
Run the announcements and core modules using
lerna run start --parallel --scope='{core,announcements}'
CC: @coolbung
Use cases
Pinned announcements: announcements which appear on top of other announcements. They are sorted by decreasing order of date by default. They are of two types- dismissable and non-dismissable, the former can be closed with a X mark on the right hand side.
Infinite scroll: When user scrolls in the announcements display area, some announcements are loaded in sets of admin configured value, say 20.
Each announcement has a badge of announcement type shown on right hand side in the list. This can be configured from the backend.
On opening each announcement, some optional tags are also there, say for an event, there may be tags showing the date, time and venue of the event. They can be used to quickly skim through the announcement details.