shiksha-platform / frontend-modulefederation Goto Github PK
View Code? Open in Web Editor NEWThe frontend repo includes configurable UI components, modules and apps to create the Shiksha experience
The frontend repo includes configurable UI components, modules and apps to create the Shiksha experience
Build Android app so that it can be deployed to playstore
webpack remotes uses webpack config file at build time. so host app must know where the remotes are deployed beforehand. This can be used in prod env so we need to externalise the remotes url config.
Let's implement posthog (https://posthog.com/) for telemetry tracking in the frontend.
The SDK documentation https://posthog.com/docs/integrate/client/js#autocapture seems to indicate that just adding the SDK will automatically start tracking all pageviews and click events.
@Shruti3004 @arajput can you verify if this will work in react, and if additional effort is needed to make it work with module federation ?
Implemented UI subject timetable
The new stand alone notification module creation.
App shell with header, footer navigation and root level routes
Hide Footer link at stand alone application
Abstract Postaljs to EventBus class in common-lib package.
Creating a standalone module for the attendance which can be integrated in the teacher application.
Update the developer documentation as per the comments here: shiksha-platform/shiksha-community#4
Components library and other component pages in code.
Modules and host application are deployed on same server. modules are deployed at subdirectory within host application.
Host Application - Teacher's app - https://sandbox.shikshaplatform.io/
Classes Modules - https://sandbox.shikshaplatform.io/modules/classes
Attendance Modules - https://sandbox.shikshaplatform.io/modules/attendance
Worksheet Modules - https://sandbox.shikshaplatform.io/modules/worksheet
The remote modules work within host application
but it does not work as standalone url
Describe the bug and list the steps you used when the issue occurred.
If applicable, add screenshots to help explain your problem.
Any logs (if any) generated in
Each module should have its own translations files.
Translation file paths are configured in module manifest file
Application bootstrap code reads manifest entries for i18n and initialises i18n module.
Current issues in frontend's login page
dependences
Today attendance Mark all present for all student of class.
All students will present after the Mark all present
Listing of teacher classes at my classes tab
Module federation conversion of classes
code de-structuring
On every commit push to main branch, verify that build and tests are passing.
Please describe your issue in few words here.
Step 1: Go to https://sandbox.shikshaplatform.io/modules/attendance/
Step 2: Login with credentials
Step 3: Click on Edit attendance, modify attendance
Step 4: Click edit attendance, modify attendance, Save attendance
Step 5: Modal opens, go to the bottom and press close button
Question -> Where should the user be re-directed.
Right now they are incorrectly re-directed to edit mode only.
NA
As changes by visual team update UI Changes in Timetable.
After a teacher takes attendance then, she/he sees an option to "Save". The behaviour of this save button is confusing right now and needs to be decluterred.
Step 1: Go to https://sandbox.shikshaplatform.io/modules/attendance/
Step 2: Login with credentials
Step 3: Click on Edit attendance, modify attendance and then save the attendance
Step 4: Some confirmation should be shown to the teacher
Step 5: The report dialog is coming abruptly right now, it should be a smooth flow.
Expected behavior:
On save, the user should have a nudge - either visual or audio or both (like after payment on Gpay, Paytm) that save is done, and now they are being redirected to reports page, where they can take action to send SMS.
NA
On one button click user should be edit or view.
worksheet module url is not working
open url https://sandbox.shikshaplatform.io/modules/worksheet/
It looks like it is navigating to timettable
Any logs (if any) generated in
Appropriate favicon for the Shiksha, currently it displays react logo
Rename Timetable module to Calendar
Attendance module - Visual Design on Mark all as Present needs to be reviewed with the Visual design team.
Step 1: Go to https://sandbox.shikshaplatform.io/modules/attendance/
Step 2: Login with credentials
Step 3: Click on Edit attendance
Step 4: Mark all as Present
The user can see an animation of action being completed. This visual cue needs to be reviewed with Visual design team.
Any logs (if any) generated in
When a user goes to the attendance module, they have to press the Edit button and then they can update the attendance. However, there is a conflicting flow between Done and Save. If a user has not saved and clicked on Done, what should happen? Should we even have the flow with "Done"?
Step 1: Go to https://sandbox.shikshaplatform.io/modules/attendance/
Step 2: Login with credentials
Step 3: Click on Edit attendance, modify attendance
Step 4: Click on Done
Step 5: Click edit attendance, modify attendance, Save attendance
Step 6: it still requires you to click on done.
At this point as a user I was really baffled that has my actions have been saved or not
NA
Fix the meta
tags for teacher app currently its showing "Website created using create react app"
Telemetry Event Capture function in common-lib
Assuming that the frontend is always going to use modulefederation, I think it would be a good exercise to remove that from the title of the repo.
Build Error -
(rpt2 plugin) Error: /github/workspace/packages/common-lib/src/components/AppShell.tsx(5,24): semantic error TS2307: Cannot find module '@shiksha/common-lib' or its corresponding type declarations.
Error: /github/workspace/packages/common-lib/src/components/AppShell.tsx(5,24): semantic error TS2307: Cannot find module '@shiksha/common-lib' or its corresponding type declarations.
at error (/github/workspace/node_modules/rollup/dist/shared/node-entry.js:5400:30)
Describe the bug and list the steps you used when the issue occurred.
If applicable, add screenshots to help explain your problem.
Any logs (if any) generated in
When a user goes to edit the attendance, right now, on every status change an API call is triggered to save the attendance. Should we proceed this way or should we make an array and call the API when the user clicks on the save button?
Step 1: Go to https://sandbox.shikshaplatform.io/modules/attendance/
Step 2: Login with credentials
Step 3: Click on Edit attendance, modify attendance
Note: The Mark all as present is an array-based call right now, while single attendance is an API call every time.
Why do we need the save button?
Users have this innate behavior to mark something as saved to feel closure.
Any logs (if any) generated in
Footer Navbar is not taking 100% width.
visit - http://sandbox.shikshaplatform.io/ (or run app in dev. environment)
login
observe the footer width in browser
If applicable, add screenshots to help explain your problem.
Any logs (if any) generated in
Attendance Report shows the attendance status for the students
SMS (Communication) Attendance and student
Mark attendance by class of students
All the today attendance of student summary by gender.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.