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: implement experimental support for server side rendering (SSR) #2466

Merged
merged 15 commits into from
Mar 21, 2024

Conversation

kyubisation
Copy link
Contributor

@kyubisation kyubisation commented Mar 8, 2024

This PR adds the experimental possibility to use server side rendering with @sbb-esta/lyne-components. Most components have been verified to work with SSR, but our testing setup is not yet complete and will be finished in a future PR.

@kyubisation kyubisation added the pr: blocked Pull request is blocked either for merging or reviewing label Mar 8, 2024
@kyubisation
Copy link
Contributor Author

kyubisation commented Mar 8, 2024

Blocked until button refactoring is merged and this PR is rebased on top of it.
Done.

@github-actions github-actions bot added the pr: peer review required A peer review is required for this pull request label Mar 8, 2024
@kyubisation kyubisation force-pushed the refactor-ssr-components branch 2 times, most recently from fd8e111 to 0eb7315 Compare March 8, 2024 18:02
@kyubisation kyubisation removed the pr: blocked Pull request is blocked either for merging or reviewing label Mar 11, 2024
@kyubisation kyubisation force-pushed the refactor-ssr-components branch 4 times, most recently from c9d5dc5 to 361848c Compare March 19, 2024 14:17
kyubisation and others added 13 commits March 21, 2024 15:15
…aries

BREAKING CHANGE:
The `SbbDatepicker` property `selectedDate` has been renamed to `selected`.
This also applies to the attribute `selected-date`, which has been renamed to `selected`.
Additionally the `DateAdapter` (and `NativeDateAdapter`) have been superficially refactored.
An important change is that the month is now `1`-based, instead of `0`-based.
@kyubisation kyubisation force-pushed the refactor-ssr-components branch from 361848c to 2991f01 Compare March 21, 2024 15:23
@github-actions github-actions bot temporarily deployed to preview-pr2466 March 21, 2024 15:37 Inactive
@codecov-commenter
Copy link

codecov-commenter commented Mar 21, 2024

Codecov Report

Attention: Patch coverage is 84.67153% with 21 lines in your changes are missing coverage. Please review.

❗ No coverage uploaded for pull request base (main@6d4e9c2). Click here to learn what that means.

❗ Current head e8a4cd0 differs from pull request most recent head 2352e73. Consider uploading reports for the commit 2352e73 to get more accurate results

Files Patch % Lines
src/components/option/optgroup/optgroup.ts 28.57% 10 Missing ⚠️
src/components/option/option/option.ts 82.60% 3 Missing and 1 partial ⚠️
src/components/core/testing/test-setup.ts 83.33% 3 Missing ⚠️
src/components/form-field/form-field/form-field.ts 60.00% 2 Missing ⚠️
...ponents/core/common-behaviors/link-base-element.ts 50.00% 1 Missing ⚠️
src/components/menu/menu/menu.ts 91.66% 1 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2466   +/-   ##
=======================================
  Coverage        ?   93.64%           
=======================================
  Files           ?      293           
  Lines           ?    24174           
  Branches        ?     1989           
=======================================
  Hits            ?    22638           
  Misses          ?     1507           
  Partials        ?       29           

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

Copy link
Contributor

@jeripeierSBB jeripeierSBB left a comment

Choose a reason for hiding this comment

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

LGTM

@github-actions github-actions bot added the pr: lead review approved Pull request has been approved by a lead review label Mar 21, 2024
@kyubisation kyubisation changed the title feat: implement support for server side rendering (SSR) feat: implement experimental support for server side rendering (SSR) Mar 21, 2024
@kyubisation kyubisation merged commit 3abcc68 into main Mar 21, 2024
21 of 22 checks passed
@kyubisation kyubisation deleted the refactor-ssr-components branch March 21, 2024 16:22
@github-actions github-actions bot added pr: peer review required A peer review is required for this pull request and removed pr: peer review required A peer review is required for this pull request labels Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: lead review approved Pull request has been approved by a lead review pr: peer review required A peer review is required for this pull request preview-available
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants