okp4 / dataverse-portal

🔭 Dataverse Portal for the OKP4 network.
BSD 3-Clause "New" or "Revised" License
8 stars 1 forks source link

Feat/share service route and page #495

Closed loiclaudet closed 1 year ago

loiclaudet commented 1 year ago

This PR introduces route and initialisation wrapper for service sharing, enabling access to share service page.

Summary by CodeRabbit

New Feature:

Refactor:

coderabbitai[bot] commented 1 year ago

Walkthrough

This update introduces a new ShareService component, enhancing the UI with a stepper and service reference selection. It also modifies the share page's hover effects and adds navigation to the shareService route.

Changes

File Summary
src/ui/page/share/.../shareService.scss
src/ui/page/share/service/.../serviceReferenceSelection.scss
Introduced new CSS classes and styles for the ShareService and ServiceReferenceSelection components.
src/ui/page/share/.../shareService.tsx
src/ui/page/share/service/.../serviceReferenceSelection.tsx
Added new ShareService and ServiceReferenceSelection components with i18n support.
src/ui/page/share/share.scss
src/ui/page/share/share.tsx
Updated styles and functionality of the share page, removing hover effects and adding navigation to shareService.
src/ui/routes.tsx Added a new route for ShareService, rendering it within UnsupportedFeatureLayout.

"In the land of code, where logic is king, 🤴
A rabbit hopped forth, changes to bring. 🐇💼
With a twirl of his paw and a twitch of his ear, 👋👂
He crafted new paths for users to steer. 🛣️🚀"

Tips ### Chat with CodeRabbit Bot (`@coderabbitai`) - Mention `@coderabbitai` in any *review comment* for bot assistance. - Note: Review comments are made on code diffs or files, not on the PR overview. ### Pause Incremental Reviews - Insert `@coderabbitai: ignore` in the PR description to halt the bot's ongoing reviews. Remove the line to resume. - Additionally, enter `@coderabbitai pause` to halt the bot's ongoing reviews as any issue or review comment. To resume reviews, enter `@coderabbitai resume` as any issue or review comment.