Skip to content

feature/90-student-database-connection#91

Open
constantine0621 wants to merge 24 commits into
mainfrom
Feature--Student-db-connection
Open

feature/90-student-database-connection#91
constantine0621 wants to merge 24 commits into
mainfrom
Feature--Student-db-connection

Conversation

@constantine0621

Copy link
Copy Markdown
Contributor

Currently, the Student table loads hardcoded mock data. This PR replaces that static data by fetching from the database.
i18n is implemented.
Changes to StudentElm, it now has all the necessary attributes.
Changes to StudentTable.
Added StudentService.
Added CourseElm, as well as CourseService which are needed for Add and Edit forms' dropdowns.

…use majorName, majorType, courseType, and courseSubtype
…include courseYear and replace majorType with courseType
…ta retrieval

feat(student): integrate MatDialog in StudentTable for dialog management
…and faculty features

refactor(student): remove deprecated student warnings file
@constantine0621 constantine0621 self-assigned this Jun 30, 2026
@constantine0621
constantine0621 requested a review from a team as a code owner June 30, 2026 12:28

@PIPetkova19 PIPetkova19 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Data isn't correctly visualized and I also added comments before, which are still not resolved Image

majorId: string;
majorName: string;
courseType: string;
courseSubtype: 'редовно' | 'задочно';

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Shouldn't be hardcoded

)
);
}
createStudent(student: Omit<StudentElm, 'position' | 'id'>): Observable<any> {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Observable is not a good idea, not only here but in general.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

If the CRUD service methods should return a type that is not Observable it should be a separate refactoring issue and PR, since Observable is used in all the domains.

Comment thread uniplanWeb/src/app/features/student/student-table/student-table.ts
Comment thread uniplanWeb/src/app/features/student/student-table/student-table.ts
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