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

fix: Portal frontend 6 #64

Merged
merged 3 commits into from
Oct 4, 2024
Merged

fix: Portal frontend 6 #64

merged 3 commits into from
Oct 4, 2024

Conversation

SKairinos
Copy link
Contributor

@SKairinos SKairinos commented Oct 3, 2024

This change is Reviewable

@SKairinos SKairinos linked an issue Oct 3, 2024 that may be closed by this pull request
Copy link
Contributor

@faucomte97 faucomte97 left a comment

Choose a reason for hiding this comment

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

Reviewed 6 of 6 files at r1, all commit messages.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @SKairinos)


src/theme/palette.ts line 14 at r1 (raw file):

declare module "@mui/material/styles" {
  interface CustomPaletteColors {
    tertiary: PaletteColor

Is this needed, is tertiary the same as student?


src/theme/palette.ts line 26 at r1 (raw file):

export interface PropsColorOverrides {
  tertiary: true

Same question

Copy link
Contributor Author

@SKairinos SKairinos left a comment

Choose a reason for hiding this comment

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

Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @faucomte97)


src/theme/palette.ts line 14 at r1 (raw file):

Previously, faucomte97 (Florian Aucomte) wrote…

Is this needed, is tertiary the same as student?

Yes. MUI uses the design language primary, secondary, etc. (MUI needs this) MUI uses these color names since it's a framework.

However, I gave the colors extra names tailored to our app to make it more dev friendly. Now we also have the "teacher" color, for example.

Copy link
Contributor

@faucomte97 faucomte97 left a comment

Choose a reason for hiding this comment

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

Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @SKairinos)


src/theme/palette.ts line 14 at r1 (raw file):

Previously, SKairinos (Stefan Kairinos) wrote…

Yes. MUI uses the design language primary, secondary, etc. (MUI needs this) MUI uses these color names since it's a framework.

However, I gave the colors extra names tailored to our app to make it more dev friendly. Now we also have the "teacher" color, for example.

And how come primary and secondary aren't in there?

Copy link
Contributor Author

@SKairinos SKairinos left a comment

Choose a reason for hiding this comment

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

Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @faucomte97)


src/theme/palette.ts line 14 at r1 (raw file):

Previously, faucomte97 (Florian Aucomte) wrote…

And how come primary and secondary aren't in there?

they are default values

Copy link
Contributor Author

@SKairinos SKairinos left a comment

Choose a reason for hiding this comment

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

Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @faucomte97)


src/theme/palette.ts line 14 at r1 (raw file):

Previously, SKairinos (Stefan Kairinos) wrote…

they are default values

https://docs.codeforlife.education/software-developer-guide/dev-environment-setup#macos

Copy link
Contributor Author

@SKairinos SKairinos left a comment

Choose a reason for hiding this comment

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

Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @faucomte97)


src/theme/palette.ts line 14 at r1 (raw file):

Previously, SKairinos (Stefan Kairinos) wrote…

https://docs.codeforlife.education/software-developer-guide/dev-environment-setup#macos

meant to share this link
https://mui.com/material-ui/customization/palette/#default-colors

Copy link
Contributor

@faucomte97 faucomte97 left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @SKairinos)

@SKairinos SKairinos merged commit 7981854 into main Oct 4, 2024
4 checks passed
@SKairinos SKairinos deleted the portal-frontend-6 branch October 4, 2024 12:05
cfl-bot added a commit that referenced this pull request Oct 4, 2024
## [2.3.9](v2.3.8...v2.3.9) (2024-10-04)

### Bug Fixes

* Portal frontend 6 ([#64](#64)) ([7981854](7981854))
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.

refactor home learning page
2 participants