Skip to content
This repository has been archived by the owner on Jun 1, 2024. It is now read-only.

[Navegação] Mudanças de contrato #66

Closed
Tiagoperes opened this issue May 19, 2020 · 0 comments · Fixed by #92
Closed

[Navegação] Mudanças de contrato #66

Tiagoperes opened this issue May 19, 2020 · 0 comments · Fixed by #92
Labels
enhancement New feature or request

Comments

@Tiagoperes
Copy link
Contributor

Tiagoperes commented May 19, 2020

As ações de navegação pushViewAction, pushStackAction e ResetNavigationAction foram alteradas:

interface RemoteView {
  url: string,
  fallback?: BeagleUIElement,
  shouldPrefetch?: boolean,
}

interface LocalView {
  screen: BeagleUIElement,
}

type Route = LocalView | RemoteView

interface PushStackAction {
  _actionType_: 'pushStack',
  route: Route,
}

interface PushViewAction {
  _actionType_: 'pushView',
  route: Route,
}

interface ResetNavigationAction {
  _actionType_: 'resetNavigation',
  route: Route,
}

Para resolver esta issue basta alterar os contratos.

@Tiagoperes Tiagoperes added the enhancement New feature or request label May 19, 2020
@Tiagoperes Tiagoperes added the v1 label May 19, 2020
@Tiagoperes Tiagoperes added this to To do in Beagle V1 (core) May 19, 2020
@carolinegoncalveszup carolinegoncalveszup self-assigned this May 22, 2020
@carolinegoncalveszup carolinegoncalveszup moved this from To do to Doing in Beagle V1 (core) May 22, 2020
@raphaelspimenta raphaelspimenta self-assigned this May 22, 2020
@carolinegoncalveszup carolinegoncalveszup removed their assignment May 22, 2020
@raphaelspimenta raphaelspimenta linked a pull request May 22, 2020 that will close this issue
@raphaelspimenta raphaelspimenta moved this from Doing to Done in Beagle V1 (core) May 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

3 participants