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

chore(behaviors): centralize behavior trigger code #726

Merged

Conversation

hgray-instawork
Copy link
Collaborator

Moving the behavior trigger code out of hyper-ref into a shared location to allow access by other components

Asana: https://app.asana.com/0/1204008699308084/1205741965789631/f

@hgray-instawork hgray-instawork marked this pull request as ready for review October 17, 2023 16:59
src/types.ts Outdated Show resolved Hide resolved
src/services/behaviors/index.ts Outdated Show resolved Hide resolved
UpdateAction,
} from 'hyperview/src/types';

export const triggerBehaviors = (
Copy link
Collaborator

Choose a reason for hiding this comment

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

As we're creating these new services, I'm curious what's the overlap between the new triggerBehaviors method and the trigger method available in the service's index. Maybe more just an naming issue that creates ambiguity

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

There is decent overlap, but there are differences in their usage. We may want to create a separate task to consolidate these.

@hgray-instawork hgray-instawork merged commit 077e3a5 into hardin/navigation-integration Oct 17, 2023
1 check passed
@hgray-instawork hgray-instawork deleted the hardin/behavior-centralize branch October 17, 2023 21:00
hgray-instawork added a commit that referenced this pull request Nov 1, 2023
…nks (#701)

Updates and fixes to Hyperview navigation including
- Support for deep link navigation:
- Passing the deep link url as the `entrypointurl` will merge/replace
the existing state with the incoming
- <navigation> elements in the XML support <behaviors> with a trigger of
"load"
- Integration with the TypeScript migrated Hyperview release 

Includes
- #612
- #615 
- #618 
- #622
- #623 
- #624 
- #625 
- #626
- #632 
- #637 
- #640 
- #641 
- #642 
- #643 
- #651 
- #656 
- #657 
- #686 
- #690 
- #691 
- #698 
- #722 
- #726 
- #727 
- #728 
- #729 
- #730 
- #733


Asana: https://app.asana.com/0/1204008699308084/1205634462686890/f

---------

Co-authored-by: Florent Bonomo <flochtililoch+github@gmail.com>
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.

2 participants