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

Tune the behavior of the Paratime Picker - Clicky version #468

Merged
merged 1 commit into from Jun 8, 2023

Conversation

csillag
Copy link
Contributor

@csillag csillag commented May 31, 2023

Rationale coming at the next chance to talk.

See #479 for a no-click alternative.

@github-actions
Copy link

github-actions bot commented May 31, 2023

Deployed to Cloudflare Pages

Latest commit: aa6a96b632b91e63017acda57eda26d5b2dceed1
Status:✅ Deploy successful!
Preview URL: https://e3aa2c01.oasis-explorer.pages.dev

@csillag csillag force-pushed the csillag/tuning-picker branch 3 times, most recently from 1ab5efa to af259f4 Compare May 31, 2023 08:44
@csillag csillag marked this pull request as draft June 6, 2023 04:09
@csillag
Copy link
Contributor Author

csillag commented Jun 6, 2023

After discussing this with @donouwens , we came to the conclusion that this is not (necessarily) what we want to do here.
Let's come back to this after I have created a new test version based on what we have discussed.

@csillag csillag force-pushed the csillag/tuning-picker branch 2 times, most recently from df5239f to 633ad7f Compare June 8, 2023 04:05
@csillag csillag marked this pull request as ready for review June 8, 2023 04:23
@csillag csillag changed the title Tune the behavior of the Paratime Picker Tune the behavior of the Paratime Picker - Clicky version Jun 8, 2023
@csillag
Copy link
Contributor Author

csillag commented Jun 8, 2023

Updated as discussed

@csillag csillag requested a review from lukaw3d June 8, 2023 12:56
@csillag csillag force-pushed the csillag/tuning-picker branch 2 times, most recently from 1966143 to fa3ead9 Compare June 8, 2023 13:00
Copy link
Member

@lukaw3d lukaw3d left a comment

Choose a reason for hiding this comment

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

yay

setHoveredLayer(layer)
}}
onClick={() => setSelectedLayer(layer)}
onMouseLeave={() => {
setHoveredLayer()
Copy link
Member

Choose a reason for hiding this comment

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

We can later simplify to css :hover

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Agreed.

src/app/components/ParaTimePicker/index.tsx Outdated Show resolved Hide resolved
src/app/components/ParaTimePicker/index.tsx Outdated Show resolved Hide resolved
@csillag csillag merged commit 631e995 into master Jun 8, 2023
6 checks passed
@csillag csillag deleted the csillag/tuning-picker branch June 8, 2023 13:39
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.

None yet

2 participants