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

♻️ Replace form components #2437

Merged
merged 6 commits into from
Oct 10, 2023
Merged

Conversation

AntoLC
Copy link
Contributor

@AntoLC AntoLC commented Sep 29, 2023

Purpose

Replace Grommet form components with Cunningham form components.

Proposal

  • refacto LicenseSelect component
  • replace checkbox components
  • replace pagination components

Before merging

Checkbox change

Before

image

After

image

Pagination change

Before

image

After

image

@AntoLC AntoLC self-assigned this Sep 29, 2023
@AntoLC AntoLC force-pushed the refacto/anthony/replace-form-components branch 6 times, most recently from 5ef75d6 to e0b882d Compare October 4, 2023 10:27
@AntoLC AntoLC marked this pull request as ready for review October 4, 2023 10:39
@AntoLC AntoLC force-pushed the refacto/anthony/replace-form-components branch from e0b882d to e2c2dd0 Compare October 4, 2023 13:55
Copy link
Contributor

@kernicPanel kernicPanel left a comment

Choose a reason for hiding this comment

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

I didn't run it yet, but the code looks good.

CHANGELOG.md Outdated Show resolved Hide resolved
Copy link
Contributor

@kernicPanel kernicPanel left a comment

Choose a reason for hiding this comment

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

When we switch MDX or Mathjax, we get this error, which does not happen on master:
image

@AntoLC
Copy link
Contributor Author

AntoLC commented Oct 6, 2023

When we switch MDX or Mathjax, we get this error, which does not happen on master: image

Indeed.

d031660

@AntoLC AntoLC force-pushed the refacto/anthony/replace-form-components branch from 4409657 to d031660 Compare October 6, 2023 09:31
kernicPanel added a commit that referenced this pull request Oct 9, 2023
Cunningham uprade to 1.3 (which needs a fix in our codebase)
is managed in another PR (#2437).
Comment on lines +402 to +409
<div class="input-group">
<label>lis_person_name_full</label>
<input type="text" name="lis_person_name_full" value="John Doe"/>
</div>
Copy link
Member

Choose a reason for hiding this comment

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

To be iso it should also be added to the form managing the iframe

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@AntoLC AntoLC force-pushed the refacto/anthony/replace-form-components branch from d031660 to 1b60d44 Compare October 9, 2023 14:44
@AntoLC AntoLC requested a review from lunika October 9, 2023 14:45
kernicPanel added a commit that referenced this pull request Oct 10, 2023
Cunningham uprade to 1.3 (which needs a fix in our codebase)
is managed in another PR (#2437).
kernicPanel added a commit that referenced this pull request Oct 10, 2023
Cunningham uprade to 1.3 (which needs a fix in our codebase)
is managed in another PR (#2437).
Upgrade to cunningham@1.3.1, this version fix somes issues and add new
usefull css properties.
Component to display an error message in a box with an
appropriate icon and a message.
The upgrade to Cunningham highlighted a few issues with the
LicenseSelect component, the refacto displays the state of the
component in a more explicit way.
In some cases we want to be able to change the fullname of the user,
to do so, we change the input from hidden to text.
In order to do the transition to the cunningham design system,
we replace the grommet CheckBox component with the cunningham
Checkbox components.
In order to do the transition to the cunningham design system,
we replace the grommet Pagination component with the cunningham
Pagination components.
@AntoLC AntoLC force-pushed the refacto/anthony/replace-form-components branch from 1b60d44 to ec5238c Compare October 10, 2023 07:40
@AntoLC AntoLC enabled auto-merge (rebase) October 10, 2023 07:42
@AntoLC AntoLC merged commit 4647327 into master Oct 10, 2023
33 of 34 checks passed
@AntoLC AntoLC deleted the refacto/anthony/replace-form-components branch October 10, 2023 07:56
lunika added a commit that referenced this pull request Oct 19, 2023
Added

- Generic video LTI url
- Display complete error message in frontend
- Generic classroom LTI url
- Generic LTI cartridge (xml configuration)
- Display LTI warning message for generic urls regarding course copy
- configure homepage banner using SiteConfig model
- setting BBB_INVITE_TOKEN_BANNED_LIST
- Add transcode_pipeline property to video model

Changed

- Replace ngrok with localtunnel to serve marsha on a public domain with
  stable urls and allow to run multiple tunnels at the same time
- Replace all the loaders by Cunningham Loader (#2436)
- Replace grommet Text (#2427)
- Replace grommet Paragraph (#2435)
- Remove cross on login image (#2451)
- Replace grommet Checkbox and Pagination (#2437)

Fixed

- Markdown save sent previously saved content
- Force to end BBB meeting when creation fail
lunika added a commit that referenced this pull request Oct 19, 2023
Added

- Generic video LTI url
- Display complete error message in frontend
- Generic classroom LTI url
- Generic LTI cartridge (xml configuration)
- Display LTI warning message for generic urls regarding course copy
- configure homepage banner using SiteConfig model
- setting BBB_INVITE_TOKEN_BANNED_LIST
- Add transcode_pipeline property to video model

Changed

- Replace ngrok with localtunnel to serve marsha on a public domain with
  stable urls and allow to run multiple tunnels at the same time
- Replace all the loaders by Cunningham Loader (#2436)
- Replace grommet Text (#2427)
- Replace grommet Paragraph (#2435)
- Remove cross on login image (#2451)
- Replace grommet Checkbox and Pagination (#2437)

Fixed

- Markdown save sent previously saved content
- Force to end BBB meeting when creation fail
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants