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

feat: Frontend basic #17

Merged
merged 23 commits into from
Jun 5, 2024
Merged

feat: Frontend basic #17

merged 23 commits into from
Jun 5, 2024

Conversation

kayra1
Copy link
Contributor

@kayra1 kayra1 commented May 15, 2024

Description

This change introduces the frontend's basic structure, including the styling, components and internal button state management, and very fundamental tests.

Final Version:
final final

This was defined by a spec written by me in TE067 and approved by @ghislainbourgeois, @saltiyazan and @gruyaume.

I've taken the liberty to split this task into multiple subtasks:
First, the frontend without any complex query functionality to the backend (and minimal amounts of unit tests). This is that PR. This is to help us in coming to an understanding as to what GoCert should look like exactly, and provide a good spot to include the design team in the process.

Second, the query functionality that will allow the frontend to load the backend. This constitutes as version 0.1 of GoCert, aiming to be feature complete in the frontend, which means implementing all of the functionality defined in TE034 written by @gruyaume. There will also be some unit tests that ensure that the correct queries are being made on the correct button presses.

Third, extensive unit tests and integration tests should be introduced to catch any potential regressions that may occur when developing the frontend. I've split this into its own task because testing in React can be its own beast, and produce a lot of lines of code, which may become tedious to review properly.

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have added tests that validate the behaviour of the software
  • I validated that new and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

@kayra1 kayra1 marked this pull request as ready for review June 3, 2024 18:09
@kayra1 kayra1 requested a review from a team as a code owner June 3, 2024 18:09
ui/src/app/nav.tsx Outdated Show resolved Hide resolved
ui/src/app/nav.tsx Outdated Show resolved Hide resolved
ui/src/app/certificate_requests/row.tsx Outdated Show resolved Hide resolved
ui/src/app/certificate_requests/table.tsx Outdated Show resolved Hide resolved
ui/src/app/certificate_requests/row.tsx Outdated Show resolved Hide resolved
ui/src/app/certificate_requests/row.tsx Outdated Show resolved Hide resolved
ui/src/app/certificate_requests/row.tsx Outdated Show resolved Hide resolved
ui/src/app/certificate_requests/row.tsx Outdated Show resolved Hide resolved
ui/src/app/certificate_requests/row.tsx Outdated Show resolved Hide resolved
ui/src/app/certificate_requests/table.tsx Outdated Show resolved Hide resolved
ui/src/app/certificate_requests/table.tsx Show resolved Hide resolved
ui/src/app/certificate_requests/row.tsx Outdated Show resolved Hide resolved
@kayra1 kayra1 requested a review from gruyaume June 4, 2024 13:48
@kayra1 kayra1 marked this pull request as draft June 4, 2024 16:12
@kayra1 kayra1 marked this pull request as ready for review June 4, 2024 18:20
ui/src/app/certificate_requests/table.tsx Show resolved Hide resolved
ui/src/app/certificate_requests/row.tsx Outdated Show resolved Hide resolved
ui/src/app/certificate_requests/row.tsx Outdated Show resolved Hide resolved
ui/src/app/certificate_requests/row.tsx Show resolved Hide resolved
ui/src/app/certificate_requests/row.tsx Outdated Show resolved Hide resolved
@kayra1 kayra1 requested a review from gruyaume June 5, 2024 07:26
@kayra1
Copy link
Contributor Author

kayra1 commented Jun 5, 2024

I've opened new tickets splitting the remaining work down into reviewable chunks, TLSENG 263-264-265-266-267 and added specific details there

ui/src/app/certificate_requests/row.tsx Outdated Show resolved Hide resolved
ui/src/app/certificate_requests/row.tsx Outdated Show resolved Hide resolved
@kayra1 kayra1 requested a review from gruyaume June 5, 2024 13:42
Copy link
Collaborator

@gruyaume gruyaume left a comment

Choose a reason for hiding this comment

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

This looks good!

ui/src/app/certificate_requests/row.tsx Show resolved Hide resolved
ui/src/app/page.tsx Outdated Show resolved Hide resolved
ui/src/app/nav.tsx Outdated Show resolved Hide resolved
@kayra1 kayra1 requested a review from gruyaume June 5, 2024 14:48
@kayra1
Copy link
Contributor Author

kayra1 commented Jun 5, 2024

@gruyaume I've rerequested your review, I think you had some good points in your approval and I've addressed them.

@kayra1 kayra1 merged commit fce043d into main Jun 5, 2024
11 checks passed
@kayra1 kayra1 deleted the TLSENG-50-frontend branch June 5, 2024 21:59
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