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

fix!: Flow - Remove current panel automatically when back is clicked #586 #608

Merged
merged 33 commits into from
Dec 19, 2019

Conversation

driskull
Copy link
Member

@driskull driskull commented Dec 6, 2019

fix: Flow - Remove current panel automatically when back is clicked

Related Issue: #586

Summary

…back is clicked #586. Remove deprecations. Remove text-display in favor of textEnabled
@driskull driskull added enhancement New feature request for an existing component 2 - in development p - high refactor chore A minor task, usually housekeeping doc Anything related to documentation labels Dec 6, 2019
@driskull driskull self-assigned this Dec 6, 2019
@driskull
Copy link
Member Author

driskull commented Dec 6, 2019

@jcfranco @pr3tori4n This is the breaking changes PR that changes the way the flow back() works.

It also removes all the other deprecated events, properties, methods.

@asangma I also removed the textDisplay for auto showing text since that kind of logic is going to happen in the calcite-components FAB.

@driskull
Copy link
Member Author

driskull commented Dec 6, 2019

@asangma When would we want to install this? We can do it after the next MapViewer release. When is that?

@driskull driskull requested review from pr3tori4n, asangma and jcfranco and removed request for pr3tori4n December 6, 2019 18:11
@driskull driskull marked this pull request as ready for review December 6, 2019 18:12
@driskull driskull requested a review from a team as a code owner December 6, 2019 18:12
@driskull driskull closed this Dec 13, 2019
@driskull driskull reopened this Dec 13, 2019
Copy link
Contributor

@asangma asangma left a comment

Choose a reason for hiding this comment

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

I'm not blocking this PR, but I do have these questions about calcite-action's text enabled v display.

@driskull driskull requested a review from asangma December 17, 2019 00:49
@driskull
Copy link
Member Author

@asangma @jcfranco can you please review again? I'd like to merge this end of the week after the release.


const flow = await page.find("calcite-flow");

await flow.callMethod("back");
Copy link
Member

Choose a reason for hiding this comment

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

Based on the updates, this should also assert that an item got returned.

Copy link
Member Author

Choose a reason for hiding this comment

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

Having trouble getting the item returned. Is it ok with just checking something is defined? The tests don't seem to work with the E2E element returning.

@asangma
Copy link
Contributor

asangma commented Dec 17, 2019

@driskull 👀

Copy link
Contributor

@asangma asangma left a comment

Choose a reason for hiding this comment

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

Looks good to me!
If we need --text-visible to be something that happens on hover/focus in the future, we should be able to add that back in easily.

# Conflicts:
#	src/components/calcite-action/calcite-action.tsx
@driskull driskull added this to the Grob Gob Glob Grod milestone Dec 18, 2019
@driskull driskull requested a review from jcfranco December 19, 2019 17:09
Copy link
Contributor

@pr3tori4n pr3tori4n left a comment

Choose a reason for hiding this comment

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

Mostly good. Couple comments.

Copy link
Member

@jcfranco jcfranco left a comment

Choose a reason for hiding this comment

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

👍

@driskull driskull requested a review from pr3tori4n December 19, 2019 19:38
@driskull driskull changed the title fix: Flow - Remove current panel automatically when back is clicked #586 fix!: Flow - Remove current panel automatically when back is clicked #586 Dec 19, 2019
@driskull driskull merged commit 4237810 into master Dec 19, 2019
@driskull driskull deleted the dris0000/flow-back-rework-remove-deprecations branch December 19, 2019 21:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
1 - assigned chore A minor task, usually housekeeping doc Anything related to documentation enhancement New feature request for an existing component p - high refactor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants