-
Notifications
You must be signed in to change notification settings - Fork 6
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
Rewrite bookmark #2410
Merged
Merged
Rewrite bookmark #2410
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
🦋 Changeset detectedLatest commit: 793cc9e The changes in this PR will be included in the next version bump. This PR includes changesets to release 18 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
github-actions
bot
added
🐞 bug
Something isn't working
👨🏻🍳 cookbooks
👾 React
💾 CLI
fusion framework CLI
📚 documentation
Improvements or additions to documentation
🚀 feature
New feature or request
🚧 chore
maintaines work, (update deps, workflos ...)
🧬 Modules
labels
Aug 27, 2024
odinr
force-pushed
the
feat/rewrite-bookmark-module
branch
3 times, most recently
from
August 27, 2024 11:46
4dc375b
to
85c2478
Compare
odinr
force-pushed
the
feat/rewrite-bookmark-module
branch
7 times, most recently
from
August 27, 2024 12:30
e22e306
to
0e2b639
Compare
odinr
commented
Aug 29, 2024
odinr
commented
Aug 29, 2024
odinr
commented
Aug 29, 2024
odinr
commented
Aug 29, 2024
For min del så ser ting greit ut for utenom de tingen vi snakket om ;) |
odinr
force-pushed
the
feat/rewrite-bookmark-module
branch
from
September 4, 2024 10:28
260c2f4
to
af13757
Compare
odinr
force-pushed
the
feat/rewrite-bookmark-module
branch
3 times, most recently
from
September 4, 2024 13:46
1cd4423
to
9a151a8
Compare
odinr
force-pushed
the
feat/rewrite-bookmark-module
branch
from
November 12, 2024 13:57
9a151a8
to
7f76d80
Compare
github-actions
bot
removed
the
🚧 chore
maintaines work, (update deps, workflos ...)
label
Nov 12, 2024
* Empty-Commit * refactor: Total rework of api interface for bookmarks. The current version misrepresents the api, and does not provide a good interface for working with bookmarks. So was decided to rework the api interface to better represent the api, and provide a more robust interface for working with bookmarks. Instead of fixing the current implementation, it was decided to rework the entire module to save time and confusion in the future. squash squash
* feat(module-bookmark): rework bookmark module Needed rewrite of the bookmark module to better represent the api, and provide a more robust interface for working with bookmarks. Instead of fixing the current implementation, it was decided to rework the entire module to save time and confusion in the future. BREAKING CHANGES: - new configurator - new provider interface
This commit adds the `useBookmarkProvider` hook to the bookmark module. This hook allows users to retrieve the bookmark provider instance from the current modules. It enhances the bookmark management capabilities and improves the usability of the module. feat: Add enableBookmark and additional types to bookmark module This commit adds the `enableBookmark` function to the bookmark module, allowing users to enable bookmark functionality. It also includes additional types such as `Bookmark`, `Bookmarks`, `BookmarkData`, `BookmarkNew`, `BookmarkPayloadGenerator`, and `BookmarkProvider` to enhance the bookmark management capabilities and improve the usability of the module. feat: Update useCurrentBookmark options This commit modifies the `useCurrentBookmarkOptions` type in the `useCurrentBookmark.ts` file. The `payloadGenerator` property is now optional, allowing users to provide a payload generator function if needed. This change enhances the flexibility and usability of the `useCurrentBookmark` functionality.
This commit updates the exports in the bookmark module to use the wildcard import syntax. Instead of individually exporting specific functions and types, the module now exports everything from the '@equinor/fusion-framework-react-module-bookmark' module. This change improves the usability and flexibility of the bookmark module.
…rk provider - BookmarkProvider should have provider as a parameter - BookmarkProvider should share context of provided provider to child components - Remove deprecated hook - Update component to align with changes in modules BREAKING CHANGES: BookmarkProvider now requires provider as parameter
This commit updates the bookmark module to use the provided bookmark provider. The `BookmarkProvider` component now requires the provider as a parameter and shares the context of the provided provider to its child components. The deprecated hook has been removed, and the component has been updated to align with the changes in the modules. BREAKING CHANGES: The `BookmarkProvider` now requires the provider as a parameter.
odinr
force-pushed
the
feat/rewrite-bookmark-module
branch
from
November 13, 2024 11:00
7f76d80
to
793cc9e
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
💾 CLI
fusion framework CLI
👨🏻🍳 cookbooks
📚 documentation
Improvements or additions to documentation
🚀 feature
New feature or request
🧬 Modules
👾 React
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Why
closes:
Check off the following:
Confirm that I checked changes to branch which I am merging into.
Confirm that the I have completed the self-review checklist.
Confirm that my changes meet our code of conduct.