Skip to content

Feature/12 information page#45

Closed
robinmolen wants to merge 12 commits intofeature/12-formlayout-test-setupfrom
feature/12-information-page
Closed

Feature/12 information page#45
robinmolen wants to merge 12 commits intofeature/12-formlayout-test-setupfrom
feature/12-information-page

Conversation

@robinmolen
Copy link
Copy Markdown
Contributor

Partly closes #12

PR adds:

  • the information page component
  • updates to the API url's
  • readonly feature for the textfield
  • small formField styling update
  • category type and api mocking

This PR requires maykinmedia/admin-ui#327 for the public url field

@robinmolen robinmolen linked an issue Mar 17, 2026 that may be closed by this pull request
6 tasks
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 17, 2026

Codecov Report

❌ Patch coverage is 84.09091% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 84.28%. Comparing base (91c49ac) to head (33a4375).

Files with missing lines Patch % Lines
src/components/form/Checkbox/Checkbox.tsx 75.00% 3 Missing ⚠️
src/components/form/RadioField/RadioField.tsx 75.00% 3 Missing ⚠️
src/api-mocks/category.ts 83.33% 1 Missing ⚠️
Additional details and impacted files
@@                         Coverage Diff                          @@
##           feature/12-formlayout-test-setup      #45      +/-   ##
====================================================================
+ Coverage                             78.92%   84.28%   +5.35%     
====================================================================
  Files                                    35       39       +4     
  Lines                                   261      299      +38     
  Branches                                 43       53      +10     
====================================================================
+ Hits                                    206      252      +46     
+ Misses                                   49       40       -9     
- Partials                                  6        7       +1     
Flag Coverage Δ
storybook 79.59% <84.09%> (+8.71%) ⬆️
vitest 46.18% <15.38%> (-5.20%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

We require access to the v2 and v3 api endpoints. To make this easily doable `/v3` or `/v2` shouldn't be part of the BASE_URL.
Added readonly as a textfield property, which adds the accessible 'readonly' attribute to the input element.
Adding `margin-block-end` to the FormField wrapper, adding spacing between form fields. Also added additional styling to select and input fields inside the FormField, ensuring they grow to 100% the size of the FormField wrapper.
@robinmolen robinmolen force-pushed the feature/12-information-page branch from 04bed34 to 33a4375 Compare March 23, 2026 11:51
@robinmolen robinmolen deleted the branch feature/12-formlayout-test-setup March 23, 2026 13:24
@robinmolen robinmolen closed this Mar 23, 2026
@robinmolen robinmolen removed a link to an issue Mar 23, 2026
6 tasks
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.

1 participant