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

Uncrispify StyleFormTwo in styleguide #3181

Merged

Conversation

johannaengland
Copy link
Contributor

Closes #3179.

Url: http://localhost/styleguide/

It looks slightly different now, but I think this is okay given it's the styleguide and this can be adapted in #3180.

Copy link

github-actions bot commented Nov 11, 2024

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ PYTHON black 992 0 11.35s
✅ PYTHON ruff 987 0 0.1s

See detailed report in MegaLinter reports

MegaLinter is graciously provided by OX Security

Copy link

github-actions bot commented Nov 11, 2024

Test results

    9 files      9 suites   8m 20s ⏱️
2 138 tests 2 138 ✅ 0 💤 0 ❌
4 015 runs  4 015 ✅ 0 💤 0 ❌

Results for commit 840f11b.

♻️ This comment has been updated with latest results.

Copy link

codecov bot commented Nov 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 60.39%. Comparing base (cd509fe) to head (840f11b).
Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3181   +/-   ##
=======================================
  Coverage   60.39%   60.39%           
=======================================
  Files         605      605           
  Lines       43705    43701    -4     
  Branches       48       48           
=======================================
- Hits        26394    26393    -1     
+ Misses      17299    17296    -3     
  Partials       12       12           

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

@johannaengland johannaengland force-pushed the refactor/uncrispify-style-form-two-style-guide branch from 4c6c3f7 to 9f657f1 Compare November 13, 2024 08:29
Copy link
Contributor

@podliashanyk podliashanyk left a comment

Choose a reason for hiding this comment

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

Nicely done!
I think it looks better than the original. I consider the broken fieldset in the original implementation a bug which is now fixed 🙂:
Screenshot 2024-11-13 at 13 43 19

There is one functional difference though. HTML attribute method in form1 in now empty (which de facto means method='get') while in the original it was method='post'. I doesn't make practical difference though since 1. there is no submit button 2. because the "Forms" section in styleguide is for showcasing the looks and not the functionality.

@johannaengland
Copy link
Contributor Author

There is one functional difference though. HTML attribute method in form1 in now empty (which de facto means method='get') while in the original it was method='post'. I doesn't make practical difference though since 1. there is no submit button 2. because the "Forms" section in styleguide is for showcasing the looks and not the functionality.

Yes, I noticed that as well and I agree

@johannaengland johannaengland force-pushed the refactor/uncrispify-style-form-two-style-guide branch from 9f657f1 to 840f11b Compare November 13, 2024 12:55
Copy link

sonarcloud bot commented Nov 13, 2024

@johannaengland johannaengland merged commit 82792c5 into master Nov 13, 2024
13 of 14 checks passed
@johannaengland johannaengland deleted the refactor/uncrispify-style-form-two-style-guide branch November 13, 2024 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Uncrispify StyleFormTwo in styleguide
2 participants